|
1 | 1 | { |
2 | | - "extends": "stylelint-config-sass-guidelines", |
3 | | - "plugins": [ |
4 | | - "stylelint-declaration-use-variable" |
| 2 | + "extends": [ |
| 3 | + "stylelint-config-standard" |
5 | 4 | ], |
| 5 | + "plugins": ["stylelint-scss"], |
| 6 | + "customSyntax": "postcss-scss", |
6 | 7 | "rules": { |
7 | | - "function-parentheses-space-inside": null, |
8 | | - "indentation": null, |
9 | 8 | "selector-no-qualifying-type": null, |
10 | 9 | "selector-class-pattern": null, |
11 | 10 | "selector-pseudo-element-no-unknown": null, |
12 | 11 | "selector-max-id": null, |
13 | 12 | "selector-max-compound-selectors": null, |
14 | 13 | "scss/at-extend-no-missing-placeholder": null, |
15 | 14 | "max-nesting-depth": null, |
16 | | - "scss/at-import-partial-extension-blacklist": null, |
| 15 | + "scss/at-import-partial-extension": null, |
17 | 16 | "value-no-vendor-prefix": null, |
18 | 17 | "scss/dollar-variable-pattern": [ |
19 | 18 | "^([a-z][a-z0-9]*)(-[a-z0-9]+)*$", |
20 | 19 | "message": "Variable name should be written in lower kebab-case (scss/dollar-variable-pattern)" |
21 | 20 | ], |
22 | | - "sh-waqar/declaration-use-variable": [ |
23 | | - [ |
24 | | - "/color/", |
25 | | - { |
26 | | - "ignoreValues": [ |
27 | | - "inherit", |
28 | | - "initial", |
29 | | - "transparent", |
30 | | - "/darken/", |
31 | | - "/\\w+\\.\\$.+/" |
32 | | - ] |
33 | | - } |
34 | | - ] |
35 | | - ], |
36 | 21 | "property-no-unknown": [ |
37 | 22 | true, |
38 | 23 | { |
39 | 24 | "ignoreSelectors": [":export"] |
40 | 25 | } |
41 | | - ] |
| 26 | + ], |
| 27 | + "no-empty-source": null, |
| 28 | + "at-rule-no-unknown": [ |
| 29 | + true, |
| 30 | + { |
| 31 | + "ignoreAtRules": ["use", "forward", "mixin", "include", "if", "else", "function", "return", "each", "extend"] |
| 32 | + } |
| 33 | + ], |
| 34 | + "color-function-alias-notation": "with-alpha", |
| 35 | + "color-function-notation": "legacy", |
| 36 | + "keyframe-selector-notation": null, |
| 37 | + "font-family-name-quotes": "always-unless-keyword", |
| 38 | + "declaration-block-no-redundant-longhand-properties": null, |
| 39 | + "font-family-no-missing-generic-family-keyword": null, |
| 40 | + "no-descending-specificity": null, |
| 41 | + "media-query-no-invalid": null, |
| 42 | + "no-invalid-double-slash-comments": null, |
| 43 | + "declaration-property-value-no-unknown": null, |
| 44 | + "no-invalid-position-at-import-rule": null, |
| 45 | + "annotation-no-unknown": null, |
| 46 | + "import-notation": null |
42 | 47 | } |
43 | 48 | } |
0 commit comments