forked from canonical/vanilla-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc.json
44 lines (38 loc) · 1.33 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
37
38
39
40
41
42
43
44
{
"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/at-import-no-partial-leading-underscore": true,
"scss/at-import-partial-extension": "never",
"order/order": [
"dollar-variables",
{
"type": "at-rule",
"name": "extend"
},
{
"type": "at-rule",
"name": "include"
}
],
"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
}
}