.stylelintrc.json 988 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
{
  "extends": "stylelint-config-standard",
  "plugins": [
    "stylelint-no-browser-hacks/lib"
  ],
  "rules": {
    "comment-empty-line-before": null,
    "function-linear-gradient-no-nonstandard-direction": null,
    "function-whitespace-after": null,
10 11
    "no-descending-specificity": null,
    "no-duplicate-selectors": null,
12
    "no-unknown-animations": true,
13
    "number-leading-zero": "always",
14 15 16 17 18 19 20 21 22 23 24 25 26 27
    "plugin/no-browser-hacks": [true, {
      "browsers": [
        "ie >= 9",
        "edge >= 13",
        "firefox >= 5",
        "opera >= 12",
        "safari >= 5",
        "chrome >= 56"
      ]
    }],
    "property-no-unknown": null,
    "rule-empty-line-before": null,
    "selector-pseudo-element-colon-notation": null,
    "shorthand-property-no-redundant-values": null,
28
    "unit-whitelist": ["deg", "em", "ex", "ms", "rem", "%", "s", "px", "vw", "vh"]
29 30 31 32 33 34
  },
  "ignoreFiles": [
    "assets/vendor/**/*.css",
    "tests/Drupal/Tests/Core/Asset/css_test_files/**/*.css"
  ]
}