forked from IgniteUI/igniteui-angular
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc.json
83 lines (83 loc) · 3.74 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"plugins": ["stylelint-scss"],
"files": ["**/*.scss"],
"customSyntax": "postcss-scss",
"ignoreFiles": ["projects/igniteui-angular/src/lib/core/styles/**/*.md", "projects/igniteui-angular/src/lib/core/styles/spec/*.ts"],
"rules": {
"at-rule-disallowed-list": ["debug", {
"severity": "warning"
}],
"block-closing-brace-empty-line-before": "never",
"block-closing-brace-newline-after": "always-single-line",
"block-no-empty": true,
"color-hex-case": "lower",
"color-hex-length": "short",
"color-no-invalid-hex": true,
"comment-no-empty": true,
"declaration-block-no-duplicate-properties": true,
"declaration-block-no-shorthand-property-overrides": true,
"declaration-block-single-line-max-declarations": 1,
"declaration-colon-space-after": "always",
"font-family-no-duplicate-names": true,
"font-family-no-missing-generic-family-keyword": true,
"font-weight-notation": "numeric",
"function-calc-no-unspaced-operator": true,
"function-comma-space-after": "always-single-line",
"indentation": 4,
"length-zero-no-unit": true,
"max-nesting-depth": [3, {
"severity": "warning"
}],
"no-duplicate-at-import-rules": true,
"no-duplicate-selectors": true,
"no-extra-semicolons": true,
"no-invalid-double-slash-comments": true,
"no-missing-end-of-source-newline": true,
"number-leading-zero": "never",
"number-no-trailing-zeros": true,
"property-no-unknown": true,
"rule-empty-line-before": ["always-multi-line", {
"except": ["first-nested"],
"ignore": ["after-comment"]
}],
"selector-attribute-quotes": "always",
"selector-attribute-operator-space-after": "never",
"selector-attribute-operator-space-before": "never",
"selector-combinator-space-after": "always",
"selector-combinator-space-before": "always",
"selector-descendant-combinator-no-non-space": true,
"selector-list-comma-newline-after": "always",
"selector-pseudo-class-case": "lower",
"selector-pseudo-class-no-unknown": true,
"selector-pseudo-class-parentheses-space-inside": "never",
"selector-pseudo-element-case": "lower",
"selector-pseudo-element-colon-notation": "double",
"selector-pseudo-element-no-unknown": true,
"selector-type-case": "lower",
"selector-type-no-unknown": [true, {
"ignore": ["custom-elements"]
}],
"shorthand-property-no-redundant-values": true,
"string-quotes": "single",
"unit-case": "lower",
"value-keyword-case": ["lower", {
"camelCaseSvgKeywords": true
}],
"value-list-comma-space-after": "always-single-line",
"value-no-vendor-prefix": true,
"scss/at-else-closing-brace-newline-after": "always-last-in-chain",
"scss/at-else-closing-brace-space-after": "always-intermediate",
"scss/at-else-empty-line-before": "never",
"scss/at-extend-no-missing-placeholder": true,
"scss/at-if-closing-brace-newline-after": "always-last-in-chain",
"scss/at-if-closing-brace-space-after": "always-intermediate",
"scss/at-import-no-partial-leading-underscore": true,
"scss/at-mixin-argumentless-call-parentheses": "always",
"scss/at-mixin-parentheses-space-before": "never",
"scss/at-rule-no-unknown": true,
"scss/double-slash-comment-inline": "never",
"scss/dollar-variable-colon-newline-after": null,
"scss/dollar-variable-colon-space-after": "always",
"scss/selector-no-redundant-nesting-selector": true
}
}