[build] add regex for stylelint/custom-property-pattern
Example: https://regex101.com/r/eITX54/1
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ module.exports = {
|
||||
"after-comment"
|
||||
]
|
||||
}],
|
||||
'custom-property-pattern': null, // should be kebab-case, except for status, ex: --color-ui--hover
|
||||
'custom-property-pattern': '(([a-z]+)(-[a-z]+)*([-]{2}[a-z]+(-[a-z]+)?)?)', // allows kebab-case and kebab-case--state
|
||||
"declaration-block-no-redundant-longhand-properties": null,
|
||||
"no-descending-specificity": null,
|
||||
"no-duplicate-selectors": null,
|
||||
|
||||
Reference in New Issue
Block a user