.stylelintrc.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. {
  2. "extends": "stylelint-config-standard",
  3. "plugins": [
  4. "stylelint-no-browser-hacks/lib"
  5. ],
  6. "rules": {
  7. "at-rule-empty-line-before": null,
  8. "block-no-empty": null,
  9. "color-hex-case": null,
  10. "color-hex-length": null,
  11. "comment-empty-line-before": null,
  12. "declaration-block-no-duplicate-properties": null,
  13. "declaration-block-no-redundant-longhand-properties": null,
  14. "declaration-block-no-shorthand-property-overrides": null,
  15. "declaration-block-trailing-semicolon": null,
  16. "declaration-colon-space-after": null,
  17. "function-comma-space-after": null,
  18. "function-linear-gradient-no-nonstandard-direction": null,
  19. "function-name-case": null,
  20. "function-whitespace-after": null,
  21. "length-zero-no-unit": null,
  22. "no-empty-source": null,
  23. "no-unknown-animations": true,
  24. "number-leading-zero": null,
  25. "number-no-trailing-zeros": null,
  26. "plugin/no-browser-hacks": [true, {
  27. "browsers": [
  28. "ie >= 9",
  29. "edge >= 13",
  30. "firefox >= 5",
  31. "opera >= 12",
  32. "safari >= 5",
  33. "chrome >= 56"
  34. ]
  35. }],
  36. "property-no-unknown": null,
  37. "rule-empty-line-before": null,
  38. "selector-pseudo-element-colon-notation": null,
  39. "selector-type-no-unknown": null,
  40. "shorthand-property-no-redundant-values": null,
  41. "unit-whitelist": ["deg", "em", "ex", "ms", "rem", "%", "s", "px"]
  42. },
  43. "ignoreFiles": [
  44. "assets/vendor/**/*.css",
  45. "tests/Drupal/Tests/Core/Asset/css_test_files/**/*.css"
  46. ]
  47. }