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 4.9KB

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