-
Notifications
You must be signed in to change notification settings - Fork 57
/
.stylelintrc.json
36 lines (30 loc) · 1.15 KB
/
.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
26
27
28
29
30
31
32
33
34
35
36
{
"extends": [
"stylelint-config-recommended-scss",
"stylelint-prettier/recommended"
],
"plugins": ["stylelint-order"],
"rules": {
"no-invalid-position-at-import-rule": null,
"scss/comment-no-empty": null,
"scss/no-global-function-names": null,
"scss/operator-no-unspaced": null,
"function-url-scheme-allowed-list": ["data"],
"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]+)*)?(?:\\[.+\\])?$",
"selector-max-id": 0,
"selector-max-type": 0,
"max-nesting-depth": 3,
"at-rule-no-unknown": null,
"scss/at-rule-no-unknown": true,
"scss/at-extend-no-missing-placeholder": true,
"scss/load-no-partial-leading-underscore": true,
"scss/at-import-partial-extension": "never",
"order/properties-alphabetical-order": true,
"no-descending-specificity": [true, { "severity": "warning" }],
"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
}
}