.stylelintrc.json 1.36 KB
Newer Older
Jiří Helebrant's avatar
Jiří Helebrant committed
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
{
  "extends": "stylelint-config-standard",
  "rules": {
    "at-rule-empty-line-before": null,
    "at-rule-no-unknown": [
      true,
      {
        "ignoreAtRules": ["if", "else", "mixin", "include", "content", "for"]
      }
    ],
    "block-closing-brace-empty-line-before": null,
    "block-closing-brace-newline-after": null,
    "color-hex-case": ["lower"],
    "unit-whitelist": ["px", "em", "rem", "%", "s", "deg", "pt", "vw", "vh"],
    "declaration-no-important": null,
    "declaration-empty-line-before": "never",
    "declaration-colon-newline-after": "always-multi-line",
    "no-extra-semicolons": true,
    "max-empty-lines": 2,
    "font-family-name-quotes": "always-where-recommended",
    "function-url-quotes": "never",
    "function-comma-newline-after": null,
    "function-parentheses-space-inside": null,
    "max-nesting-depth": 3,
    "media-feature-name-no-vendor-prefix": true,
    "number-leading-zero": "always",
    "property-no-vendor-prefix": true,
    "rule-empty-line-before": null,
    "selector-list-comma-newline-after": null,
    "selector-attribute-quotes": "always",
    "selector-max-compound-selectors": 3,
    "selector-max-specificity": "0,4,0",
    "selector-max-universal": 1,
    "selector-max-id": 0,
    "selector-no-vendor-prefix": true,
    "selector-pseudo-element-colon-notation": "single",
    "value-no-vendor-prefix": true
  }
}