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.8KB

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