You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.stylelintrc.yaml 5.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. plugins:
  2. - stylelint-declaration-strict-value
  3. ignoreFiles:
  4. - "**/*.go"
  5. overrides:
  6. - files: ["**/chroma/*", "**/codemirror/*", "**/standalone/*", "**/console.css", "font_i18n.css"]
  7. rules:
  8. scale-unlimited/declaration-strict-value: null
  9. - files: ["**/chroma/*", "**/codemirror/*"]
  10. rules:
  11. block-no-empty: null
  12. - files: ["**/*.vue"]
  13. customSyntax: postcss-html
  14. rules:
  15. alpha-value-notation: null
  16. annotation-no-unknown: true
  17. at-rule-allowed-list: null
  18. at-rule-disallowed-list: null
  19. at-rule-empty-line-before: null
  20. at-rule-no-unknown: true
  21. at-rule-no-vendor-prefix: true
  22. at-rule-property-required-list: null
  23. block-no-empty: true
  24. color-function-notation: null
  25. color-hex-alpha: null
  26. color-hex-length: null
  27. color-named: null
  28. color-no-hex: null
  29. color-no-invalid-hex: true
  30. comment-empty-line-before: null
  31. comment-no-empty: true
  32. comment-pattern: null
  33. comment-whitespace-inside: null
  34. comment-word-disallowed-list: null
  35. custom-media-pattern: null
  36. custom-property-empty-line-before: null
  37. custom-property-no-missing-var-function: true
  38. custom-property-pattern: null
  39. declaration-block-no-duplicate-custom-properties: true
  40. declaration-block-no-duplicate-properties: [true, {ignore: [consecutive-duplicates-with-different-values]}]
  41. declaration-block-no-redundant-longhand-properties: null
  42. declaration-block-no-shorthand-property-overrides: null
  43. declaration-block-single-line-max-declarations: null
  44. declaration-empty-line-before: null
  45. declaration-no-important: null
  46. declaration-property-max-values: null
  47. declaration-property-unit-allowed-list: null
  48. declaration-property-unit-disallowed-list: null
  49. declaration-property-value-allowed-list: null
  50. declaration-property-value-disallowed-list: null
  51. declaration-property-value-no-unknown: true
  52. font-family-name-quotes: always-where-recommended
  53. font-family-no-duplicate-names: true
  54. font-family-no-missing-generic-family-keyword: true
  55. font-weight-notation: null
  56. function-allowed-list: null
  57. function-calc-no-unspaced-operator: true
  58. function-disallowed-list: null
  59. function-linear-gradient-no-nonstandard-direction: true
  60. function-name-case: lower
  61. function-no-unknown: null
  62. function-url-no-scheme-relative: null
  63. function-url-quotes: always
  64. function-url-scheme-allowed-list: null
  65. function-url-scheme-disallowed-list: null
  66. hue-degree-notation: null
  67. import-notation: string
  68. keyframe-block-no-duplicate-selectors: true
  69. keyframe-declaration-no-important: true
  70. keyframe-selector-notation: null
  71. keyframes-name-pattern: null
  72. length-zero-no-unit: true
  73. max-nesting-depth: null
  74. media-feature-name-allowed-list: null
  75. media-feature-name-disallowed-list: null
  76. media-feature-name-no-unknown: true
  77. media-feature-name-no-vendor-prefix: true
  78. media-feature-name-unit-allowed-list: null
  79. media-feature-name-value-allowed-list: null
  80. media-feature-name-value-no-unknown: true
  81. media-feature-range-notation: null
  82. named-grid-areas-no-invalid: true
  83. no-descending-specificity: null
  84. no-duplicate-at-import-rules: true
  85. no-duplicate-selectors: true
  86. no-empty-source: true
  87. no-invalid-double-slash-comments: true
  88. no-invalid-position-at-import-rule: null
  89. no-irregular-whitespace: true
  90. no-unknown-animations: null
  91. no-unknown-custom-properties: null
  92. number-max-precision: null
  93. property-allowed-list: null
  94. property-disallowed-list: null
  95. property-no-unknown: true
  96. property-no-vendor-prefix: null
  97. rule-empty-line-before: null
  98. rule-selector-property-disallowed-list: null
  99. scale-unlimited/declaration-strict-value: [[color, background-color, border-color, font-weight], {ignoreValues: /^(inherit|transparent|unset|initial|currentcolor|none)$/, ignoreFunctions: false, disableFix: true}]
  100. selector-attribute-name-disallowed-list: null
  101. selector-attribute-operator-allowed-list: null
  102. selector-attribute-operator-disallowed-list: null
  103. selector-attribute-quotes: always
  104. selector-class-pattern: null
  105. selector-combinator-allowed-list: null
  106. selector-combinator-disallowed-list: null
  107. selector-disallowed-list: null
  108. selector-id-pattern: null
  109. selector-max-attribute: null
  110. selector-max-class: null
  111. selector-max-combinators: null
  112. selector-max-compound-selectors: null
  113. selector-max-id: null
  114. selector-max-pseudo-class: null
  115. selector-max-specificity: null
  116. selector-max-type: null
  117. selector-max-universal: null
  118. selector-nested-pattern: null
  119. selector-no-qualifying-type: null
  120. selector-no-vendor-prefix: true
  121. selector-not-notation: null
  122. selector-pseudo-class-allowed-list: null
  123. selector-pseudo-class-disallowed-list: null
  124. selector-pseudo-class-no-unknown: true
  125. selector-pseudo-element-allowed-list: null
  126. selector-pseudo-element-colon-notation: double
  127. selector-pseudo-element-disallowed-list: null
  128. selector-pseudo-element-no-unknown: true
  129. selector-type-case: lower
  130. selector-type-no-unknown: [true, {ignore: [custom-elements]}]
  131. shorthand-property-no-redundant-values: true
  132. string-no-newline: true
  133. time-min-milliseconds: null
  134. unit-allowed-list: null
  135. unit-disallowed-list: null
  136. unit-no-unknown: true
  137. value-keyword-case: null
  138. value-no-vendor-prefix: [true, {ignoreValues: [box, inline-box]}]