.stylelintrc.js 779 B

123456789101112131415161718192021222324252627282930313233
  1. module.exports = {
  2. ignoreFiles: ["/**/*.vue"],
  3. customSyntax: "postcss-html",
  4. extends: [
  5. "stylelint-config-standard",
  6. "stylelint-config-prettier",
  7. "stylelint-config-standard-scss",
  8. "stylelint-config-recommended-vue",
  9. ],
  10. defaultSeverity: "warning",
  11. // add your custom config here
  12. // https://stylelint.io/user-guide/configuration
  13. rules: {
  14. "at-rule-no-unknown": [
  15. true,
  16. {
  17. ignoreAtRules: [
  18. "extends",
  19. "apply",
  20. "variants",
  21. "responsive",
  22. "screen",
  23. "mixin",
  24. "include",
  25. ],
  26. },
  27. ],
  28. "declaration-block-trailing-semicolon": null,
  29. "no-descending-specificity": null,
  30. "selector-class-pattern": null,
  31. "selector-id-pattern": null,
  32. },
  33. }