stylelint.config.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. export default {
  2. extends: [
  3. 'stylelint-config-standard-scss',
  4. 'stylelint-config-standard-vue/scss',
  5. 'stylelint-config-recess-order',
  6. '@stylistic/stylelint-config',
  7. ],
  8. plugins: [
  9. 'stylelint-scss',
  10. ],
  11. rules: {
  12. 'at-rule-no-unknown': null,
  13. 'no-descending-specificity': null,
  14. 'property-no-unknown': null,
  15. 'font-family-no-missing-generic-family-keyword': null,
  16. 'selector-class-pattern': null,
  17. 'function-no-unknown': [
  18. true,
  19. {
  20. ignoreFunctions: [
  21. 'v-bind',
  22. 'map-get',
  23. 'lighten',
  24. 'darken',
  25. ],
  26. },
  27. ],
  28. 'selector-pseudo-element-no-unknown': [
  29. true,
  30. {
  31. ignorePseudoElements: [
  32. '/^view-transition/',
  33. ],
  34. },
  35. ],
  36. 'scss/double-slash-comment-empty-line-before': null,
  37. 'scss/no-global-function-names': null,
  38. '@stylistic/max-line-length': null,
  39. '@stylistic/block-closing-brace-newline-after': [
  40. 'always',
  41. {
  42. ignoreAtRules: ['if', 'else'],
  43. },
  44. ],
  45. },
  46. allowEmptyInput: true,
  47. ignoreFiles: [
  48. 'node_modules/**/*',
  49. 'dist*/**/*',
  50. 'public/tinymce/**/*',
  51. ],
  52. }