index.js 1.5 KB

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