.scss-lint.yml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461
  1. scss_files: "scss/*.scss"
  2. linters:
  3. BangFormat:
  4. enabled: true
  5. space_before_bang: true
  6. space_after_bang: false
  7. BorderZero:
  8. enabled: true
  9. ColorKeyword:
  10. enabled: true
  11. ColorVariable:
  12. enabled: false
  13. Comment:
  14. enabled: true
  15. exclude: ['_normalize.scss', 'bootstrap.scss']
  16. DebugStatement:
  17. enabled: true
  18. DeclarationOrder:
  19. enabled: false
  20. DuplicateProperty:
  21. enabled: true
  22. exclude: ['mixins/_tab-focus.scss', '_reboot.scss']
  23. ElsePlacement:
  24. enabled: true
  25. style: same_line # or 'new_line'
  26. EmptyLineBetweenBlocks:
  27. enabled: false
  28. ignore_single_line_blocks: true
  29. EmptyRule:
  30. enabled: true
  31. FinalNewline:
  32. enabled: true
  33. present: true
  34. HexLength:
  35. enabled: true
  36. style: short # or 'long'
  37. HexNotation:
  38. enabled: true
  39. style: lowercase # or 'uppercase'
  40. HexValidation:
  41. enabled: true
  42. IdSelector:
  43. enabled: true
  44. ImportantRule:
  45. enabled: false
  46. ImportPath:
  47. enabled: true
  48. leading_underscore: false
  49. filename_extension: false
  50. Indentation:
  51. enabled: true
  52. character: space # or 'tab'
  53. width: 2
  54. LeadingZero:
  55. enabled: false
  56. style: exclude_zero # or 'include_zero'
  57. MergeableSelector:
  58. enabled: false
  59. force_nesting: true
  60. NameFormat:
  61. enabled: true
  62. allow_leading_underscore: true
  63. convention: hyphenated_lowercase # or 'BEM', or a regex pattern
  64. NestingDepth:
  65. enabled: false
  66. PlaceholderInExtend:
  67. enabled: false
  68. PropertySortOrder:
  69. enabled: true
  70. ignore_unspecified: false
  71. severity: warning
  72. exclude: ['_normalize.scss']
  73. order: [
  74. "position",
  75. "top",
  76. "right",
  77. "bottom",
  78. "left",
  79. "z-index",
  80. "-webkit-box-sizing",
  81. "-moz-box-sizing",
  82. "box-sizing",
  83. "display",
  84. "float",
  85. "width",
  86. "min-width",
  87. "max-width",
  88. "height",
  89. "min-height",
  90. "max-height",
  91. "flex",
  92. "flex-direction",
  93. "flex-flow",
  94. "flex-order",
  95. "flex-pack",
  96. "flex-align",
  97. "padding",
  98. "padding-top",
  99. "padding-right",
  100. "padding-bottom",
  101. "padding-left",
  102. "margin",
  103. "margin-top",
  104. "margin-right",
  105. "margin-bottom",
  106. "margin-left",
  107. "overflow",
  108. "overflow-x",
  109. "overflow-y",
  110. "-webkit-overflow-scrolling",
  111. "-ms-overflow-x",
  112. "-ms-overflow-y",
  113. "-ms-overflow-style",
  114. "clip",
  115. "clear",
  116. "font",
  117. "font-family",
  118. "font-size",
  119. "font-style",
  120. "font-weight",
  121. "font-variant",
  122. "font-size-adjust",
  123. "font-stretch",
  124. "font-effect",
  125. "font-emphasize",
  126. "font-emphasize-position",
  127. "font-emphasize-style",
  128. "font-smooth",
  129. "-webkit-hyphens",
  130. "-moz-hyphens",
  131. "hyphens",
  132. "line-height",
  133. "color",
  134. "text-align",
  135. "-webkit-text-align-last",
  136. "-moz-text-align-last",
  137. "-ms-text-align-last",
  138. "text-align-last",
  139. "text-emphasis",
  140. "text-emphasis-color",
  141. "text-emphasis-style",
  142. "text-emphasis-position",
  143. "text-decoration",
  144. "text-indent",
  145. "text-justify",
  146. "text-outline",
  147. "-ms-text-overflow",
  148. "text-overflow",
  149. "text-overflow-ellipsis",
  150. "text-overflow-mode",
  151. "text-shadow",
  152. "text-transform",
  153. "text-wrap",
  154. "-webkit-text-size-adjust",
  155. "-ms-text-size-adjust",
  156. "letter-spacing",
  157. "-ms-word-break",
  158. "word-break",
  159. "word-spacing",
  160. "-ms-word-wrap",
  161. "word-wrap",
  162. "-moz-tab-size",
  163. "-o-tab-size",
  164. "tab-size",
  165. "white-space",
  166. "vertical-align",
  167. "list-style",
  168. "list-style-position",
  169. "list-style-type",
  170. "list-style-image",
  171. "pointer-events",
  172. "-ms-touch-action",
  173. "touch-action",
  174. "cursor",
  175. "visibility",
  176. "zoom",
  177. "table-layout",
  178. "empty-cells",
  179. "caption-side",
  180. "border-spacing",
  181. "border-collapse",
  182. "content",
  183. "quotes",
  184. "counter-reset",
  185. "counter-increment",
  186. "resize",
  187. "-webkit-user-select",
  188. "-moz-user-select",
  189. "-ms-user-select",
  190. "-o-user-select",
  191. "user-select",
  192. "nav-index",
  193. "nav-up",
  194. "nav-right",
  195. "nav-down",
  196. "nav-left",
  197. "background",
  198. "background-color",
  199. "background-image",
  200. "-ms-filter:\\'progid:DXImageTransform.Microsoft.gradient",
  201. "filter:progid:DXImageTransform.Microsoft.gradient",
  202. "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader",
  203. "filter",
  204. "background-repeat",
  205. "background-attachment",
  206. "background-position",
  207. "background-position-x",
  208. "background-position-y",
  209. "-webkit-background-clip",
  210. "-moz-background-clip",
  211. "background-clip",
  212. "background-origin",
  213. "-webkit-background-size",
  214. "-moz-background-size",
  215. "-o-background-size",
  216. "background-size",
  217. "border",
  218. "border-color",
  219. "border-style",
  220. "border-width",
  221. "border-top",
  222. "border-top-color",
  223. "border-top-style",
  224. "border-top-width",
  225. "border-right",
  226. "border-right-color",
  227. "border-right-style",
  228. "border-right-width",
  229. "border-bottom",
  230. "border-bottom-color",
  231. "border-bottom-style",
  232. "border-bottom-width",
  233. "border-left",
  234. "border-left-color",
  235. "border-left-style",
  236. "border-left-width",
  237. "border-radius",
  238. "border-top-left-radius",
  239. "border-top-right-radius",
  240. "border-bottom-right-radius",
  241. "border-bottom-left-radius",
  242. "-webkit-border-image",
  243. "-moz-border-image",
  244. "-o-border-image",
  245. "border-image",
  246. "-webkit-border-image-source",
  247. "-moz-border-image-source",
  248. "-o-border-image-source",
  249. "border-image-source",
  250. "-webkit-border-image-slice",
  251. "-moz-border-image-slice",
  252. "-o-border-image-slice",
  253. "border-image-slice",
  254. "-webkit-border-image-width",
  255. "-moz-border-image-width",
  256. "-o-border-image-width",
  257. "border-image-width",
  258. "-webkit-border-image-outset",
  259. "-moz-border-image-outset",
  260. "-o-border-image-outset",
  261. "border-image-outset",
  262. "-webkit-border-image-repeat",
  263. "-moz-border-image-repeat",
  264. "-o-border-image-repeat",
  265. "border-image-repeat",
  266. "outline",
  267. "outline-width",
  268. "outline-style",
  269. "outline-color",
  270. "outline-offset",
  271. "-webkit-box-shadow",
  272. "-moz-box-shadow",
  273. "box-shadow",
  274. "filter:progid:DXImageTransform.Microsoft.Alpha(Opacity",
  275. "-ms-filter:\\'progid:DXImageTransform.Microsoft.Alpha",
  276. "opacity",
  277. "-ms-interpolation-mode",
  278. "-webkit-transition",
  279. "-moz-transition",
  280. "-ms-transition",
  281. "-o-transition",
  282. "transition",
  283. "-webkit-transition-delay",
  284. "-moz-transition-delay",
  285. "-ms-transition-delay",
  286. "-o-transition-delay",
  287. "transition-delay",
  288. "-webkit-transition-timing-function",
  289. "-moz-transition-timing-function",
  290. "-ms-transition-timing-function",
  291. "-o-transition-timing-function",
  292. "transition-timing-function",
  293. "-webkit-transition-duration",
  294. "-moz-transition-duration",
  295. "-ms-transition-duration",
  296. "-o-transition-duration",
  297. "transition-duration",
  298. "-webkit-transition-property",
  299. "-moz-transition-property",
  300. "-ms-transition-property",
  301. "-o-transition-property",
  302. "transition-property",
  303. "-webkit-transform",
  304. "-moz-transform",
  305. "-ms-transform",
  306. "-o-transform",
  307. "transform",
  308. "-webkit-transform-origin",
  309. "-moz-transform-origin",
  310. "-ms-transform-origin",
  311. "-o-transform-origin",
  312. "transform-origin",
  313. "-webkit-animation",
  314. "-moz-animation",
  315. "-ms-animation",
  316. "-o-animation",
  317. "animation",
  318. "-webkit-animation-name",
  319. "-moz-animation-name",
  320. "-ms-animation-name",
  321. "-o-animation-name",
  322. "animation-name",
  323. "-webkit-animation-duration",
  324. "-moz-animation-duration",
  325. "-ms-animation-duration",
  326. "-o-animation-duration",
  327. "animation-duration",
  328. "-webkit-animation-play-state",
  329. "-moz-animation-play-state",
  330. "-ms-animation-play-state",
  331. "-o-animation-play-state",
  332. "animation-play-state",
  333. "-webkit-animation-timing-function",
  334. "-moz-animation-timing-function",
  335. "-ms-animation-timing-function",
  336. "-o-animation-timing-function",
  337. "animation-timing-function",
  338. "-webkit-animation-delay",
  339. "-moz-animation-delay",
  340. "-ms-animation-delay",
  341. "-o-animation-delay",
  342. "animation-delay",
  343. "-webkit-animation-iteration-count",
  344. "-moz-animation-iteration-count",
  345. "-ms-animation-iteration-count",
  346. "-o-animation-iteration-count",
  347. "animation-iteration-count",
  348. "-webkit-animation-direction",
  349. "-moz-animation-direction",
  350. "-ms-animation-direction",
  351. "-o-animation-direction",
  352. "animation-direction"
  353. ]
  354. PropertySpelling:
  355. enabled: true
  356. extra_properties: []
  357. PseudoElement:
  358. enabled: true
  359. QualifyingElement:
  360. enabled: false
  361. allow_element_with_attribute: false
  362. allow_element_with_class: false
  363. allow_element_with_id: false
  364. SelectorDepth:
  365. enabled: false
  366. SelectorFormat:
  367. enabled: true
  368. convention: hyphenated_lowercase # or 'BEM', or 'snake_case', or 'camel_case', or a regex pattern
  369. Shorthand:
  370. enabled: true
  371. SingleLinePerProperty:
  372. enabled: true
  373. allow_single_line_rule_sets: true
  374. SingleLinePerSelector:
  375. enabled: false
  376. SpaceAfterComma:
  377. enabled: false
  378. SpaceAfterPropertyColon:
  379. enabled: true
  380. style: at_least_one_space # or 'no_space', or 'at_least_one_space', or 'aligned'
  381. SpaceAfterPropertyName:
  382. enabled: true
  383. SpaceBeforeBrace:
  384. enabled: true
  385. style: space
  386. allow_single_line_padding: true
  387. SpaceBetweenParens:
  388. enabled: true
  389. spaces: 0
  390. StringQuotes:
  391. enabled: true
  392. style: double_quotes
  393. TrailingSemicolon:
  394. enabled: true
  395. TrailingZero:
  396. enabled: false
  397. UnnecessaryMantissa:
  398. enabled: true
  399. UnnecessaryParentReference:
  400. enabled: true
  401. UrlFormat:
  402. enabled: true
  403. UrlQuotes:
  404. enabled: true
  405. VendorPrefixes:
  406. enabled: true
  407. identifier_list: base
  408. include: []
  409. exclude: ['_normalize.scss']
  410. ZeroUnit:
  411. enabled: true
  412. Compass::*:
  413. enabled: false