|
| 1 | +{ |
| 2 | + "extends": ["stylelint-config-standard", "stylelint-config-prettier"], |
| 3 | + "plugins": ["stylelint-scss"], |
| 4 | + "ignoreFiles": ["dist/**/*.css"], |
| 5 | + "rules": { |
| 6 | + "at-rule-empty-line-before": [ |
| 7 | + "always", |
| 8 | + { |
| 9 | + "ignore": ["after-comment", "first-nested"], |
| 10 | + "ignoreAtRules": ["else", "for", "if", "import"] |
| 11 | + } |
| 12 | + ], |
| 13 | + "at-rule-no-unknown": null, |
| 14 | + "color-hex-case": "lower", |
| 15 | + "color-named": "never", |
| 16 | + "declaration-no-important": true, |
| 17 | + "font-family-name-quotes": "always-where-recommended", |
| 18 | + "function-name-case": ["lower", {}], |
| 19 | + "function-url-quotes": "always", |
| 20 | + "max-empty-lines": 2, |
| 21 | + "max-nesting-depth": 4, |
| 22 | + "media-feature-name-no-unknown": [ |
| 23 | + true, |
| 24 | + { |
| 25 | + "ignoreMediaFeatureNames": ["min-device-pixel-ratio"] |
| 26 | + } |
| 27 | + ], |
| 28 | + "selector-pseudo-element-colon-notation": "double", |
| 29 | + "selector-pseudo-element-no-unknown": [true, {}], |
| 30 | + "property-no-unknown": [ |
| 31 | + true, |
| 32 | + { |
| 33 | + "ignoreProperties": ["place-items"] |
| 34 | + } |
| 35 | + ], |
| 36 | + "selector-type-no-unknown": null, |
| 37 | + "string-quotes": "double", |
| 38 | + "value-keyword-case": [ |
| 39 | + "lower", |
| 40 | + { |
| 41 | + "ignoreProperties": ["/font-?family/i"] |
| 42 | + } |
| 43 | + ], |
| 44 | + "scss/at-extend-no-missing-placeholder": true, |
| 45 | + "scss/at-rule-no-unknown": true |
| 46 | + } |
| 47 | +} |
0 commit comments