.stylelintrc.json 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  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": ["prefers-reduced-motion"]
  15. }],
  16. "number-leading-zero": "always",
  17. "plugin/no-browser-hacks": [true, {
  18. "browsers": [
  19. "ie >= 9",
  20. "edge >= 13",
  21. "firefox >= 5",
  22. "opera >= 12",
  23. "safari >= 5",
  24. "chrome >= 56"
  25. ]
  26. }],
  27. "property-no-unknown": null,
  28. "rule-empty-line-before": null,
  29. "selector-pseudo-element-colon-notation": null,
  30. "shorthand-property-no-redundant-values": null,
  31. "unit-whitelist": ["deg", "em", "ex", "ms", "rem", "%", "s", "px", "vw", "vh"]
  32. },
  33. "ignoreFiles": [
  34. "assets/vendor/**/*.css",
  35. "tests/Drupal/Tests/Core/Asset/css_test_files/**/*.css"
  36. ]
  37. }