mediawiki-extensions-Replac.../.stylelintrc.json
Fomafix 78e75ed030 Change CSS identifiers
Apply CSS coding conventions from:
https://www.mediawiki.org/wiki/Manual:Coding_conventions/CSS#Naming

* Use class instead of id.
* Use class names with the prefix "ext-replacetext-".
* Remove stylelint rule:
    "selector-max-id": null
* Add stylelint rule:
    "selector-class-pattern": "^client-nojs$|^ext-replacetext-"

Change-Id: Ia7e3d41030aba7287716a219acbe6115e8fcbe46
2021-09-08 11:53:43 +00:00

7 lines
123 B
JSON

{
"extends": "stylelint-config-wikimedia",
"rules": {
"selector-class-pattern": "^client-nojs$|^ext-replacetext-"
}
}