.stylelintrc 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  1. {
  2. "extends": [
  3. "stylelint-config-standard"
  4. ],
  5. "plugins": [
  6. "stylelint-order"
  7. ],
  8. "rules": {
  9. "at-rule-empty-line-before": null,
  10. "at-rule-name-space-after": "always",
  11. "at-rule-no-vendor-prefix": true,
  12. "at-rule-semicolon-space-before": "never",
  13. "block-closing-brace-empty-line-before": null,
  14. "block-closing-brace-newline-after": null,
  15. "block-opening-brace-space-before": null,
  16. "color-named": "never",
  17. "declaration-block-semicolon-newline-after": "always-multi-line",
  18. "declaration-block-semicolon-newline-before": "never-multi-line",
  19. "declaration-block-semicolon-space-after": "always-single-line",
  20. "declaration-empty-line-before": null,
  21. "declaration-no-important": true,
  22. "font-family-name-quotes": "always-where-recommended",
  23. "font-weight-notation": [
  24. "numeric",
  25. {
  26. "ignore": [
  27. "relative"
  28. ]
  29. }
  30. ],
  31. "function-url-no-scheme-relative": true,
  32. "function-url-quotes": "always",
  33. "length-zero-no-unit": true,
  34. "max-empty-lines": 2,
  35. "max-line-length": null,
  36. "media-feature-name-no-unknown": [
  37. true,
  38. {
  39. "ignoreMediaFeatureNames": [
  40. "prefers-reduced-motion"
  41. ]
  42. }
  43. ],
  44. "media-feature-name-no-vendor-prefix": true,
  45. "media-feature-parentheses-space-inside": "never",
  46. "media-feature-range-operator-space-after": "always",
  47. "media-feature-range-operator-space-before": "never",
  48. "no-descending-specificity": null,
  49. "no-duplicate-selectors": true,
  50. "number-leading-zero": "never",
  51. "order/properties-order": [
  52. "position",
  53. "top",
  54. "right",
  55. "bottom",
  56. "left",
  57. "z-index",
  58. "box-sizing",
  59. "display",
  60. "flex",
  61. "flex-align",
  62. "flex-basis",
  63. "flex-direction",
  64. "flex-wrap",
  65. "flex-flow",
  66. "flex-shrink",
  67. "flex-grow",
  68. "flex-order",
  69. "flex-pack",
  70. "align-content",
  71. "align-items",
  72. "align-self",
  73. "justify-content",
  74. "order",
  75. "float",
  76. "width",
  77. "min-width",
  78. "max-width",
  79. "height",
  80. "min-height",
  81. "max-height",
  82. "padding",
  83. "padding-top",
  84. "padding-right",
  85. "padding-bottom",
  86. "padding-left",
  87. "margin",
  88. "margin-top",
  89. "margin-right",
  90. "margin-bottom",
  91. "margin-left",
  92. "overflow",
  93. "overflow-x",
  94. "overflow-y",
  95. "-webkit-overflow-scrolling",
  96. "-ms-overflow-x",
  97. "-ms-overflow-y",
  98. "-ms-overflow-style",
  99. "columns",
  100. "column-count",
  101. "column-fill",
  102. "column-gap",
  103. "column-rule",
  104. "column-rule-width",
  105. "column-rule-style",
  106. "column-rule-color",
  107. "column-span",
  108. "column-width",
  109. "orphans",
  110. "widows",
  111. "clip",
  112. "clear",
  113. "font",
  114. "font-family",
  115. "font-size",
  116. "font-style",
  117. "font-weight",
  118. "font-variant",
  119. "font-size-adjust",
  120. "font-stretch",
  121. "font-effect",
  122. "font-emphasize",
  123. "font-emphasize-position",
  124. "font-emphasize-style",
  125. "font-smooth",
  126. "src",
  127. "hyphens",
  128. "line-height",
  129. "color",
  130. "text-align",
  131. "text-align-last",
  132. "text-emphasis",
  133. "text-emphasis-color",
  134. "text-emphasis-style",
  135. "text-emphasis-position",
  136. "text-decoration",
  137. "text-indent",
  138. "text-justify",
  139. "text-outline",
  140. "-ms-text-overflow",
  141. "text-overflow",
  142. "text-overflow-ellipsis",
  143. "text-overflow-mode",
  144. "text-shadow",
  145. "text-transform",
  146. "text-wrap",
  147. "-webkit-text-size-adjust",
  148. "-ms-text-size-adjust",
  149. "letter-spacing",
  150. "-ms-word-break",
  151. "word-break",
  152. "word-spacing",
  153. "-ms-word-wrap",
  154. "word-wrap",
  155. "overflow-wrap",
  156. "tab-size",
  157. "white-space",
  158. "vertical-align",
  159. "direction",
  160. "unicode-bidi",
  161. "list-style",
  162. "list-style-position",
  163. "list-style-type",
  164. "list-style-image",
  165. "pointer-events",
  166. "-ms-touch-action",
  167. "touch-action",
  168. "cursor",
  169. "visibility",
  170. "zoom",
  171. "table-layout",
  172. "empty-cells",
  173. "caption-side",
  174. "border-spacing",
  175. "border-collapse",
  176. "content",
  177. "quotes",
  178. "counter-reset",
  179. "counter-increment",
  180. "resize",
  181. "user-select",
  182. "nav-index",
  183. "nav-up",
  184. "nav-right",
  185. "nav-down",
  186. "nav-left",
  187. "background",
  188. "background-color",
  189. "background-image",
  190. "filter",
  191. "background-repeat",
  192. "background-attachment",
  193. "background-position",
  194. "background-position-x",
  195. "background-position-y",
  196. "background-clip",
  197. "background-origin",
  198. "background-size",
  199. "border",
  200. "border-color",
  201. "border-style",
  202. "border-width",
  203. "border-top",
  204. "border-top-color",
  205. "border-top-style",
  206. "border-top-width",
  207. "border-right",
  208. "border-right-color",
  209. "border-right-style",
  210. "border-right-width",
  211. "border-bottom",
  212. "border-bottom-color",
  213. "border-bottom-style",
  214. "border-bottom-width",
  215. "border-left",
  216. "border-left-color",
  217. "border-left-style",
  218. "border-left-width",
  219. "border-radius",
  220. "border-top-left-radius",
  221. "border-top-right-radius",
  222. "border-bottom-right-radius",
  223. "border-bottom-left-radius",
  224. "border-image",
  225. "border-image-source",
  226. "border-image-slice",
  227. "border-image-width",
  228. "border-image-outset",
  229. "border-image-repeat",
  230. "outline",
  231. "outline-width",
  232. "outline-style",
  233. "outline-color",
  234. "outline-offset",
  235. "box-shadow",
  236. "opacity",
  237. "-ms-interpolation-mode",
  238. "page-break-after",
  239. "page-break-before",
  240. "page-break-inside",
  241. "transition",
  242. "transition-delay",
  243. "transition-timing-function",
  244. "transition-duration",
  245. "transition-property",
  246. "transform",
  247. "transform-origin",
  248. "perspective",
  249. "appearance",
  250. "animation",
  251. "animation-name",
  252. "animation-duration",
  253. "animation-play-state",
  254. "animation-timing-function",
  255. "animation-delay",
  256. "animation-iteration-count",
  257. "animation-direction",
  258. "animation-fill-mode",
  259. "fill",
  260. "stroke"
  261. ],
  262. "property-no-vendor-prefix": true,
  263. "rule-empty-line-before": null,
  264. "selector-attribute-quotes": "always",
  265. "selector-pseudo-element-colon-notation": "single",
  266. "selector-list-comma-newline-after": "always",
  267. "selector-list-comma-newline-before": "never-multi-line",
  268. "selector-list-comma-space-after": "always-single-line",
  269. "selector-list-comma-space-before": "never-single-line",
  270. "selector-max-attribute": 2,
  271. "selector-max-class": 4,
  272. "selector-max-combinators": 4,
  273. "selector-max-compound-selectors": 4,
  274. "selector-max-empty-lines": 1,
  275. "selector-max-id": 0,
  276. "selector-max-specificity": null,
  277. "selector-max-type": 2,
  278. "selector-max-universal": 1,
  279. "selector-no-qualifying-type": true,
  280. "selector-no-vendor-prefix": true,
  281. "shorthand-property-no-redundant-values": true,
  282. "string-quotes": "double",
  283. "value-keyword-case": "lower",
  284. "value-list-comma-newline-after": "never-multi-line",
  285. "value-list-comma-newline-before": "never-multi-line",
  286. "value-list-comma-space-after": "always",
  287. "value-no-vendor-prefix": true
  288. }
  289. }