.sass-lint.yml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. # sass-lint config generated by make-sass-lint-config v0.1.1
  2. #
  3. # The following scss-lint Linters are not yet supported by sass-lint:
  4. # DisableLinterReason, ElsePlacement, PropertyCount, SelectorDepth
  5. # SpaceAroundOperator, TrailingWhitespace, UnnecessaryParentReference, Compass::*
  6. #
  7. # The following settings/values are unsupported by sass-lint:
  8. # Linter Indentation, option "allow_non_nested_indentation"
  9. # Linter Indentation, option "character"
  10. # Linter NestingDepth, option "ignore_parent_selectors"
  11. # Linter PropertySortOrder, option "min_properties"
  12. # Linter PropertySortOrder, option "separate_groups"
  13. # Linter SpaceBeforeBrace, option "allow_single_line_padding"
  14. # Linter VendorPrefix, option "identifier_list"
  15. files:
  16. include: '**/*.scss'
  17. options:
  18. formatter: stylish
  19. merge-default-rules: false
  20. rules:
  21. bem-depth:
  22. - 1
  23. - max-depth: 3
  24. border-zero:
  25. - 1
  26. - convention: none
  27. brace-style:
  28. - 2
  29. - allow-single-line: true
  30. class-name-format:
  31. - 1
  32. - convention: hyphenatedbem
  33. clean-import-paths:
  34. - 1
  35. - filename-extension: false
  36. leading-underscore: false
  37. empty-line-between-blocks:
  38. - 2
  39. - ignore-single-line-rulesets: true
  40. extends-before-declarations: 1
  41. extends-before-mixins: 1
  42. final-newline:
  43. - 1
  44. - include: true
  45. force-attribute-nesting: 1
  46. force-element-nesting: 1
  47. force-pseudo-nesting: 1
  48. function-name-format:
  49. - 1
  50. - allow-leading-underscore: true
  51. convention: hyphenatedlowercase
  52. hex-length:
  53. - 1
  54. - style: short
  55. hex-notation:
  56. - 1
  57. - style: lowercase
  58. id-name-format:
  59. - 1
  60. - convention: hyphenatedbem
  61. indentation:
  62. - 2
  63. - size: 4
  64. leading-zero:
  65. - 1
  66. - include: false
  67. mixin-name-format:
  68. - 0
  69. - allow-leading-underscore: true
  70. convention: hyphenatedlowercase
  71. mixins-before-declarations: 1
  72. nesting-depth:
  73. - 1
  74. - max-depth: 4
  75. no-color-keyword: 1
  76. no-color-literals: 1
  77. no-css-comments: 1
  78. no-debug: 1
  79. no-duplicate-properties: 1
  80. no-empty-rulesets: 1
  81. no-extends: 0
  82. no-ids: 1
  83. no-important: 1
  84. no-invalid-hex: 1
  85. no-mergeable-selectors: 1
  86. no-misspelled-properties:
  87. - 1
  88. - extra-properties: ['overflow-scrolling', 'font-smoothing']
  89. no-qualifying-elements:
  90. - 1
  91. - allow-element-with-attribute: false
  92. allow-element-with-class: false
  93. allow-element-with-id: false
  94. no-trailing-zero: 1
  95. no-transition-all: 0
  96. no-url-protocols: 1
  97. no-vendor-prefixes:
  98. - 1
  99. - additional-identifiers: []
  100. excluded-identifiers: []
  101. placeholder-in-extend: 1
  102. placeholder-name-format:
  103. - 1
  104. - convention: hyphenatedlowercase
  105. property-sort-order:
  106. - 1
  107. - ignore-custom-properties: false
  108. property-units:
  109. - 1
  110. - global:
  111. - ch
  112. - em
  113. - ex
  114. - rem
  115. - cm
  116. - in
  117. - mm
  118. - pc
  119. - pt
  120. - px
  121. - q
  122. - vh
  123. - vw
  124. - vmin
  125. - vmax
  126. - deg
  127. - grad
  128. - rad
  129. - turn
  130. - ms
  131. - s
  132. - Hz
  133. - kHz
  134. - dpi
  135. - dpcm
  136. - dppx
  137. - '%'
  138. per-property: {}
  139. quotes:
  140. - 1
  141. - style: single
  142. shorthand-values:
  143. - 1
  144. - allowed-shorthands:
  145. - 1
  146. - 2
  147. - 3
  148. single-line-per-selector: 2
  149. space-after-bang:
  150. - 2
  151. - include: false
  152. space-after-colon:
  153. - 2
  154. - include: true
  155. space-after-comma:
  156. - 1
  157. - include: true
  158. space-before-bang:
  159. - 2
  160. - include: true
  161. space-before-brace:
  162. - 2
  163. - include: true
  164. space-before-colon: 1
  165. space-between-parens:
  166. - 2
  167. - include: false
  168. trailing-semicolon: 2
  169. url-quotes: 1
  170. variable-for-property:
  171. - 0
  172. - properties: []
  173. variable-name-format:
  174. - 1
  175. - allow-leading-underscore: true
  176. convention: hyphenatedlowercase
  177. zero-unit: 1