.stylelintrc.json 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. {
  2. "extends": [
  3. "stylelint-config-standard-scss",
  4. "stylelint-config-idiomatic-order"
  5. ],
  6. "plugins": [
  7. "stylelint-use-logical-spec",
  8. "stylelint-codeguide"
  9. ],
  10. "overrides": [
  11. {
  12. "files": [
  13. "**/*.scss"
  14. ],
  15. "customSyntax": "postcss-scss"
  16. },
  17. {
  18. "files": [
  19. "**/*.vue"
  20. ],
  21. "customSyntax": "postcss-html"
  22. }
  23. ],
  24. "rules": {
  25. "codeguide/max-line-length": [
  26. 120,
  27. {
  28. "ignore": "comments"
  29. }
  30. ],
  31. "codeguide/indentation": 2,
  32. "liberty/use-logical-spec": true,
  33. "selector-class-pattern": null,
  34. "color-function-notation": null,
  35. "annotation-no-unknown": [
  36. true,
  37. {
  38. "ignoreAnnotations": [
  39. "default"
  40. ]
  41. }
  42. ],
  43. "media-feature-range-notation": null
  44. }
  45. }