forked from canonical/vanilla-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc.json
25 lines (23 loc) · 1014 Bytes
/
.stylelintrc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
"extends": ["stylelint-config-standard", "stylelint-prettier/recommended"],
"plugins": ["stylelint-order", "stylelint-scss"],
"rules": {
"order/properties-alphabetical-order": true,
"at-rule-no-unknown": null,
"scss/at-rule-no-unknown": true,
"no-descending-specificity": [true, {"severity": "warning"}],
"scss/at-extend-no-missing-placeholder": true,
"property-no-vendor-prefix": true,
"value-no-vendor-prefix": true,
"selector-no-vendor-prefix": true,
"media-feature-name-no-vendor-prefix": true,
"at-rule-no-vendor-prefix": true,
"selector-max-id": 0,
"selector-max-type": 0,
"max-nesting-depth": 3,
"function-url-scheme-allowed-list": ["data"],
"scss/at-import-no-partial-leading-underscore": true,
"scss/at-import-partial-extension": "never",
"selector-class-pattern": "^(?:(?:o|c|u|t|s|is|has|_|js|qa)-)?[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*(?:__[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*)?(?:--[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*)?(?:\\[.+\\])?$"
}
}