.stylelintrc.json 1.1 KB

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