forked from tawk/tawk-magento-2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.stylelintrc.json
45 lines (45 loc) · 1.46 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
{
"ignoreFiles": [
"./node_modules/**/*.css",
"./vendor/**/*.css"
],
"rules": {
"indentation": 4,
"block-opening-brace-space-before": "always",
"block-opening-brace-newline-after": "always",
"block-closing-brace-newline-before": "always",
"selector-list-comma-newline-after": "always",
"string-quotes": "single",
"selector-combinator-space-after": "always",
"selector-combinator-space-before": "always",
"declaration-block-semicolon-newline-after": "always",
"declaration-colon-space-after": "always",
"declaration-colon-space-before": "never",
"rule-empty-line-before": [
"always", {
"except": ["first-nested"],
"ignore": ["after-comment"]
}
],
"declaration-block-trailing-semicolon":"always",
"no-extra-semicolons": true,
"declaration-block-semicolon-space-before": "never",
"declaration-no-important": true,
"comment-empty-line-before": "always",
"comment-whitespace-inside": "always",
"comment-no-empty": true,
"selector-max-id": 0,
"selector-class-pattern": "^_?[a-z0-9]+(-[a-z0-9]+)*$",
"selector-type-case": "lower",
"max-nesting-depth": 3,
"length-zero-no-unit": true,
"number-leading-zero": "never",
"unit-case": "lower",
"color-hex-case": "lower",
"color-no-invalid-hex": true,
"color-hex-length": "short",
"block-no-empty": true,
"max-empty-lines": 2,
"unit-allowed-list": ["px", "rem", "%", "s", "fr"]
}
}