We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ee807d commit 1fefc1bCopy full SHA for 1fefc1b
configurations/css/rules/enforce-conventions.js
@@ -1,4 +1,4 @@
1
-import { KEBAB_CASE, WARNING } from '../../../utils/constants.js';
+import { KEBAB_CASE, KEBAB_CASE_ALLOW_DOUBLE, WARNING } from '../../../utils/constants.js';
2
3
export default {
4
rules: {
@@ -397,7 +397,7 @@ export default {
397
398
// Specify a pattern for custom properties
399
// https://stylelint.io/user-guide/rules/list/custom-property-pattern/
400
- 'custom-property-pattern': [KEBAB_CASE, {
+ 'custom-property-pattern': [KEBAB_CASE_ALLOW_DOUBLE, {
401
message: 'Expected custom property name to be kebab-case',
402
}],
403
0 commit comments