.stylelintrc 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. {
  2. "extends": [
  3. "stylelint-config-standard-scss",
  4. "stylelint-config-recommended-vue/scss",
  5. "stylelint-config-recommended-vue",
  6. "stylelint-config-recess-order",
  7. "stylelint-config-prettier-scss"
  8. ],
  9. "ignoreFiles": ["**/*.js", "**/*.jsx", "**/*.tsx", "**/*.ts"],
  10. "overrides": [
  11. {
  12. "files": ["*.vue", "**/*.vue"],
  13. "customSyntax": "postcss-html",
  14. "rules": {
  15. "selector-pseudo-class-no-unknown": [
  16. true,
  17. {
  18. "ignorePseudoClasses": ["deep", "global"]
  19. }
  20. ],
  21. "selector-pseudo-element-no-unknown": [
  22. true,
  23. {
  24. "ignorePseudoElements": ["v-deep", "v-global", "v-slotted"]
  25. }
  26. ],
  27. "function-no-unknown": null
  28. }
  29. }
  30. ],
  31. "rules": {
  32. "declaration-block-no-redundant-longhand-properties": null,
  33. "selector-class-pattern": null,
  34. "selector-pseudo-class-no-unknown": [
  35. true,
  36. {
  37. "ignorePseudoClasses": ["global"]
  38. }
  39. ],
  40. "selector-pseudo-element-no-unknown": [
  41. true,
  42. {
  43. "ignorePseudoElements": ["v-deep"]
  44. }
  45. ],
  46. "at-rule-no-unknown": [
  47. true,
  48. {
  49. "ignoreAtRules": [
  50. "@",
  51. "tailwind",
  52. "apply",
  53. "variants",
  54. "responsive",
  55. "screen",
  56. "function",
  57. "if",
  58. "each",
  59. "include",
  60. "mixin",
  61. "else",
  62. "return",
  63. "use",
  64. "forward"
  65. ]
  66. }
  67. ],
  68. "no-empty-source": null,
  69. "named-grid-areas-no-invalid": null,
  70. "unicode-bom": "never",
  71. "no-descending-specificity": null,
  72. "font-family-no-missing-generic-family-keyword": null,
  73. "declaration-colon-space-after": "always-single-line",
  74. "declaration-colon-space-before": "never",
  75. "declaration-block-trailing-semicolon": null,
  76. "rule-empty-line-before": [
  77. "always",
  78. {
  79. "ignore": ["after-comment", "first-nested"]
  80. }
  81. ],
  82. "unit-no-unknown": [true, { "ignoreUnits": ["rpx"] }],
  83. "at-rule-empty-line-before": "never",
  84. "property-no-unknown": null,
  85. "selector-id-pattern": null,
  86. "scss/no-global-function-names": null,
  87. "scss/at-import-partial-extension": null,
  88. "scss/dollar-variable-pattern": null,
  89. "max-line-length": null
  90. }
  91. }