mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
* [web] Add custom stylelint rule for catching themed variables in root selector * [web] Add lint rule for themed custom property naming GitOrigin-RevId: 989452e26e427a93f9276ecf011ab7434f96efb1
24 lines
686 B
JSON
24 lines
686 B
JSON
{
|
|
"extends": ["stylelint-config-standard-scss"],
|
|
"plugins": [
|
|
"./stylelint-rules/no-themed-vars-in-root.mjs",
|
|
"./stylelint-rules/themed-custom-property-suffix.mjs"
|
|
],
|
|
"rules": {
|
|
"function-url-quotes": null,
|
|
"no-descending-specificity": null,
|
|
"scss/at-extend-no-missing-placeholder": null,
|
|
"scss/operator-no-newline-after": null,
|
|
"property-no-vendor-prefix": [true, { "ignoreProperties": ["mask-image"] }],
|
|
"overleaf/no-themed-vars-in-root": true
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": ["frontend/stylesheets/abstracts/themes-common-variables.scss"],
|
|
"rules": {
|
|
"overleaf/themed-custom-property-suffix": true
|
|
}
|
|
}
|
|
]
|
|
}
|