.stylelintrc.json 975 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {
  2. "extends": [
  3. "stylelint-rscss/config",
  4. "stylelint-config-standard",
  5. "stylelint-config-recommended-scss",
  6. "stylelint-config-html",
  7. "stylelint-config-recommended-vue/scss"
  8. ],
  9. "rules": {
  10. "declaration-no-important": true,
  11. "rscss/no-descendant-combinator": false,
  12. "rscss/class-format": [
  13. false,
  14. {
  15. "component": "pascal-case",
  16. "variant": "^-[a-z]\\w+",
  17. "element": "^[a-z]\\w+"
  18. }
  19. ],
  20. "selector-class-pattern": null,
  21. "import-notation": null,
  22. "custom-property-pattern": null,
  23. "keyframes-name-pattern": null,
  24. "scss/operator-no-newline-after": null,
  25. "declaration-block-no-redundant-longhand-properties": [
  26. true,
  27. {
  28. "ignoreShorthands": [
  29. "grid-template",
  30. "margin",
  31. "padding",
  32. "border",
  33. "border-width",
  34. "border-style",
  35. "border-color",
  36. "border-radius"
  37. ]
  38. }
  39. ]
  40. }
  41. }