|
1 | 1 | { |
2 | | - "plugins": ["stylelint-scss"], |
3 | | - "files": ["**/*.scss"], |
4 | | - "customSyntax": "postcss-scss", |
5 | | - "ignoreFiles": ["projects/igniteui-angular/src/lib/core/styles/**/*.md", "projects/igniteui-angular/src/lib/core/styles/spec/*.ts"], |
| 2 | + "extends": ["stylelint-config-standard-scss"], |
| 3 | + "plugins": ["stylelint-scss", "stylelint-prettier"], |
6 | 4 | "rules": { |
7 | 5 | "at-rule-disallowed-list": ["debug", { |
8 | 6 | "severity": "warning" |
9 | 7 | }], |
10 | | - "block-closing-brace-empty-line-before": "never", |
11 | | - "block-closing-brace-newline-after": "always-single-line", |
12 | 8 | "block-no-empty": true, |
13 | | - "color-hex-case": "lower", |
14 | 9 | "color-hex-length": "short", |
15 | 10 | "color-no-invalid-hex": true, |
16 | 11 | "comment-no-empty": true, |
| 12 | + "custom-property-pattern": "(?:ig*-)?.+", |
17 | 13 | "declaration-block-no-duplicate-properties": true, |
18 | 14 | "declaration-block-no-shorthand-property-overrides": true, |
19 | 15 | "declaration-block-single-line-max-declarations": 1, |
20 | | - "declaration-colon-space-after": "always", |
21 | 16 | "font-family-no-duplicate-names": true, |
22 | 17 | "font-family-no-missing-generic-family-keyword": true, |
23 | 18 | "font-weight-notation": "numeric", |
24 | 19 | "function-calc-no-unspaced-operator": true, |
25 | | - "function-comma-space-after": "always-single-line", |
26 | | - "indentation": 4, |
27 | 20 | "length-zero-no-unit": true, |
28 | 21 | "max-nesting-depth": [3, { |
29 | 22 | "severity": "warning" |
30 | 23 | }], |
| 24 | + "no-descending-specificity": null, |
31 | 25 | "no-duplicate-at-import-rules": true, |
32 | 26 | "no-duplicate-selectors": true, |
33 | | - "no-extra-semicolons": true, |
34 | 27 | "no-invalid-double-slash-comments": true, |
35 | | - "no-missing-end-of-source-newline": true, |
36 | | - "number-leading-zero": "never", |
37 | | - "number-no-trailing-zeros": true, |
38 | 28 | "property-no-unknown": true, |
39 | 29 | "rule-empty-line-before": ["always-multi-line", { |
40 | 30 | "except": ["first-nested"], |
41 | 31 | "ignore": ["after-comment"] |
42 | 32 | }], |
43 | 33 | "selector-attribute-quotes": "always", |
44 | | - "selector-attribute-operator-space-after": "never", |
45 | | - "selector-attribute-operator-space-before": "never", |
46 | | - "selector-combinator-space-after": "always", |
47 | | - "selector-combinator-space-before": "always", |
48 | | - "selector-descendant-combinator-no-non-space": true, |
49 | | - "selector-list-comma-newline-after": "always", |
50 | | - "selector-pseudo-class-case": "lower", |
51 | 34 | "selector-pseudo-class-no-unknown": true, |
52 | | - "selector-pseudo-class-parentheses-space-inside": "never", |
53 | | - "selector-pseudo-element-case": "lower", |
54 | 35 | "selector-pseudo-element-colon-notation": "double", |
55 | 36 | "selector-pseudo-element-no-unknown": true, |
56 | 37 | "selector-type-case": "lower", |
57 | 38 | "selector-type-no-unknown": [true, { |
58 | 39 | "ignore": ["custom-elements"] |
59 | 40 | }], |
60 | 41 | "shorthand-property-no-redundant-values": true, |
61 | | - "string-quotes": "single", |
62 | | - "unit-case": "lower", |
63 | | - "value-keyword-case": ["lower", { |
64 | | - "camelCaseSvgKeywords": true |
65 | | - }], |
66 | | - "value-list-comma-space-after": "always-single-line", |
| 42 | + "property-no-vendor-prefix": null, |
67 | 43 | "value-no-vendor-prefix": true, |
| 44 | + "value-keyword-case": null, |
| 45 | + "selector-no-vendor-prefix": null, |
| 46 | + "selector-class-pattern": null, |
| 47 | + "at-rule-empty-line-before": null, |
| 48 | + "custom-property-empty-line-before": null, |
| 49 | + "declaration-empty-line-before": null, |
| 50 | + "alpha-value-notation": null, |
| 51 | + "color-function-notation": null, |
| 52 | + "number-max-precision": null, |
| 53 | + "declaration-block-no-redundant-longhand-properties": null, |
| 54 | + "scss/no-global-function-names": null, |
| 55 | + "scss/at-mixin-pattern": null, |
| 56 | + "scss/at-function-pattern": null, |
| 57 | + "scss/percent-placeholder-pattern": null, |
| 58 | + "scss/dollar-variable-pattern": null, |
| 59 | + "scss/double-slash-comment-empty-line-before": null, |
| 60 | + "scss/double-slash-comment-whitespace-inside": null, |
68 | 61 | "scss/at-else-closing-brace-newline-after": "always-last-in-chain", |
69 | 62 | "scss/at-else-closing-brace-space-after": "always-intermediate", |
70 | 63 | "scss/at-else-empty-line-before": "never", |
71 | | - "scss/at-extend-no-missing-placeholder": true, |
72 | 64 | "scss/at-if-closing-brace-newline-after": "always-last-in-chain", |
73 | 65 | "scss/at-if-closing-brace-space-after": "always-intermediate", |
74 | | - "scss/at-import-no-partial-leading-underscore": true, |
| 66 | + "scss/dollar-variable-empty-line-before": null, |
75 | 67 | "scss/at-mixin-argumentless-call-parentheses": "always", |
76 | 68 | "scss/at-mixin-parentheses-space-before": "never", |
77 | 69 | "scss/at-rule-no-unknown": true, |
|
0 commit comments