.stylelintrc.js 574 B

1234567891011121314151617181920212223242526272829
  1. module.exports = {
  2. extends: [
  3. 'stylelint-config-standard',
  4. 'stylelint-config-rational-order',
  5. 'stylelint-config-prettier',
  6. ],
  7. defaultSeverity: 'warning',
  8. plugins: ['stylelint-order'],
  9. rules: {
  10. 'at-rule-no-unknown': [
  11. true,
  12. {
  13. ignoreAtRules: ['plugin'],
  14. },
  15. ],
  16. 'rule-empty-line-before': [
  17. 'always',
  18. {
  19. except: ['after-single-line-comment', 'first-nested'],
  20. },
  21. ],
  22. 'selector-pseudo-class-no-unknown': [
  23. true,
  24. {
  25. ignorePseudoClasses: ['deep'],
  26. },
  27. ],
  28. },
  29. };