.stylelintrc.js 614 B

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