Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "plugins": [
- "stylelint-scss",
- "stylelint-declaration-use-variable"
- ],
- "rules": {
- "color-hex-case": "lower",
- "color-hex-length": "short",
- "color-named": "never",
- "color-no-invalid-hex": true,
- "font-weight-notation": "numeric",
- "font-family-name-quotes": "always-unless-keyword",
- "number-leading-zero": "never",
- "number-max-precision": 2,
- "number-no-trailing-zeros": true,
- "string-no-newline": true,
- "string-quotes": "single",
- "unit-case": "lower",
- "unit-no-unknown": true,
- "value-keyword-case": "lower",
- "value-no-vendor-prefix": true,
- "value-list-comma-newline-after": "never-multi-line",
- "value-list-comma-space-after": "always",
- "value-list-comma-space-before": "never",
- "shorthand-property-no-redundant-values": true,
- "property-case": "lower",
- "property-no-unknown": true,
- "property-no-vendor-prefix": true,
- "declaration-bang-space-after": "never",
- "declaration-bang-space-before": "always",
- "declaration-no-important": true,
- "indentation": 2,
- "max-empty-lines": 2,
- "max-nesting-depth": 4,
- "no-descending-specificity": true,
- "no-duplicate-selectors": true,
- "no-eol-whitespace": true,
- "no-extra-semicolons": true,
- "no-invalid-double-slash-comments": true,
- "no-missing-end-of-source-newline": true,
- "no-unknown-animations": true,
- "comment-empty-line-before": [
- "always",
- except: ["first-nested"]
- ],
- "comment-no-empty": true,
- "comment-whitespace-inside": "always",
- "declaration-empty-line-before": [
- "always",
- except: ["after-declaration", "first-nested"],
- ignore: ["after-comment", "inside-single-line-block"]
- ],
- "scss/dollar-variable-colon-space-after": "always",
- "scss/dollar-variable-colon-space-before": "never",
- "scss/selector-no-redundant-nesting-selector": true,
- "scss/double-slash-comment-empty-line-before": "always",
- "scss/double-slash-comment-whitespace-inside": "always",
- "sh-waqar/declaration-use-variable": "color",
- },
- "stylelint": {
- "ignoreFiles": "./node_modules/**/*.css"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement