index.js 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. 'use strict';
  2. module.exports = {
  3. rules: {
  4. 'at-rule-no-unknown': true,
  5. 'block-no-empty': true,
  6. 'color-no-invalid-hex': true,
  7. 'comment-no-empty': true,
  8. 'custom-property-no-missing-var-function': true,
  9. 'declaration-block-no-duplicate-custom-properties': true,
  10. 'declaration-block-no-duplicate-properties': [
  11. true,
  12. {
  13. ignore: ['consecutive-duplicates-with-different-values'],
  14. },
  15. ],
  16. 'declaration-block-no-shorthand-property-overrides': true,
  17. 'font-family-no-duplicate-names': true,
  18. 'font-family-no-missing-generic-family-keyword': true,
  19. 'function-calc-no-unspaced-operator': true,
  20. 'function-linear-gradient-no-nonstandard-direction': true,
  21. 'function-no-unknown': true,
  22. 'keyframe-declaration-no-important': true,
  23. 'media-feature-name-no-unknown': true,
  24. 'named-grid-areas-no-invalid': true,
  25. 'no-descending-specificity': true,
  26. 'no-duplicate-at-import-rules': true,
  27. 'no-duplicate-selectors': true,
  28. 'no-empty-source': true,
  29. 'no-extra-semicolons': true,
  30. 'no-invalid-double-slash-comments': true,
  31. 'no-invalid-position-at-import-rule': true,
  32. 'no-irregular-whitespace': true,
  33. 'property-no-unknown': true,
  34. 'selector-pseudo-class-no-unknown': true,
  35. 'selector-pseudo-element-no-unknown': true,
  36. 'selector-type-no-unknown': [
  37. true,
  38. {
  39. ignore: ['custom-elements'],
  40. },
  41. ],
  42. 'string-no-newline': true,
  43. 'unit-no-unknown': true,
  44. },
  45. };