.stylelintrc.json 1.0 KB

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