-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.stylelintrc.json
53 lines (53 loc) · 1.47 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
45
46
47
48
49
50
51
52
53
{
"plugins": [
"stylelint-scss"
],
"extends": [
"stylelint-config-standard-scss"
],
"rules": {
"property-no-vendor-prefix": null,
"shorthand-property-no-redundant-values": null,
"declaration-block-no-redundant-longhand-properties": null,
"selector-no-qualifying-type": true,
"selector-class-pattern": [
"^[a-zA-Z][a-zA-Z0-9-_]*$",
{
"message": "Selector class names should be lowercase and separated by hyphens"
}
],
"custom-property-pattern": [
"^[a-zA-Z][a-zA-Z0-9-_]*$",
{
"message": "Custom property names should be lowercase and separated by hyphens"
}
],
"scss/dollar-variable-pattern": [
"^[a-zA-Z][a-zA-Z0-9-_]*$",
{
"message": "Variable names should be lowercase and separated by hyphens"
}
],
"scss/at-import-partial-extension": null,
"no-empty-source": null,
"no-descending-specificity": null,
"string-quotes": "single",
"selector-pseudo-element-colon-notation": "single",
"at-rule-no-unknown": null,
"scss/at-rule-no-unknown": true,
"scss/selector-no-redundant-nesting-selector": true,
"color-hex-length": "long",
"alpha-value-notation": "number",
"color-function-notation": "legacy",
"selector-list-comma-newline-after": "always",
"indentation": [2, {
"indentInsideParens": "twice",
"except": ["param"]
}]
},
"ignoreFiles": [
"node_modules/**",
"dist/**"
],
"fix": true
}