create-docusaurus 0.0.0-4378 → 0.0.0-4388

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (893) hide show
  1. package/package.json +3 -3
  2. package/templates/classic/package.json +3 -3
  3. package/templates/classic-typescript/package.json +4 -4
  4. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/CHANGELOG.md +18 -0
  5. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/LICENSE +21 -0
  6. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/README.md +91 -0
  7. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/camel-case.js +13 -0
  8. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/extract.js +462 -0
  9. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/get-template.js +7 -0
  10. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/index.js +6 -0
  11. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/literal.js +23 -0
  12. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/object-parse.js +15 -0
  13. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/object-parser.js +357 -0
  14. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/object-stringifier.js +153 -0
  15. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/object-stringify.js +9 -0
  16. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/object-syntax.js +11 -0
  17. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/object.js +24 -0
  18. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/package.json +119 -0
  19. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/template-parse.js +19 -0
  20. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/template-parser-helper.js +260 -0
  21. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/template-parser.js +20 -0
  22. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/template-safe-parse.js +19 -0
  23. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/template-safe-parser.js +21 -0
  24. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/template-stringifier.js +23 -0
  25. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/template-stringify.js +9 -0
  26. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/template-tokenize.js +67 -0
  27. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/un-camel-case.js +13 -0
  28. package/templates/facebook/node_modules/@stylelint/postcss-markdown/CHANGELOG.md +13 -0
  29. package/templates/facebook/node_modules/@stylelint/postcss-markdown/LICENSE +21 -0
  30. package/templates/facebook/node_modules/@stylelint/postcss-markdown/README.md +92 -0
  31. package/templates/facebook/node_modules/@stylelint/postcss-markdown/extract.js +42 -0
  32. package/templates/facebook/node_modules/@stylelint/postcss-markdown/index.js +5 -0
  33. package/templates/facebook/node_modules/@stylelint/postcss-markdown/package.json +63 -0
  34. package/templates/facebook/node_modules/autoprefixer/LICENSE +20 -0
  35. package/templates/facebook/node_modules/autoprefixer/README.md +73 -0
  36. package/templates/facebook/node_modules/autoprefixer/bin/autoprefixer +22 -0
  37. package/templates/facebook/node_modules/autoprefixer/data/prefixes.js +714 -0
  38. package/templates/facebook/node_modules/autoprefixer/lib/at-rule.js +62 -0
  39. package/templates/facebook/node_modules/autoprefixer/lib/autoprefixer.js +150 -0
  40. package/templates/facebook/node_modules/autoprefixer/lib/brackets.js +64 -0
  41. package/templates/facebook/node_modules/autoprefixer/lib/browsers.js +96 -0
  42. package/templates/facebook/node_modules/autoprefixer/lib/declaration.js +243 -0
  43. package/templates/facebook/node_modules/autoprefixer/lib/hacks/align-content.js +79 -0
  44. package/templates/facebook/node_modules/autoprefixer/lib/hacks/align-items.js +76 -0
  45. package/templates/facebook/node_modules/autoprefixer/lib/hacks/align-self.js +84 -0
  46. package/templates/facebook/node_modules/autoprefixer/lib/hacks/animation.js +35 -0
  47. package/templates/facebook/node_modules/autoprefixer/lib/hacks/appearance.js +39 -0
  48. package/templates/facebook/node_modules/autoprefixer/lib/hacks/backdrop-filter.js +35 -0
  49. package/templates/facebook/node_modules/autoprefixer/lib/hacks/background-clip.js +41 -0
  50. package/templates/facebook/node_modules/autoprefixer/lib/hacks/background-size.js +38 -0
  51. package/templates/facebook/node_modules/autoprefixer/lib/hacks/block-logical.js +48 -0
  52. package/templates/facebook/node_modules/autoprefixer/lib/hacks/border-image.js +33 -0
  53. package/templates/facebook/node_modules/autoprefixer/lib/hacks/border-radius.js +62 -0
  54. package/templates/facebook/node_modules/autoprefixer/lib/hacks/break-props.js +76 -0
  55. package/templates/facebook/node_modules/autoprefixer/lib/hacks/color-adjust.js +40 -0
  56. package/templates/facebook/node_modules/autoprefixer/lib/hacks/cross-fade.js +54 -0
  57. package/templates/facebook/node_modules/autoprefixer/lib/hacks/display-flex.js +94 -0
  58. package/templates/facebook/node_modules/autoprefixer/lib/hacks/display-grid.js +41 -0
  59. package/templates/facebook/node_modules/autoprefixer/lib/hacks/filter-value.js +31 -0
  60. package/templates/facebook/node_modules/autoprefixer/lib/hacks/filter.js +33 -0
  61. package/templates/facebook/node_modules/autoprefixer/lib/hacks/flex-basis.js +72 -0
  62. package/templates/facebook/node_modules/autoprefixer/lib/hacks/flex-direction.js +108 -0
  63. package/templates/facebook/node_modules/autoprefixer/lib/hacks/flex-flow.js +81 -0
  64. package/templates/facebook/node_modules/autoprefixer/lib/hacks/flex-grow.js +57 -0
  65. package/templates/facebook/node_modules/autoprefixer/lib/hacks/flex-shrink.js +72 -0
  66. package/templates/facebook/node_modules/autoprefixer/lib/hacks/flex-spec.js +22 -0
  67. package/templates/facebook/node_modules/autoprefixer/lib/hacks/flex-wrap.js +40 -0
  68. package/templates/facebook/node_modules/autoprefixer/lib/hacks/flex.js +85 -0
  69. package/templates/facebook/node_modules/autoprefixer/lib/hacks/fullscreen.js +40 -0
  70. package/templates/facebook/node_modules/autoprefixer/lib/hacks/gradient.js +519 -0
  71. package/templates/facebook/node_modules/autoprefixer/lib/hacks/grid-area.js +52 -0
  72. package/templates/facebook/node_modules/autoprefixer/lib/hacks/grid-column-align.js +48 -0
  73. package/templates/facebook/node_modules/autoprefixer/lib/hacks/grid-end.js +62 -0
  74. package/templates/facebook/node_modules/autoprefixer/lib/hacks/grid-row-align.js +48 -0
  75. package/templates/facebook/node_modules/autoprefixer/lib/hacks/grid-row-column.js +52 -0
  76. package/templates/facebook/node_modules/autoprefixer/lib/hacks/grid-rows-columns.js +149 -0
  77. package/templates/facebook/node_modules/autoprefixer/lib/hacks/grid-start.js +55 -0
  78. package/templates/facebook/node_modules/autoprefixer/lib/hacks/grid-template-areas.js +101 -0
  79. package/templates/facebook/node_modules/autoprefixer/lib/hacks/grid-template.js +90 -0
  80. package/templates/facebook/node_modules/autoprefixer/lib/hacks/grid-utils.js +1123 -0
  81. package/templates/facebook/node_modules/autoprefixer/lib/hacks/image-rendering.js +71 -0
  82. package/templates/facebook/node_modules/autoprefixer/lib/hacks/image-set.js +38 -0
  83. package/templates/facebook/node_modules/autoprefixer/lib/hacks/inline-logical.js +40 -0
  84. package/templates/facebook/node_modules/autoprefixer/lib/hacks/intrinsic.js +74 -0
  85. package/templates/facebook/node_modules/autoprefixer/lib/hacks/justify-content.js +85 -0
  86. package/templates/facebook/node_modules/autoprefixer/lib/hacks/mask-border.js +46 -0
  87. package/templates/facebook/node_modules/autoprefixer/lib/hacks/mask-composite.js +104 -0
  88. package/templates/facebook/node_modules/autoprefixer/lib/hacks/order.js +72 -0
  89. package/templates/facebook/node_modules/autoprefixer/lib/hacks/overscroll-behavior.js +54 -0
  90. package/templates/facebook/node_modules/autoprefixer/lib/hacks/pixelated.js +58 -0
  91. package/templates/facebook/node_modules/autoprefixer/lib/hacks/place-self.js +55 -0
  92. package/templates/facebook/node_modules/autoprefixer/lib/hacks/placeholder-shown.js +36 -0
  93. package/templates/facebook/node_modules/autoprefixer/lib/hacks/placeholder.js +56 -0
  94. package/templates/facebook/node_modules/autoprefixer/lib/hacks/text-decoration-skip-ink.js +38 -0
  95. package/templates/facebook/node_modules/autoprefixer/lib/hacks/text-decoration.js +36 -0
  96. package/templates/facebook/node_modules/autoprefixer/lib/hacks/text-emphasis-position.js +33 -0
  97. package/templates/facebook/node_modules/autoprefixer/lib/hacks/transform-decl.js +105 -0
  98. package/templates/facebook/node_modules/autoprefixer/lib/hacks/user-select.js +36 -0
  99. package/templates/facebook/node_modules/autoprefixer/lib/hacks/writing-mode.js +59 -0
  100. package/templates/facebook/node_modules/autoprefixer/lib/info.js +149 -0
  101. package/templates/facebook/node_modules/autoprefixer/lib/old-selector.js +88 -0
  102. package/templates/facebook/node_modules/autoprefixer/lib/old-value.js +30 -0
  103. package/templates/facebook/node_modules/autoprefixer/lib/prefixer.js +167 -0
  104. package/templates/facebook/node_modules/autoprefixer/lib/prefixes.js +471 -0
  105. package/templates/facebook/node_modules/autoprefixer/lib/processor.js +703 -0
  106. package/templates/facebook/node_modules/autoprefixer/lib/resolution.js +125 -0
  107. package/templates/facebook/node_modules/autoprefixer/lib/selector.js +198 -0
  108. package/templates/facebook/node_modules/autoprefixer/lib/supports.js +346 -0
  109. package/templates/facebook/node_modules/autoprefixer/lib/transition.js +411 -0
  110. package/templates/facebook/node_modules/autoprefixer/lib/utils.js +103 -0
  111. package/templates/facebook/node_modules/autoprefixer/lib/value.js +164 -0
  112. package/templates/facebook/node_modules/autoprefixer/package.json +30 -0
  113. package/templates/facebook/node_modules/hosted-git-info/CHANGELOG.md +185 -0
  114. package/templates/facebook/node_modules/hosted-git-info/LICENSE +13 -0
  115. package/templates/facebook/node_modules/hosted-git-info/README.md +133 -0
  116. package/templates/facebook/node_modules/hosted-git-info/git-host-info.js +154 -0
  117. package/templates/facebook/node_modules/hosted-git-info/git-host.js +110 -0
  118. package/templates/facebook/node_modules/hosted-git-info/index.js +237 -0
  119. package/templates/facebook/node_modules/hosted-git-info/package.json +52 -0
  120. package/templates/facebook/node_modules/known-css-properties/LICENSE +21 -0
  121. package/templates/facebook/node_modules/known-css-properties/README.md +48 -0
  122. package/templates/facebook/node_modules/known-css-properties/data/all.json +1144 -0
  123. package/templates/facebook/node_modules/known-css-properties/index.js +1 -0
  124. package/templates/facebook/node_modules/known-css-properties/package.json +56 -0
  125. package/templates/facebook/node_modules/lru-cache/LICENSE +15 -0
  126. package/templates/facebook/node_modules/lru-cache/README.md +166 -0
  127. package/templates/facebook/node_modules/lru-cache/index.js +334 -0
  128. package/templates/facebook/node_modules/lru-cache/package.json +34 -0
  129. package/templates/facebook/node_modules/meow/index.d.ts +315 -0
  130. package/templates/facebook/node_modules/meow/index.js +236 -0
  131. package/templates/facebook/node_modules/meow/license +9 -0
  132. package/templates/facebook/node_modules/meow/package.json +77 -0
  133. package/templates/facebook/node_modules/meow/readme.md +352 -0
  134. package/templates/facebook/node_modules/normalize-package-data/AUTHORS +4 -0
  135. package/templates/facebook/node_modules/normalize-package-data/LICENSE +15 -0
  136. package/templates/facebook/node_modules/normalize-package-data/README.md +108 -0
  137. package/templates/facebook/node_modules/normalize-package-data/lib/extract_description.js +22 -0
  138. package/templates/facebook/node_modules/normalize-package-data/lib/fixer.js +474 -0
  139. package/templates/facebook/node_modules/normalize-package-data/lib/make_warning.js +22 -0
  140. package/templates/facebook/node_modules/normalize-package-data/lib/normalize.js +48 -0
  141. package/templates/facebook/node_modules/normalize-package-data/lib/safe_format.js +11 -0
  142. package/templates/facebook/node_modules/normalize-package-data/lib/typos.json +25 -0
  143. package/templates/facebook/node_modules/normalize-package-data/lib/warning_messages.json +30 -0
  144. package/templates/facebook/node_modules/normalize-package-data/package.json +41 -0
  145. package/templates/facebook/node_modules/picocolors/LICENSE +15 -0
  146. package/templates/facebook/node_modules/picocolors/README.md +23 -0
  147. package/templates/facebook/node_modules/picocolors/package.json +25 -0
  148. package/templates/facebook/node_modules/picocolors/picocolors.browser.js +4 -0
  149. package/templates/facebook/node_modules/picocolors/picocolors.d.ts +5 -0
  150. package/templates/facebook/node_modules/picocolors/picocolors.js +60 -0
  151. package/templates/facebook/node_modules/picocolors/types.ts +30 -0
  152. package/templates/facebook/node_modules/postcss/LICENSE +20 -0
  153. package/templates/facebook/node_modules/postcss/README.md +43 -0
  154. package/templates/facebook/node_modules/postcss/lib/at-rule.js +127 -0
  155. package/templates/facebook/node_modules/postcss/lib/comment.js +55 -0
  156. package/templates/facebook/node_modules/postcss/lib/container.js +774 -0
  157. package/templates/facebook/node_modules/postcss/lib/css-syntax-error.js +296 -0
  158. package/templates/facebook/node_modules/postcss/lib/declaration.js +96 -0
  159. package/templates/facebook/node_modules/postcss/lib/input.js +214 -0
  160. package/templates/facebook/node_modules/postcss/lib/lazy-result.js +437 -0
  161. package/templates/facebook/node_modules/postcss/lib/list.js +93 -0
  162. package/templates/facebook/node_modules/postcss/lib/map-generator.js +347 -0
  163. package/templates/facebook/node_modules/postcss/lib/node.js +606 -0
  164. package/templates/facebook/node_modules/postcss/lib/parse.js +40 -0
  165. package/templates/facebook/node_modules/postcss/lib/parser.js +609 -0
  166. package/templates/facebook/node_modules/postcss/lib/postcss.d.ts +1283 -0
  167. package/templates/facebook/node_modules/postcss/lib/postcss.js +285 -0
  168. package/templates/facebook/node_modules/postcss/lib/previous-map.js +172 -0
  169. package/templates/facebook/node_modules/postcss/lib/processor.js +264 -0
  170. package/templates/facebook/node_modules/postcss/lib/result.js +213 -0
  171. package/templates/facebook/node_modules/postcss/lib/root.js +122 -0
  172. package/templates/facebook/node_modules/postcss/lib/rule.js +116 -0
  173. package/templates/facebook/node_modules/postcss/lib/stringifier.js +362 -0
  174. package/templates/facebook/node_modules/postcss/lib/stringify.js +18 -0
  175. package/templates/facebook/node_modules/postcss/lib/terminal-highlight.js +84 -0
  176. package/templates/facebook/node_modules/postcss/lib/tokenize.js +295 -0
  177. package/templates/facebook/node_modules/postcss/lib/vendor.js +53 -0
  178. package/templates/facebook/node_modules/postcss/lib/warn-once.js +17 -0
  179. package/templates/facebook/node_modules/postcss/lib/warning.js +131 -0
  180. package/templates/facebook/node_modules/postcss/package.json +37 -0
  181. package/templates/facebook/node_modules/postcss-html/LICENSE +21 -0
  182. package/templates/facebook/node_modules/postcss-html/README.md +78 -0
  183. package/templates/facebook/node_modules/postcss-html/extract.js +122 -0
  184. package/templates/facebook/node_modules/postcss-html/index.js +5 -0
  185. package/templates/facebook/node_modules/postcss-html/package.json +63 -0
  186. package/templates/facebook/node_modules/postcss-html/template-parse.js +14 -0
  187. package/templates/facebook/node_modules/postcss-html/template-parser.js +9 -0
  188. package/templates/facebook/node_modules/postcss-html/template-safe-parse.js +14 -0
  189. package/templates/facebook/node_modules/postcss-html/template-safe-parser.js +9 -0
  190. package/templates/facebook/node_modules/postcss-html/template-tokenize.js +49 -0
  191. package/templates/facebook/node_modules/postcss-safe-parser/CHANGELOG.md +51 -0
  192. package/templates/facebook/node_modules/postcss-safe-parser/LICENSE +20 -0
  193. package/templates/facebook/node_modules/postcss-safe-parser/README.md +33 -0
  194. package/templates/facebook/node_modules/postcss-safe-parser/lib/safe-parse.js +13 -0
  195. package/templates/facebook/node_modules/postcss-safe-parser/lib/safe-parser.js +115 -0
  196. package/templates/facebook/node_modules/postcss-safe-parser/package.json +102 -0
  197. package/templates/facebook/node_modules/postcss-syntax/LICENSE +21 -0
  198. package/templates/facebook/node_modules/postcss-syntax/README.md +85 -0
  199. package/templates/facebook/node_modules/postcss-syntax/document.js +41 -0
  200. package/templates/facebook/node_modules/postcss-syntax/get-lang.js +111 -0
  201. package/templates/facebook/node_modules/postcss-syntax/get-syntax.js +63 -0
  202. package/templates/facebook/node_modules/postcss-syntax/index.js +26 -0
  203. package/templates/facebook/node_modules/postcss-syntax/load-syntax.js +23 -0
  204. package/templates/facebook/node_modules/postcss-syntax/normal-opts.js +11 -0
  205. package/templates/facebook/node_modules/postcss-syntax/package.json +102 -0
  206. package/templates/facebook/node_modules/postcss-syntax/parse-style.js +127 -0
  207. package/templates/facebook/node_modules/postcss-syntax/parse.js +34 -0
  208. package/templates/facebook/node_modules/postcss-syntax/parser.js +18 -0
  209. package/templates/facebook/node_modules/postcss-syntax/patch-postcss.js +77 -0
  210. package/templates/facebook/node_modules/postcss-syntax/processor.js +29 -0
  211. package/templates/facebook/node_modules/postcss-syntax/stringify.js +20 -0
  212. package/templates/facebook/node_modules/postcss-syntax/syntax.js +37 -0
  213. package/templates/facebook/node_modules/remark/index.js +7 -0
  214. package/templates/facebook/node_modules/remark/package.json +46 -0
  215. package/templates/facebook/node_modules/remark/readme.md +260 -0
  216. package/templates/facebook/node_modules/remark/types/index.d.ts +19 -0
  217. package/templates/facebook/node_modules/remark-parse/index.js +24 -0
  218. package/templates/facebook/node_modules/remark-parse/package.json +46 -0
  219. package/templates/facebook/node_modules/remark-parse/readme.md +197 -0
  220. package/templates/facebook/node_modules/remark-parse/types/index.d.ts +14 -0
  221. package/templates/facebook/node_modules/remark-stringify/index.js +23 -0
  222. package/templates/facebook/node_modules/remark-stringify/license +22 -0
  223. package/templates/facebook/node_modules/remark-stringify/package.json +46 -0
  224. package/templates/facebook/node_modules/remark-stringify/readme.md +217 -0
  225. package/templates/facebook/node_modules/remark-stringify/types/index.d.ts +14 -0
  226. package/templates/facebook/node_modules/stylelint/CHANGELOG.md +1701 -0
  227. package/templates/facebook/node_modules/stylelint/CONTRIBUTING.md +81 -0
  228. package/templates/facebook/node_modules/stylelint/LICENSE +20 -0
  229. package/templates/facebook/node_modules/stylelint/README.md +48 -0
  230. package/templates/facebook/node_modules/stylelint/bin/stylelint.js +8 -0
  231. package/templates/facebook/node_modules/stylelint/docs/about/linting.md +34 -0
  232. package/templates/facebook/node_modules/stylelint/docs/about/semantic-versioning.md +37 -0
  233. package/templates/facebook/node_modules/stylelint/docs/about/syntaxes.md +18 -0
  234. package/templates/facebook/node_modules/stylelint/docs/about/vision.md +63 -0
  235. package/templates/facebook/node_modules/stylelint/docs/developer-guide/formatters.md +77 -0
  236. package/templates/facebook/node_modules/stylelint/docs/developer-guide/plugins.md +324 -0
  237. package/templates/facebook/node_modules/stylelint/docs/developer-guide/processors.md +28 -0
  238. package/templates/facebook/node_modules/stylelint/docs/developer-guide/rules.md +244 -0
  239. package/templates/facebook/node_modules/stylelint/docs/developer-guide/syntaxes.md +35 -0
  240. package/templates/facebook/node_modules/stylelint/docs/developer-guide/system-tests.md +23 -0
  241. package/templates/facebook/node_modules/stylelint/docs/maintainer-guide/issues.md +94 -0
  242. package/templates/facebook/node_modules/stylelint/docs/maintainer-guide/pull-requests.md +33 -0
  243. package/templates/facebook/node_modules/stylelint/docs/maintainer-guide/releases.md +47 -0
  244. package/templates/facebook/node_modules/stylelint/docs/toc.md +37 -0
  245. package/templates/facebook/node_modules/stylelint/docs/user-guide/configure.md +420 -0
  246. package/templates/facebook/node_modules/stylelint/docs/user-guide/errors.md +29 -0
  247. package/templates/facebook/node_modules/stylelint/docs/user-guide/get-started.md +55 -0
  248. package/templates/facebook/node_modules/stylelint/docs/user-guide/ignore-code.md +88 -0
  249. package/templates/facebook/node_modules/stylelint/docs/user-guide/integrations/editor.md +12 -0
  250. package/templates/facebook/node_modules/stylelint/docs/user-guide/integrations/other.md +19 -0
  251. package/templates/facebook/node_modules/stylelint/docs/user-guide/integrations/task-runner.md +10 -0
  252. package/templates/facebook/node_modules/stylelint/docs/user-guide/rules/about.md +203 -0
  253. package/templates/facebook/node_modules/stylelint/docs/user-guide/rules/combine.md +360 -0
  254. package/templates/facebook/node_modules/stylelint/docs/user-guide/rules/list.md +399 -0
  255. package/templates/facebook/node_modules/stylelint/docs/user-guide/rules/regex.md +29 -0
  256. package/templates/facebook/node_modules/stylelint/docs/user-guide/usage/cli.md +195 -0
  257. package/templates/facebook/node_modules/stylelint/docs/user-guide/usage/node-api.md +169 -0
  258. package/templates/facebook/node_modules/stylelint/docs/user-guide/usage/options.md +208 -0
  259. package/templates/facebook/node_modules/stylelint/docs/user-guide/usage/postcss-plugin.md +84 -0
  260. package/templates/facebook/node_modules/stylelint/lib/assignDisabledRanges.js +407 -0
  261. package/templates/facebook/node_modules/stylelint/lib/augmentConfig.js +359 -0
  262. package/templates/facebook/node_modules/stylelint/lib/cli.js +544 -0
  263. package/templates/facebook/node_modules/stylelint/lib/createPartialStylelintResult.js +103 -0
  264. package/templates/facebook/node_modules/stylelint/lib/createPlugin.js +15 -0
  265. package/templates/facebook/node_modules/stylelint/lib/createStylelint.js +88 -0
  266. package/templates/facebook/node_modules/stylelint/lib/createStylelintResult.js +39 -0
  267. package/templates/facebook/node_modules/stylelint/lib/descriptionlessDisables.js +62 -0
  268. package/templates/facebook/node_modules/stylelint/lib/formatters/compactFormatter.js +20 -0
  269. package/templates/facebook/node_modules/stylelint/lib/formatters/index.js +12 -0
  270. package/templates/facebook/node_modules/stylelint/lib/formatters/jsonFormatter.js +20 -0
  271. package/templates/facebook/node_modules/stylelint/lib/formatters/stringFormatter.js +225 -0
  272. package/templates/facebook/node_modules/stylelint/lib/formatters/tapFormatter.js +39 -0
  273. package/templates/facebook/node_modules/stylelint/lib/formatters/unixFormatter.js +26 -0
  274. package/templates/facebook/node_modules/stylelint/lib/formatters/verboseFormatter.js +61 -0
  275. package/templates/facebook/node_modules/stylelint/lib/getConfigForFile.js +61 -0
  276. package/templates/facebook/node_modules/stylelint/lib/getPostcssResult.js +182 -0
  277. package/templates/facebook/node_modules/stylelint/lib/index.js +33 -0
  278. package/templates/facebook/node_modules/stylelint/lib/invalidScopeDisables.js +50 -0
  279. package/templates/facebook/node_modules/stylelint/lib/isPathIgnored.js +48 -0
  280. package/templates/facebook/node_modules/stylelint/lib/lintPostcssResult.js +134 -0
  281. package/templates/facebook/node_modules/stylelint/lib/lintSource.js +133 -0
  282. package/templates/facebook/node_modules/stylelint/lib/needlessDisables.js +110 -0
  283. package/templates/facebook/node_modules/stylelint/lib/normalizeAllRuleSettings.js +41 -0
  284. package/templates/facebook/node_modules/stylelint/lib/normalizeRuleSettings.js +74 -0
  285. package/templates/facebook/node_modules/stylelint/lib/postcssPlugin.js +25 -0
  286. package/templates/facebook/node_modules/stylelint/lib/prepareReturnValue.js +59 -0
  287. package/templates/facebook/node_modules/stylelint/lib/printConfig.js +58 -0
  288. package/templates/facebook/node_modules/stylelint/lib/reference/keywordSets.js +690 -0
  289. package/templates/facebook/node_modules/stylelint/lib/reference/mathFunctions.js +3 -0
  290. package/templates/facebook/node_modules/stylelint/lib/reference/namedColorData.js +152 -0
  291. package/templates/facebook/node_modules/stylelint/lib/reference/propertySets.js +18 -0
  292. package/templates/facebook/node_modules/stylelint/lib/reference/punctuationSets.js +9 -0
  293. package/templates/facebook/node_modules/stylelint/lib/reference/shorthandData.js +143 -0
  294. package/templates/facebook/node_modules/stylelint/lib/reportDisables.js +62 -0
  295. package/templates/facebook/node_modules/stylelint/lib/reportUnknownRuleNames.js +76 -0
  296. package/templates/facebook/node_modules/stylelint/lib/rules/alpha-value-notation/README.md +110 -0
  297. package/templates/facebook/node_modules/stylelint/lib/rules/alpha-value-notation/index.js +160 -0
  298. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-allowed-list/README.md +65 -0
  299. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-allowed-list/index.js +57 -0
  300. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-blacklist/README.md +52 -0
  301. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-blacklist/index.js +64 -0
  302. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-disallowed-list/README.md +50 -0
  303. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-disallowed-list/index.js +57 -0
  304. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-empty-line-before/README.md +421 -0
  305. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-empty-line-before/index.js +161 -0
  306. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-name-case/README.md +110 -0
  307. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-name-case/index.js +58 -0
  308. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-name-newline-after/README.md +108 -0
  309. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-name-newline-after/index.js +40 -0
  310. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-name-space-after/README.md +117 -0
  311. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-name-space-after/index.js +45 -0
  312. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-no-unknown/README.md +74 -0
  313. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-no-unknown/index.js +67 -0
  314. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-no-vendor-prefix/README.md +40 -0
  315. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-no-vendor-prefix/index.js +58 -0
  316. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-property-required-list/README.md +53 -0
  317. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-property-required-list/index.js +65 -0
  318. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-property-requirelist/README.md +55 -0
  319. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-property-requirelist/index.js +74 -0
  320. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-semicolon-newline-after/README.md +63 -0
  321. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-semicolon-newline-after/index.js +78 -0
  322. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-semicolon-space-before/README.md +50 -0
  323. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-semicolon-space-before/index.js +63 -0
  324. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-whitelist/README.md +67 -0
  325. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-whitelist/index.js +64 -0
  326. package/templates/facebook/node_modules/stylelint/lib/rules/atRuleNameSpaceChecker.js +43 -0
  327. package/templates/facebook/node_modules/stylelint/lib/rules/block-closing-brace-empty-line-before/README.md +238 -0
  328. package/templates/facebook/node_modules/stylelint/lib/rules/block-closing-brace-empty-line-before/index.js +118 -0
  329. package/templates/facebook/node_modules/stylelint/lib/rules/block-closing-brace-newline-after/README.md +196 -0
  330. package/templates/facebook/node_modules/stylelint/lib/rules/block-closing-brace-newline-after/index.js +137 -0
  331. package/templates/facebook/node_modules/stylelint/lib/rules/block-closing-brace-newline-before/README.md +93 -0
  332. package/templates/facebook/node_modules/stylelint/lib/rules/block-closing-brace-newline-before/index.js +117 -0
  333. package/templates/facebook/node_modules/stylelint/lib/rules/block-closing-brace-space-after/README.md +179 -0
  334. package/templates/facebook/node_modules/stylelint/lib/rules/block-closing-brace-space-after/index.js +88 -0
  335. package/templates/facebook/node_modules/stylelint/lib/rules/block-closing-brace-space-before/README.md +174 -0
  336. package/templates/facebook/node_modules/stylelint/lib/rules/block-closing-brace-space-before/index.js +96 -0
  337. package/templates/facebook/node_modules/stylelint/lib/rules/block-no-empty/README.md +75 -0
  338. package/templates/facebook/node_modules/stylelint/lib/rules/block-no-empty/index.js +83 -0
  339. package/templates/facebook/node_modules/stylelint/lib/rules/block-opening-brace-newline-after/README.md +125 -0
  340. package/templates/facebook/node_modules/stylelint/lib/rules/block-opening-brace-newline-after/index.js +145 -0
  341. package/templates/facebook/node_modules/stylelint/lib/rules/block-opening-brace-newline-before/README.md +176 -0
  342. package/templates/facebook/node_modules/stylelint/lib/rules/block-opening-brace-newline-before/index.js +107 -0
  343. package/templates/facebook/node_modules/stylelint/lib/rules/block-opening-brace-space-after/README.md +174 -0
  344. package/templates/facebook/node_modules/stylelint/lib/rules/block-opening-brace-space-after/index.js +88 -0
  345. package/templates/facebook/node_modules/stylelint/lib/rules/block-opening-brace-space-before/README.md +218 -0
  346. package/templates/facebook/node_modules/stylelint/lib/rules/block-opening-brace-space-before/index.js +124 -0
  347. package/templates/facebook/node_modules/stylelint/lib/rules/color-function-notation/README.md +116 -0
  348. package/templates/facebook/node_modules/stylelint/lib/rules/color-function-notation/index.js +108 -0
  349. package/templates/facebook/node_modules/stylelint/lib/rules/color-hex-case/README.md +58 -0
  350. package/templates/facebook/node_modules/stylelint/lib/rules/color-hex-case/index.js +82 -0
  351. package/templates/facebook/node_modules/stylelint/lib/rules/color-hex-length/README.md +73 -0
  352. package/templates/facebook/node_modules/stylelint/lib/rules/color-hex-length/index.js +120 -0
  353. package/templates/facebook/node_modules/stylelint/lib/rules/color-named/README.md +176 -0
  354. package/templates/facebook/node_modules/stylelint/lib/rules/color-named/generateColorFuncs.js +198 -0
  355. package/templates/facebook/node_modules/stylelint/lib/rules/color-named/index.js +169 -0
  356. package/templates/facebook/node_modules/stylelint/lib/rules/color-no-hex/README.md +60 -0
  357. package/templates/facebook/node_modules/stylelint/lib/rules/color-no-hex/index.js +60 -0
  358. package/templates/facebook/node_modules/stylelint/lib/rules/color-no-invalid-hex/README.md +55 -0
  359. package/templates/facebook/node_modules/stylelint/lib/rules/color-no-invalid-hex/index.js +54 -0
  360. package/templates/facebook/node_modules/stylelint/lib/rules/comment-empty-line-before/README.md +195 -0
  361. package/templates/facebook/node_modules/stylelint/lib/rules/comment-empty-line-before/index.js +126 -0
  362. package/templates/facebook/node_modules/stylelint/lib/rules/comment-no-empty/README.md +51 -0
  363. package/templates/facebook/node_modules/stylelint/lib/rules/comment-no-empty/index.js +46 -0
  364. package/templates/facebook/node_modules/stylelint/lib/rules/comment-pattern/README.md +38 -0
  365. package/templates/facebook/node_modules/stylelint/lib/rules/comment-pattern/index.js +48 -0
  366. package/templates/facebook/node_modules/stylelint/lib/rules/comment-whitespace-inside/README.md +99 -0
  367. package/templates/facebook/node_modules/stylelint/lib/rules/comment-whitespace-inside/index.js +117 -0
  368. package/templates/facebook/node_modules/stylelint/lib/rules/comment-word-blacklist/README.md +50 -0
  369. package/templates/facebook/node_modules/stylelint/lib/rules/comment-word-blacklist/index.js +66 -0
  370. package/templates/facebook/node_modules/stylelint/lib/rules/comment-word-disallowed-list/README.md +48 -0
  371. package/templates/facebook/node_modules/stylelint/lib/rules/comment-word-disallowed-list/index.js +59 -0
  372. package/templates/facebook/node_modules/stylelint/lib/rules/custom-media-pattern/README.md +36 -0
  373. package/templates/facebook/node_modules/stylelint/lib/rules/custom-media-pattern/index.js +54 -0
  374. package/templates/facebook/node_modules/stylelint/lib/rules/custom-property-empty-line-before/README.md +272 -0
  375. package/templates/facebook/node_modules/stylelint/lib/rules/custom-property-empty-line-before/index.js +129 -0
  376. package/templates/facebook/node_modules/stylelint/lib/rules/custom-property-pattern/README.md +36 -0
  377. package/templates/facebook/node_modules/stylelint/lib/rules/custom-property-pattern/index.js +53 -0
  378. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-bang-space-after/README.md +72 -0
  379. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-bang-space-after/index.js +82 -0
  380. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-bang-space-before/README.md +67 -0
  381. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-bang-space-before/index.js +83 -0
  382. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-no-duplicate-custom-properties/README.md +40 -0
  383. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-no-duplicate-custom-properties/index.js +61 -0
  384. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-no-duplicate-properties/README.md +143 -0
  385. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-no-duplicate-properties/index.js +121 -0
  386. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-no-redundant-longhand-properties/README.md +197 -0
  387. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-no-redundant-longhand-properties/index.js +99 -0
  388. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-no-shorthand-property-overrides/README.md +69 -0
  389. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-no-shorthand-property-overrides/index.js +61 -0
  390. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-semicolon-newline-after/README.md +141 -0
  391. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-semicolon-newline-after/index.js +95 -0
  392. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-semicolon-newline-before/README.md +120 -0
  393. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-semicolon-newline-before/index.js +62 -0
  394. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-semicolon-space-after/README.md +147 -0
  395. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-semicolon-space-after/index.js +84 -0
  396. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-semicolon-space-before/README.md +130 -0
  397. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-semicolon-space-before/index.js +91 -0
  398. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-single-line-max-declarations/README.md +50 -0
  399. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-single-line-max-declarations/index.js +58 -0
  400. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-trailing-semicolon/README.md +108 -0
  401. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-trailing-semicolon/index.js +123 -0
  402. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-colon-newline-after/README.md +78 -0
  403. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-colon-newline-after/index.js +90 -0
  404. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-colon-space-after/README.md +111 -0
  405. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-colon-space-after/index.js +63 -0
  406. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-colon-space-before/README.md +72 -0
  407. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-colon-space-before/index.js +62 -0
  408. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-empty-line-before/README.md +322 -0
  409. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-empty-line-before/index.js +139 -0
  410. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-no-important/README.md +40 -0
  411. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-no-important/index.js +41 -0
  412. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-property-unit-allowed-list/README.md +119 -0
  413. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-property-unit-allowed-list/index.js +94 -0
  414. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-property-unit-blacklist/README.md +76 -0
  415. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-property-unit-blacklist/index.js +86 -0
  416. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-property-unit-disallowed-list/README.md +74 -0
  417. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-property-unit-disallowed-list/index.js +76 -0
  418. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-property-unit-whitelist/README.md +87 -0
  419. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-property-unit-whitelist/index.js +86 -0
  420. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-property-value-allowed-list/README.md +86 -0
  421. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-property-value-allowed-list/index.js +58 -0
  422. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-property-value-blacklist/README.md +107 -0
  423. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-property-value-blacklist/index.js +68 -0
  424. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-property-value-disallowed-list/README.md +105 -0
  425. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-property-value-disallowed-list/index.js +58 -0
  426. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-property-value-whitelist/README.md +98 -0
  427. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-property-value-whitelist/index.js +68 -0
  428. package/templates/facebook/node_modules/stylelint/lib/rules/declarationBangSpaceChecker.js +43 -0
  429. package/templates/facebook/node_modules/stylelint/lib/rules/declarationColonSpaceChecker.js +48 -0
  430. package/templates/facebook/node_modules/stylelint/lib/rules/findMediaOperator.js +24 -0
  431. package/templates/facebook/node_modules/stylelint/lib/rules/font-family-name-quotes/README.md +163 -0
  432. package/templates/facebook/node_modules/stylelint/lib/rules/font-family-name-quotes/index.js +147 -0
  433. package/templates/facebook/node_modules/stylelint/lib/rules/font-family-no-duplicate-names/README.md +76 -0
  434. package/templates/facebook/node_modules/stylelint/lib/rules/font-family-no-duplicate-names/index.js +103 -0
  435. package/templates/facebook/node_modules/stylelint/lib/rules/font-family-no-missing-generic-family-keyword/README.md +89 -0
  436. package/templates/facebook/node_modules/stylelint/lib/rules/font-family-no-missing-generic-family-keyword/index.js +97 -0
  437. package/templates/facebook/node_modules/stylelint/lib/rules/font-weight-notation/README.md +94 -0
  438. package/templates/facebook/node_modules/stylelint/lib/rules/font-weight-notation/index.js +154 -0
  439. package/templates/facebook/node_modules/stylelint/lib/rules/function-allowed-list/README.md +73 -0
  440. package/templates/facebook/node_modules/stylelint/lib/rules/function-allowed-list/index.js +66 -0
  441. package/templates/facebook/node_modules/stylelint/lib/rules/function-blacklist/README.md +54 -0
  442. package/templates/facebook/node_modules/stylelint/lib/rules/function-blacklist/index.js +71 -0
  443. package/templates/facebook/node_modules/stylelint/lib/rules/function-calc-no-invalid/README.md +96 -0
  444. package/templates/facebook/node_modules/stylelint/lib/rules/function-calc-no-invalid/index.js +259 -0
  445. package/templates/facebook/node_modules/stylelint/lib/rules/function-calc-no-unspaced-operator/README.md +56 -0
  446. package/templates/facebook/node_modules/stylelint/lib/rules/function-calc-no-unspaced-operator/index.js +138 -0
  447. package/templates/facebook/node_modules/stylelint/lib/rules/function-comma-newline-after/README.md +113 -0
  448. package/templates/facebook/node_modules/stylelint/lib/rules/function-comma-newline-after/index.js +55 -0
  449. package/templates/facebook/node_modules/stylelint/lib/rules/function-comma-newline-before/README.md +129 -0
  450. package/templates/facebook/node_modules/stylelint/lib/rules/function-comma-newline-before/index.js +55 -0
  451. package/templates/facebook/node_modules/stylelint/lib/rules/function-comma-space-after/README.md +144 -0
  452. package/templates/facebook/node_modules/stylelint/lib/rules/function-comma-space-after/index.js +56 -0
  453. package/templates/facebook/node_modules/stylelint/lib/rules/function-comma-space-before/README.md +144 -0
  454. package/templates/facebook/node_modules/stylelint/lib/rules/function-comma-space-before/index.js +56 -0
  455. package/templates/facebook/node_modules/stylelint/lib/rules/function-disallowed-list/README.md +52 -0
  456. package/templates/facebook/node_modules/stylelint/lib/rules/function-disallowed-list/index.js +64 -0
  457. package/templates/facebook/node_modules/stylelint/lib/rules/function-linear-gradient-no-nonstandard-direction/README.md +77 -0
  458. package/templates/facebook/node_modules/stylelint/lib/rules/function-linear-gradient-no-nonstandard-direction/index.js +110 -0
  459. package/templates/facebook/node_modules/stylelint/lib/rules/function-max-empty-lines/README.md +78 -0
  460. package/templates/facebook/node_modules/stylelint/lib/rules/function-max-empty-lines/index.js +101 -0
  461. package/templates/facebook/node_modules/stylelint/lib/rules/function-name-case/README.md +181 -0
  462. package/templates/facebook/node_modules/stylelint/lib/rules/function-name-case/index.js +111 -0
  463. package/templates/facebook/node_modules/stylelint/lib/rules/function-parentheses-newline-inside/README.md +144 -0
  464. package/templates/facebook/node_modules/stylelint/lib/rules/function-parentheses-newline-inside/index.js +247 -0
  465. package/templates/facebook/node_modules/stylelint/lib/rules/function-parentheses-space-inside/README.md +140 -0
  466. package/templates/facebook/node_modules/stylelint/lib/rules/function-parentheses-space-inside/index.js +165 -0
  467. package/templates/facebook/node_modules/stylelint/lib/rules/function-url-no-scheme-relative/README.md +50 -0
  468. package/templates/facebook/node_modules/stylelint/lib/rules/function-url-no-scheme-relative/index.js +48 -0
  469. package/templates/facebook/node_modules/stylelint/lib/rules/function-url-quotes/README.md +120 -0
  470. package/templates/facebook/node_modules/stylelint/lib/rules/function-url-quotes/index.js +113 -0
  471. package/templates/facebook/node_modules/stylelint/lib/rules/function-url-scheme-allowed-list/README.md +76 -0
  472. package/templates/facebook/node_modules/stylelint/lib/rules/function-url-scheme-allowed-list/index.js +66 -0
  473. package/templates/facebook/node_modules/stylelint/lib/rules/function-url-scheme-blacklist/README.md +73 -0
  474. package/templates/facebook/node_modules/stylelint/lib/rules/function-url-scheme-blacklist/index.js +76 -0
  475. package/templates/facebook/node_modules/stylelint/lib/rules/function-url-scheme-disallowed-list/README.md +71 -0
  476. package/templates/facebook/node_modules/stylelint/lib/rules/function-url-scheme-disallowed-list/index.js +66 -0
  477. package/templates/facebook/node_modules/stylelint/lib/rules/function-url-scheme-whitelist/README.md +78 -0
  478. package/templates/facebook/node_modules/stylelint/lib/rules/function-url-scheme-whitelist/index.js +76 -0
  479. package/templates/facebook/node_modules/stylelint/lib/rules/function-whitelist/README.md +75 -0
  480. package/templates/facebook/node_modules/stylelint/lib/rules/function-whitelist/index.js +73 -0
  481. package/templates/facebook/node_modules/stylelint/lib/rules/function-whitespace-after/README.md +80 -0
  482. package/templates/facebook/node_modules/stylelint/lib/rules/function-whitespace-after/index.js +167 -0
  483. package/templates/facebook/node_modules/stylelint/lib/rules/functionCommaSpaceChecker.js +109 -0
  484. package/templates/facebook/node_modules/stylelint/lib/rules/functionCommaSpaceFix.js +34 -0
  485. package/templates/facebook/node_modules/stylelint/lib/rules/hue-degree-notation/README.md +74 -0
  486. package/templates/facebook/node_modules/stylelint/lib/rules/hue-degree-notation/index.js +122 -0
  487. package/templates/facebook/node_modules/stylelint/lib/rules/indentation/README.md +338 -0
  488. package/templates/facebook/node_modules/stylelint/lib/rules/indentation/index.js +615 -0
  489. package/templates/facebook/node_modules/stylelint/lib/rules/index.js +401 -0
  490. package/templates/facebook/node_modules/stylelint/lib/rules/keyframe-declaration-no-important/README.md +52 -0
  491. package/templates/facebook/node_modules/stylelint/lib/rules/keyframe-declaration-no-important/index.js +43 -0
  492. package/templates/facebook/node_modules/stylelint/lib/rules/keyframes-name-pattern/README.md +46 -0
  493. package/templates/facebook/node_modules/stylelint/lib/rules/keyframes-name-pattern/index.js +51 -0
  494. package/templates/facebook/node_modules/stylelint/lib/rules/length-zero-no-unit/README.md +69 -0
  495. package/templates/facebook/node_modules/stylelint/lib/rules/length-zero-no-unit/index.js +163 -0
  496. package/templates/facebook/node_modules/stylelint/lib/rules/linebreaks/README.md +21 -0
  497. package/templates/facebook/node_modules/stylelint/lib/rules/linebreaks/index.js +102 -0
  498. package/templates/facebook/node_modules/stylelint/lib/rules/max-empty-lines/README.md +116 -0
  499. package/templates/facebook/node_modules/stylelint/lib/rules/max-empty-lines/index.js +209 -0
  500. package/templates/facebook/node_modules/stylelint/lib/rules/max-line-length/README.md +151 -0
  501. package/templates/facebook/node_modules/stylelint/lib/rules/max-line-length/index.js +183 -0
  502. package/templates/facebook/node_modules/stylelint/lib/rules/max-nesting-depth/README.md +355 -0
  503. package/templates/facebook/node_modules/stylelint/lib/rules/max-nesting-depth/index.js +114 -0
  504. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-colon-space-after/README.md +72 -0
  505. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-colon-space-after/index.js +82 -0
  506. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-colon-space-before/README.md +72 -0
  507. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-colon-space-before/index.js +82 -0
  508. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-name-allowed-list/README.md +64 -0
  509. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-name-allowed-list/index.js +76 -0
  510. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-name-blacklist/README.md +66 -0
  511. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-name-blacklist/index.js +86 -0
  512. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-name-case/README.md +108 -0
  513. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-name-case/index.js +96 -0
  514. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-name-disallowed-list/README.md +64 -0
  515. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-name-disallowed-list/index.js +76 -0
  516. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-name-no-unknown/README.md +94 -0
  517. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-name-no-unknown/index.js +88 -0
  518. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-name-no-vendor-prefix/README.md +47 -0
  519. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-name-no-vendor-prefix/index.js +58 -0
  520. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-name-value-allowed-list/README.md +84 -0
  521. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-name-value-allowed-list/index.js +89 -0
  522. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-name-value-whitelist/README.md +86 -0
  523. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-name-value-whitelist/index.js +99 -0
  524. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-name-whitelist/README.md +66 -0
  525. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-name-whitelist/index.js +86 -0
  526. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-parentheses-space-inside/README.md +62 -0
  527. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-parentheses-space-inside/index.js +106 -0
  528. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-range-operator-space-after/README.md +72 -0
  529. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-range-operator-space-after/index.js +92 -0
  530. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-range-operator-space-before/README.md +72 -0
  531. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-range-operator-space-before/index.js +92 -0
  532. package/templates/facebook/node_modules/stylelint/lib/rules/media-query-list-comma-newline-after/README.md +113 -0
  533. package/templates/facebook/node_modules/stylelint/lib/rules/media-query-list-comma-newline-after/index.js +88 -0
  534. package/templates/facebook/node_modules/stylelint/lib/rules/media-query-list-comma-newline-before/README.md +111 -0
  535. package/templates/facebook/node_modules/stylelint/lib/rules/media-query-list-comma-newline-before/index.js +42 -0
  536. package/templates/facebook/node_modules/stylelint/lib/rules/media-query-list-comma-space-after/README.md +136 -0
  537. package/templates/facebook/node_modules/stylelint/lib/rules/media-query-list-comma-space-after/index.js +84 -0
  538. package/templates/facebook/node_modules/stylelint/lib/rules/media-query-list-comma-space-before/README.md +136 -0
  539. package/templates/facebook/node_modules/stylelint/lib/rules/media-query-list-comma-space-before/index.js +84 -0
  540. package/templates/facebook/node_modules/stylelint/lib/rules/mediaFeatureColonSpaceChecker.js +39 -0
  541. package/templates/facebook/node_modules/stylelint/lib/rules/mediaQueryListCommaWhitespaceChecker.js +54 -0
  542. package/templates/facebook/node_modules/stylelint/lib/rules/named-grid-areas-no-invalid/README.md +50 -0
  543. package/templates/facebook/node_modules/stylelint/lib/rules/named-grid-areas-no-invalid/index.js +80 -0
  544. package/templates/facebook/node_modules/stylelint/lib/rules/named-grid-areas-no-invalid/utils/findNotContiguousOrRectangular.js +61 -0
  545. package/templates/facebook/node_modules/stylelint/lib/rules/named-grid-areas-no-invalid/utils/isRectangular.js +12 -0
  546. package/templates/facebook/node_modules/stylelint/lib/rules/no-descending-specificity/README.md +166 -0
  547. package/templates/facebook/node_modules/stylelint/lib/rules/no-descending-specificity/index.js +146 -0
  548. package/templates/facebook/node_modules/stylelint/lib/rules/no-duplicate-at-import-rules/README.md +56 -0
  549. package/templates/facebook/node_modules/stylelint/lib/rules/no-duplicate-at-import-rules/index.js +68 -0
  550. package/templates/facebook/node_modules/stylelint/lib/rules/no-duplicate-selectors/README.md +136 -0
  551. package/templates/facebook/node_modules/stylelint/lib/rules/no-duplicate-selectors/index.js +149 -0
  552. package/templates/facebook/node_modules/stylelint/lib/rules/no-empty-first-line/README.md +34 -0
  553. package/templates/facebook/node_modules/stylelint/lib/rules/no-empty-first-line/index.js +49 -0
  554. package/templates/facebook/node_modules/stylelint/lib/rules/no-empty-source/README.md +45 -0
  555. package/templates/facebook/node_modules/stylelint/lib/rules/no-empty-source/index.js +40 -0
  556. package/templates/facebook/node_modules/stylelint/lib/rules/no-eol-whitespace/README.md +79 -0
  557. package/templates/facebook/node_modules/stylelint/lib/rules/no-eol-whitespace/index.js +260 -0
  558. package/templates/facebook/node_modules/stylelint/lib/rules/no-extra-semicolons/README.md +78 -0
  559. package/templates/facebook/node_modules/stylelint/lib/rules/no-extra-semicolons/index.js +243 -0
  560. package/templates/facebook/node_modules/stylelint/lib/rules/no-invalid-double-slash-comments/README.md +54 -0
  561. package/templates/facebook/node_modules/stylelint/lib/rules/no-invalid-double-slash-comments/index.js +51 -0
  562. package/templates/facebook/node_modules/stylelint/lib/rules/no-invalid-position-at-import-rule/README.md +51 -0
  563. package/templates/facebook/node_modules/stylelint/lib/rules/no-invalid-position-at-import-rule/index.js +58 -0
  564. package/templates/facebook/node_modules/stylelint/lib/rules/no-irregular-whitespace/README.md +57 -0
  565. package/templates/facebook/node_modules/stylelint/lib/rules/no-irregular-whitespace/index.js +134 -0
  566. package/templates/facebook/node_modules/stylelint/lib/rules/no-missing-end-of-source-newline/README.md +34 -0
  567. package/templates/facebook/node_modules/stylelint/lib/rules/no-missing-end-of-source-newline/index.js +52 -0
  568. package/templates/facebook/node_modules/stylelint/lib/rules/no-unknown-animations/README.md +76 -0
  569. package/templates/facebook/node_modules/stylelint/lib/rules/no-unknown-animations/index.js +64 -0
  570. package/templates/facebook/node_modules/stylelint/lib/rules/number-leading-zero/README.md +74 -0
  571. package/templates/facebook/node_modules/stylelint/lib/rules/number-leading-zero/index.js +163 -0
  572. package/templates/facebook/node_modules/stylelint/lib/rules/number-max-precision/README.md +107 -0
  573. package/templates/facebook/node_modules/stylelint/lib/rules/number-max-precision/index.js +101 -0
  574. package/templates/facebook/node_modules/stylelint/lib/rules/number-no-trailing-zeros/README.md +40 -0
  575. package/templates/facebook/node_modules/stylelint/lib/rules/number-no-trailing-zeros/index.js +119 -0
  576. package/templates/facebook/node_modules/stylelint/lib/rules/property-allowed-list/README.md +75 -0
  577. package/templates/facebook/node_modules/stylelint/lib/rules/property-allowed-list/index.js +60 -0
  578. package/templates/facebook/node_modules/stylelint/lib/rules/property-blacklist/README.md +66 -0
  579. package/templates/facebook/node_modules/stylelint/lib/rules/property-blacklist/index.js +67 -0
  580. package/templates/facebook/node_modules/stylelint/lib/rules/property-case/README.md +168 -0
  581. package/templates/facebook/node_modules/stylelint/lib/rules/property-case/index.js +63 -0
  582. package/templates/facebook/node_modules/stylelint/lib/rules/property-disallowed-list/README.md +64 -0
  583. package/templates/facebook/node_modules/stylelint/lib/rules/property-disallowed-list/index.js +60 -0
  584. package/templates/facebook/node_modules/stylelint/lib/rules/property-no-unknown/README.md +187 -0
  585. package/templates/facebook/node_modules/stylelint/lib/rules/property-no-unknown/index.js +107 -0
  586. package/templates/facebook/node_modules/stylelint/lib/rules/property-no-vendor-prefix/README.md +70 -0
  587. package/templates/facebook/node_modules/stylelint/lib/rules/property-no-vendor-prefix/index.js +76 -0
  588. package/templates/facebook/node_modules/stylelint/lib/rules/property-whitelist/README.md +77 -0
  589. package/templates/facebook/node_modules/stylelint/lib/rules/property-whitelist/index.js +67 -0
  590. package/templates/facebook/node_modules/stylelint/lib/rules/rangeContextNodeParser.js +65 -0
  591. package/templates/facebook/node_modules/stylelint/lib/rules/rule-empty-line-before/README.md +326 -0
  592. package/templates/facebook/node_modules/stylelint/lib/rules/rule-empty-line-before/index.js +145 -0
  593. package/templates/facebook/node_modules/stylelint/lib/rules/selector-attribute-brackets-space-inside/README.md +112 -0
  594. package/templates/facebook/node_modules/stylelint/lib/rules/selector-attribute-brackets-space-inside/index.js +182 -0
  595. package/templates/facebook/node_modules/stylelint/lib/rules/selector-attribute-name-disallowed-list/README.md +54 -0
  596. package/templates/facebook/node_modules/stylelint/lib/rules/selector-attribute-name-disallowed-list/index.js +66 -0
  597. package/templates/facebook/node_modules/stylelint/lib/rules/selector-attribute-operator-allowed-list/README.md +54 -0
  598. package/templates/facebook/node_modules/stylelint/lib/rules/selector-attribute-operator-allowed-list/index.js +65 -0
  599. package/templates/facebook/node_modules/stylelint/lib/rules/selector-attribute-operator-blacklist/README.md +46 -0
  600. package/templates/facebook/node_modules/stylelint/lib/rules/selector-attribute-operator-blacklist/index.js +75 -0
  601. package/templates/facebook/node_modules/stylelint/lib/rules/selector-attribute-operator-disallowed-list/README.md +44 -0
  602. package/templates/facebook/node_modules/stylelint/lib/rules/selector-attribute-operator-disallowed-list/index.js +65 -0
  603. package/templates/facebook/node_modules/stylelint/lib/rules/selector-attribute-operator-space-after/README.md +162 -0
  604. package/templates/facebook/node_modules/stylelint/lib/rules/selector-attribute-operator-space-after/index.js +89 -0
  605. package/templates/facebook/node_modules/stylelint/lib/rules/selector-attribute-operator-space-before/README.md +162 -0
  606. package/templates/facebook/node_modules/stylelint/lib/rules/selector-attribute-operator-space-before/index.js +73 -0
  607. package/templates/facebook/node_modules/stylelint/lib/rules/selector-attribute-operator-whitelist/README.md +56 -0
  608. package/templates/facebook/node_modules/stylelint/lib/rules/selector-attribute-operator-whitelist/index.js +75 -0
  609. package/templates/facebook/node_modules/stylelint/lib/rules/selector-attribute-quotes/README.md +102 -0
  610. package/templates/facebook/node_modules/stylelint/lib/rules/selector-attribute-quotes/index.js +94 -0
  611. package/templates/facebook/node_modules/stylelint/lib/rules/selector-class-pattern/README.md +100 -0
  612. package/templates/facebook/node_modules/stylelint/lib/rules/selector-class-pattern/index.js +121 -0
  613. package/templates/facebook/node_modules/stylelint/lib/rules/selector-combinator-allowed-list/README.md +54 -0
  614. package/templates/facebook/node_modules/stylelint/lib/rules/selector-combinator-allowed-list/index.js +70 -0
  615. package/templates/facebook/node_modules/stylelint/lib/rules/selector-combinator-blacklist/README.md +56 -0
  616. package/templates/facebook/node_modules/stylelint/lib/rules/selector-combinator-blacklist/index.js +80 -0
  617. package/templates/facebook/node_modules/stylelint/lib/rules/selector-combinator-disallowed-list/README.md +54 -0
  618. package/templates/facebook/node_modules/stylelint/lib/rules/selector-combinator-disallowed-list/index.js +70 -0
  619. package/templates/facebook/node_modules/stylelint/lib/rules/selector-combinator-space-after/README.md +78 -0
  620. package/templates/facebook/node_modules/stylelint/lib/rules/selector-combinator-space-after/index.js +57 -0
  621. package/templates/facebook/node_modules/stylelint/lib/rules/selector-combinator-space-before/README.md +78 -0
  622. package/templates/facebook/node_modules/stylelint/lib/rules/selector-combinator-space-before/index.js +57 -0
  623. package/templates/facebook/node_modules/stylelint/lib/rules/selector-combinator-whitelist/README.md +56 -0
  624. package/templates/facebook/node_modules/stylelint/lib/rules/selector-combinator-whitelist/index.js +80 -0
  625. package/templates/facebook/node_modules/stylelint/lib/rules/selector-descendant-combinator-no-non-space/README.md +40 -0
  626. package/templates/facebook/node_modules/stylelint/lib/rules/selector-descendant-combinator-no-non-space/index.js +86 -0
  627. package/templates/facebook/node_modules/stylelint/lib/rules/selector-disallowed-list/README.md +68 -0
  628. package/templates/facebook/node_modules/stylelint/lib/rules/selector-disallowed-list/index.js +56 -0
  629. package/templates/facebook/node_modules/stylelint/lib/rules/selector-id-pattern/README.md +63 -0
  630. package/templates/facebook/node_modules/stylelint/lib/rules/selector-id-pattern/index.js +67 -0
  631. package/templates/facebook/node_modules/stylelint/lib/rules/selector-list-comma-newline-after/README.md +120 -0
  632. package/templates/facebook/node_modules/stylelint/lib/rules/selector-list-comma-newline-after/index.js +117 -0
  633. package/templates/facebook/node_modules/stylelint/lib/rules/selector-list-comma-newline-before/README.md +112 -0
  634. package/templates/facebook/node_modules/stylelint/lib/rules/selector-list-comma-newline-before/index.js +91 -0
  635. package/templates/facebook/node_modules/stylelint/lib/rules/selector-list-comma-space-after/README.md +110 -0
  636. package/templates/facebook/node_modules/stylelint/lib/rules/selector-list-comma-space-after/index.js +83 -0
  637. package/templates/facebook/node_modules/stylelint/lib/rules/selector-list-comma-space-before/README.md +110 -0
  638. package/templates/facebook/node_modules/stylelint/lib/rules/selector-list-comma-space-before/index.js +83 -0
  639. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-attribute/README.md +113 -0
  640. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-attribute/index.js +96 -0
  641. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-class/README.md +58 -0
  642. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-class/index.js +71 -0
  643. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-combinators/README.md +72 -0
  644. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-combinators/index.js +72 -0
  645. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-compound-selectors/README.md +59 -0
  646. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-compound-selectors/index.js +79 -0
  647. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-empty-lines/README.md +103 -0
  648. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-empty-lines/index.js +65 -0
  649. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-id/README.md +105 -0
  650. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-id/index.js +95 -0
  651. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-pseudo-class/README.md +50 -0
  652. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-pseudo-class/index.js +85 -0
  653. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-specificity/README.md +138 -0
  654. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-specificity/index.js +182 -0
  655. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-type/README.md +179 -0
  656. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-type/index.js +176 -0
  657. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-universal/README.md +76 -0
  658. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-universal/index.js +84 -0
  659. package/templates/facebook/node_modules/stylelint/lib/rules/selector-nested-pattern/README.md +77 -0
  660. package/templates/facebook/node_modules/stylelint/lib/rules/selector-nested-pattern/index.js +58 -0
  661. package/templates/facebook/node_modules/stylelint/lib/rules/selector-no-qualifying-type/README.md +105 -0
  662. package/templates/facebook/node_modules/stylelint/lib/rules/selector-no-qualifying-type/index.js +134 -0
  663. package/templates/facebook/node_modules/stylelint/lib/rules/selector-no-vendor-prefix/README.md +67 -0
  664. package/templates/facebook/node_modules/stylelint/lib/rules/selector-no-vendor-prefix/index.js +75 -0
  665. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-class-allowed-list/README.md +53 -0
  666. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-class-allowed-list/index.js +74 -0
  667. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-class-blacklist/README.md +55 -0
  668. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-class-blacklist/index.js +85 -0
  669. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-class-case/README.md +108 -0
  670. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-class-case/index.js +97 -0
  671. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-class-disallowed-list/README.md +53 -0
  672. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-class-disallowed-list/index.js +75 -0
  673. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-class-no-unknown/README.md +84 -0
  674. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-class-no-unknown/index.js +157 -0
  675. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-class-parentheses-space-inside/README.md +62 -0
  676. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-class-parentheses-space-inside/index.js +141 -0
  677. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-class-whitelist/README.md +55 -0
  678. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-class-whitelist/index.js +84 -0
  679. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-element-allowed-list/README.md +54 -0
  680. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-element-allowed-list/index.js +74 -0
  681. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-element-blacklist/README.md +56 -0
  682. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-element-blacklist/index.js +84 -0
  683. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-element-case/README.md +128 -0
  684. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-element-case/index.js +84 -0
  685. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-element-colon-notation/README.md +136 -0
  686. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-element-colon-notation/index.js +94 -0
  687. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-element-disallowed-list/README.md +54 -0
  688. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-element-disallowed-list/index.js +74 -0
  689. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-element-no-unknown/README.md +84 -0
  690. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-element-no-unknown/index.js +92 -0
  691. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-element-whitelist/README.md +56 -0
  692. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-element-whitelist/index.js +84 -0
  693. package/templates/facebook/node_modules/stylelint/lib/rules/selector-type-case/README.md +91 -0
  694. package/templates/facebook/node_modules/stylelint/lib/rules/selector-type-case/index.js +107 -0
  695. package/templates/facebook/node_modules/stylelint/lib/rules/selector-type-no-unknown/README.md +140 -0
  696. package/templates/facebook/node_modules/stylelint/lib/rules/selector-type-no-unknown/index.js +115 -0
  697. package/templates/facebook/node_modules/stylelint/lib/rules/selectorAttributeOperatorSpaceChecker.js +74 -0
  698. package/templates/facebook/node_modules/stylelint/lib/rules/selectorCombinatorSpaceChecker.js +87 -0
  699. package/templates/facebook/node_modules/stylelint/lib/rules/selectorListCommaWhitespaceChecker.js +48 -0
  700. package/templates/facebook/node_modules/stylelint/lib/rules/shorthand-property-no-redundant-values/README.md +75 -0
  701. package/templates/facebook/node_modules/stylelint/lib/rules/shorthand-property-no-redundant-values/index.js +137 -0
  702. package/templates/facebook/node_modules/stylelint/lib/rules/string-no-newline/README.md +73 -0
  703. package/templates/facebook/node_modules/stylelint/lib/rules/string-no-newline/index.js +115 -0
  704. package/templates/facebook/node_modules/stylelint/lib/rules/string-quotes/README.md +130 -0
  705. package/templates/facebook/node_modules/stylelint/lib/rules/string-quotes/index.js +221 -0
  706. package/templates/facebook/node_modules/stylelint/lib/rules/time-min-milliseconds/README.md +77 -0
  707. package/templates/facebook/node_modules/stylelint/lib/rules/time-min-milliseconds/index.js +142 -0
  708. package/templates/facebook/node_modules/stylelint/lib/rules/unicode-bom/README.md +41 -0
  709. package/templates/facebook/node_modules/stylelint/lib/rules/unicode-bom/index.js +59 -0
  710. package/templates/facebook/node_modules/stylelint/lib/rules/unit-allowed-list/README.md +115 -0
  711. package/templates/facebook/node_modules/stylelint/lib/rules/unit-allowed-list/index.js +85 -0
  712. package/templates/facebook/node_modules/stylelint/lib/rules/unit-blacklist/README.md +161 -0
  713. package/templates/facebook/node_modules/stylelint/lib/rules/unit-blacklist/index.js +132 -0
  714. package/templates/facebook/node_modules/stylelint/lib/rules/unit-case/README.md +126 -0
  715. package/templates/facebook/node_modules/stylelint/lib/rules/unit-case/index.js +114 -0
  716. package/templates/facebook/node_modules/stylelint/lib/rules/unit-disallowed-list/README.md +159 -0
  717. package/templates/facebook/node_modules/stylelint/lib/rules/unit-disallowed-list/index.js +125 -0
  718. package/templates/facebook/node_modules/stylelint/lib/rules/unit-no-unknown/README.md +138 -0
  719. package/templates/facebook/node_modules/stylelint/lib/rules/unit-no-unknown/index.js +158 -0
  720. package/templates/facebook/node_modules/stylelint/lib/rules/unit-whitelist/README.md +117 -0
  721. package/templates/facebook/node_modules/stylelint/lib/rules/unit-whitelist/index.js +92 -0
  722. package/templates/facebook/node_modules/stylelint/lib/rules/value-keyword-case/README.md +320 -0
  723. package/templates/facebook/node_modules/stylelint/lib/rules/value-keyword-case/index.js +236 -0
  724. package/templates/facebook/node_modules/stylelint/lib/rules/value-list-comma-newline-after/README.md +102 -0
  725. package/templates/facebook/node_modules/stylelint/lib/rules/value-list-comma-newline-after/index.js +100 -0
  726. package/templates/facebook/node_modules/stylelint/lib/rules/value-list-comma-newline-before/README.md +100 -0
  727. package/templates/facebook/node_modules/stylelint/lib/rules/value-list-comma-newline-before/index.js +42 -0
  728. package/templates/facebook/node_modules/stylelint/lib/rules/value-list-comma-space-after/README.md +136 -0
  729. package/templates/facebook/node_modules/stylelint/lib/rules/value-list-comma-space-after/index.js +86 -0
  730. package/templates/facebook/node_modules/stylelint/lib/rules/value-list-comma-space-before/README.md +136 -0
  731. package/templates/facebook/node_modules/stylelint/lib/rules/value-list-comma-space-before/index.js +86 -0
  732. package/templates/facebook/node_modules/stylelint/lib/rules/value-list-max-empty-lines/README.md +121 -0
  733. package/templates/facebook/node_modules/stylelint/lib/rules/value-list-max-empty-lines/index.js +60 -0
  734. package/templates/facebook/node_modules/stylelint/lib/rules/value-no-vendor-prefix/README.md +74 -0
  735. package/templates/facebook/node_modules/stylelint/lib/rules/value-no-vendor-prefix/index.js +90 -0
  736. package/templates/facebook/node_modules/stylelint/lib/rules/valueListCommaWhitespaceChecker.js +57 -0
  737. package/templates/facebook/node_modules/stylelint/lib/standalone.js +334 -0
  738. package/templates/facebook/node_modules/stylelint/lib/syntaxes/index.js +16 -0
  739. package/templates/facebook/node_modules/stylelint/lib/syntaxes/syntax-css-in-js.js +3 -0
  740. package/templates/facebook/node_modules/stylelint/lib/syntaxes/syntax-html.js +8 -0
  741. package/templates/facebook/node_modules/stylelint/lib/syntaxes/syntax-less.js +3 -0
  742. package/templates/facebook/node_modules/stylelint/lib/syntaxes/syntax-markdown.js +8 -0
  743. package/templates/facebook/node_modules/stylelint/lib/syntaxes/syntax-sass.js +3 -0
  744. package/templates/facebook/node_modules/stylelint/lib/syntaxes/syntax-scss.js +3 -0
  745. package/templates/facebook/node_modules/stylelint/lib/syntaxes/syntax-sugarss.js +3 -0
  746. package/templates/facebook/node_modules/stylelint/lib/utils/FileCache.js +68 -0
  747. package/templates/facebook/node_modules/stylelint/lib/utils/addEmptyLineAfter.js +30 -0
  748. package/templates/facebook/node_modules/stylelint/lib/utils/addEmptyLineBefore.js +26 -0
  749. package/templates/facebook/node_modules/stylelint/lib/utils/atRuleParamIndex.js +16 -0
  750. package/templates/facebook/node_modules/stylelint/lib/utils/beforeBlockString.js +54 -0
  751. package/templates/facebook/node_modules/stylelint/lib/utils/blockString.js +25 -0
  752. package/templates/facebook/node_modules/stylelint/lib/utils/blurComments.js +10 -0
  753. package/templates/facebook/node_modules/stylelint/lib/utils/blurFunctionArguments.js +53 -0
  754. package/templates/facebook/node_modules/stylelint/lib/utils/blurInterpolation.js +10 -0
  755. package/templates/facebook/node_modules/stylelint/lib/utils/checkAgainstRule.js +52 -0
  756. package/templates/facebook/node_modules/stylelint/lib/utils/checkInvalidCLIOptions.js +92 -0
  757. package/templates/facebook/node_modules/stylelint/lib/utils/configurationError.js +15 -0
  758. package/templates/facebook/node_modules/stylelint/lib/utils/containsString.js +56 -0
  759. package/templates/facebook/node_modules/stylelint/lib/utils/declarationValueIndex.js +26 -0
  760. package/templates/facebook/node_modules/stylelint/lib/utils/eachDeclarationBlock.js +59 -0
  761. package/templates/facebook/node_modules/stylelint/lib/utils/filterFilePaths.js +19 -0
  762. package/templates/facebook/node_modules/stylelint/lib/utils/findAnimationName.js +69 -0
  763. package/templates/facebook/node_modules/stylelint/lib/utils/findAtRuleContext.js +23 -0
  764. package/templates/facebook/node_modules/stylelint/lib/utils/findFontFamily.js +128 -0
  765. package/templates/facebook/node_modules/stylelint/lib/utils/findListStyleType.js +60 -0
  766. package/templates/facebook/node_modules/stylelint/lib/utils/functionArgumentsSearch.js +41 -0
  767. package/templates/facebook/node_modules/stylelint/lib/utils/getAtRuleParams.js +11 -0
  768. package/templates/facebook/node_modules/stylelint/lib/utils/getCacheFile.js +52 -0
  769. package/templates/facebook/node_modules/stylelint/lib/utils/getDeclarationValue.js +11 -0
  770. package/templates/facebook/node_modules/stylelint/lib/utils/getFileIgnorer.js +34 -0
  771. package/templates/facebook/node_modules/stylelint/lib/utils/getFormatterOptionsText.js +19 -0
  772. package/templates/facebook/node_modules/stylelint/lib/utils/getModulePath.js +31 -0
  773. package/templates/facebook/node_modules/stylelint/lib/utils/getNextNonSharedLineCommentNode.js +38 -0
  774. package/templates/facebook/node_modules/stylelint/lib/utils/getOsEol.js +11 -0
  775. package/templates/facebook/node_modules/stylelint/lib/utils/getPreviousNonSharedLineCommentNode.js +40 -0
  776. package/templates/facebook/node_modules/stylelint/lib/utils/getRuleSelector.js +13 -0
  777. package/templates/facebook/node_modules/stylelint/lib/utils/getSchemeFromUrl.js +39 -0
  778. package/templates/facebook/node_modules/stylelint/lib/utils/getUnitFromValueNode.js +49 -0
  779. package/templates/facebook/node_modules/stylelint/lib/utils/hasBlock.js +11 -0
  780. package/templates/facebook/node_modules/stylelint/lib/utils/hasEmptyBlock.js +13 -0
  781. package/templates/facebook/node_modules/stylelint/lib/utils/hasEmptyLine.js +14 -0
  782. package/templates/facebook/node_modules/stylelint/lib/utils/hasInterpolation.js +26 -0
  783. package/templates/facebook/node_modules/stylelint/lib/utils/hasLessInterpolation.js +11 -0
  784. package/templates/facebook/node_modules/stylelint/lib/utils/hasPsvInterpolation.js +10 -0
  785. package/templates/facebook/node_modules/stylelint/lib/utils/hasScssInterpolation.js +10 -0
  786. package/templates/facebook/node_modules/stylelint/lib/utils/hasTplInterpolation.js +11 -0
  787. package/templates/facebook/node_modules/stylelint/lib/utils/hash.js +12 -0
  788. package/templates/facebook/node_modules/stylelint/lib/utils/isAfterComment.js +16 -0
  789. package/templates/facebook/node_modules/stylelint/lib/utils/isAfterSingleLineComment.js +22 -0
  790. package/templates/facebook/node_modules/stylelint/lib/utils/isAfterStandardPropertyDeclaration.js +20 -0
  791. package/templates/facebook/node_modules/stylelint/lib/utils/isAutoprefixable.js +86 -0
  792. package/templates/facebook/node_modules/stylelint/lib/utils/isBlocklessAtRuleAfterBlocklessAtRule.js +22 -0
  793. package/templates/facebook/node_modules/stylelint/lib/utils/isBlocklessAtRuleAfterSameNameBlocklessAtRule.js +19 -0
  794. package/templates/facebook/node_modules/stylelint/lib/utils/isContextFunctionalPseudoClass.js +23 -0
  795. package/templates/facebook/node_modules/stylelint/lib/utils/isCounterIncrementCustomIdentValue.js +21 -0
  796. package/templates/facebook/node_modules/stylelint/lib/utils/isCounterResetCustomIdentValue.js +21 -0
  797. package/templates/facebook/node_modules/stylelint/lib/utils/isCustomElement.js +46 -0
  798. package/templates/facebook/node_modules/stylelint/lib/utils/isCustomMediaQuery.js +10 -0
  799. package/templates/facebook/node_modules/stylelint/lib/utils/isCustomProperty.js +10 -0
  800. package/templates/facebook/node_modules/stylelint/lib/utils/isCustomPropertySet.js +18 -0
  801. package/templates/facebook/node_modules/stylelint/lib/utils/isCustomSelector.js +11 -0
  802. package/templates/facebook/node_modules/stylelint/lib/utils/isFirstNested.js +67 -0
  803. package/templates/facebook/node_modules/stylelint/lib/utils/isFirstNodeOfRoot.js +15 -0
  804. package/templates/facebook/node_modules/stylelint/lib/utils/isKeyframeRule.js +13 -0
  805. package/templates/facebook/node_modules/stylelint/lib/utils/isKeyframeSelector.js +22 -0
  806. package/templates/facebook/node_modules/stylelint/lib/utils/isLessVariable.js +14 -0
  807. package/templates/facebook/node_modules/stylelint/lib/utils/isMap.js +44 -0
  808. package/templates/facebook/node_modules/stylelint/lib/utils/isMathFunction.js +13 -0
  809. package/templates/facebook/node_modules/stylelint/lib/utils/isNonNegativeInteger.js +17 -0
  810. package/templates/facebook/node_modules/stylelint/lib/utils/isNumbery.js +13 -0
  811. package/templates/facebook/node_modules/stylelint/lib/utils/isOnlyWhitespace.js +22 -0
  812. package/templates/facebook/node_modules/stylelint/lib/utils/isRangeContextMediaFeature.js +11 -0
  813. package/templates/facebook/node_modules/stylelint/lib/utils/isScssVariable.js +21 -0
  814. package/templates/facebook/node_modules/stylelint/lib/utils/isSharedLineComment.js +53 -0
  815. package/templates/facebook/node_modules/stylelint/lib/utils/isSingleLineString.js +12 -0
  816. package/templates/facebook/node_modules/stylelint/lib/utils/isStandardSyntaxAtRule.js +29 -0
  817. package/templates/facebook/node_modules/stylelint/lib/utils/isStandardSyntaxCombinator.js +34 -0
  818. package/templates/facebook/node_modules/stylelint/lib/utils/isStandardSyntaxDeclaration.js +61 -0
  819. package/templates/facebook/node_modules/stylelint/lib/utils/isStandardSyntaxFunction.js +16 -0
  820. package/templates/facebook/node_modules/stylelint/lib/utils/isStandardSyntaxMathFunction.js +21 -0
  821. package/templates/facebook/node_modules/stylelint/lib/utils/isStandardSyntaxMediaFeature.js +26 -0
  822. package/templates/facebook/node_modules/stylelint/lib/utils/isStandardSyntaxMediaFeatureName.js +16 -0
  823. package/templates/facebook/node_modules/stylelint/lib/utils/isStandardSyntaxProperty.js +34 -0
  824. package/templates/facebook/node_modules/stylelint/lib/utils/isStandardSyntaxRule.js +69 -0
  825. package/templates/facebook/node_modules/stylelint/lib/utils/isStandardSyntaxSelector.js +38 -0
  826. package/templates/facebook/node_modules/stylelint/lib/utils/isStandardSyntaxTypeSelector.js +53 -0
  827. package/templates/facebook/node_modules/stylelint/lib/utils/isStandardSyntaxUrl.js +48 -0
  828. package/templates/facebook/node_modules/stylelint/lib/utils/isStandardSyntaxValue.js +47 -0
  829. package/templates/facebook/node_modules/stylelint/lib/utils/isValidFontSize.js +38 -0
  830. package/templates/facebook/node_modules/stylelint/lib/utils/isValidHex.js +11 -0
  831. package/templates/facebook/node_modules/stylelint/lib/utils/isVariable.js +11 -0
  832. package/templates/facebook/node_modules/stylelint/lib/utils/isWhitespace.js +11 -0
  833. package/templates/facebook/node_modules/stylelint/lib/utils/matchesStringOrRegExp.js +85 -0
  834. package/templates/facebook/node_modules/stylelint/lib/utils/nextNonCommentNode.js +20 -0
  835. package/templates/facebook/node_modules/stylelint/lib/utils/noFilesFoundError.js +20 -0
  836. package/templates/facebook/node_modules/stylelint/lib/utils/nodeContextLookup.js +43 -0
  837. package/templates/facebook/node_modules/stylelint/lib/utils/optionsMatches.js +22 -0
  838. package/templates/facebook/node_modules/stylelint/lib/utils/parseCalcExpression/index.js +15 -0
  839. package/templates/facebook/node_modules/stylelint/lib/utils/parseCalcExpression/parser.jison +172 -0
  840. package/templates/facebook/node_modules/stylelint/lib/utils/parseCalcExpression/parser.js +3929 -0
  841. package/templates/facebook/node_modules/stylelint/lib/utils/parseSelector.js +18 -0
  842. package/templates/facebook/node_modules/stylelint/lib/utils/putIfAbsent.js +22 -0
  843. package/templates/facebook/node_modules/stylelint/lib/utils/rawNodeString.js +20 -0
  844. package/templates/facebook/node_modules/stylelint/lib/utils/removeEmptyLinesAfter.js +15 -0
  845. package/templates/facebook/node_modules/stylelint/lib/utils/removeEmptyLinesBefore.js +15 -0
  846. package/templates/facebook/node_modules/stylelint/lib/utils/report.js +113 -0
  847. package/templates/facebook/node_modules/stylelint/lib/utils/ruleMessages.js +35 -0
  848. package/templates/facebook/node_modules/stylelint/lib/utils/setAtRuleParams.js +20 -0
  849. package/templates/facebook/node_modules/stylelint/lib/utils/setDeclarationValue.js +23 -0
  850. package/templates/facebook/node_modules/stylelint/lib/utils/transformSelector.js +17 -0
  851. package/templates/facebook/node_modules/stylelint/lib/utils/typeGuards.js +44 -0
  852. package/templates/facebook/node_modules/stylelint/lib/utils/validateObjectWithArrayProps.js +41 -0
  853. package/templates/facebook/node_modules/stylelint/lib/utils/validateOptions.js +169 -0
  854. package/templates/facebook/node_modules/stylelint/lib/utils/vendor.js +45 -0
  855. package/templates/facebook/node_modules/stylelint/lib/utils/whitespaceChecker.js +370 -0
  856. package/templates/facebook/node_modules/stylelint/lib/validateDisableSettings.js +79 -0
  857. package/templates/facebook/node_modules/stylelint/lib/writeOutputFile.js +13 -0
  858. package/templates/facebook/node_modules/stylelint/package.json +197 -0
  859. package/templates/facebook/node_modules/type-fest/index.d.ts +35 -0
  860. package/templates/facebook/node_modules/type-fest/license +9 -0
  861. package/templates/facebook/node_modules/type-fest/package.json +45 -0
  862. package/templates/facebook/node_modules/type-fest/readme.md +648 -0
  863. package/templates/facebook/node_modules/type-fest/source/async-return-type.d.ts +23 -0
  864. package/templates/facebook/node_modules/type-fest/source/asyncify.d.ts +31 -0
  865. package/templates/facebook/node_modules/type-fest/source/basic.d.ts +67 -0
  866. package/templates/facebook/node_modules/type-fest/source/conditional-except.d.ts +43 -0
  867. package/templates/facebook/node_modules/type-fest/source/conditional-keys.d.ts +43 -0
  868. package/templates/facebook/node_modules/type-fest/source/conditional-pick.d.ts +42 -0
  869. package/templates/facebook/node_modules/type-fest/source/entries.d.ts +57 -0
  870. package/templates/facebook/node_modules/type-fest/source/entry.d.ts +60 -0
  871. package/templates/facebook/node_modules/type-fest/source/except.d.ts +22 -0
  872. package/templates/facebook/node_modules/type-fest/source/fixed-length-array.d.ts +38 -0
  873. package/templates/facebook/node_modules/type-fest/source/iterable-element.d.ts +46 -0
  874. package/templates/facebook/node_modules/type-fest/source/literal-union.d.ts +33 -0
  875. package/templates/facebook/node_modules/type-fest/source/merge-exclusive.d.ts +39 -0
  876. package/templates/facebook/node_modules/type-fest/source/merge.d.ts +22 -0
  877. package/templates/facebook/node_modules/type-fest/source/mutable.d.ts +22 -0
  878. package/templates/facebook/node_modules/type-fest/source/opaque.d.ts +65 -0
  879. package/templates/facebook/node_modules/type-fest/source/package-json.d.ts +627 -0
  880. package/templates/facebook/node_modules/type-fest/source/partial-deep.d.ts +72 -0
  881. package/templates/facebook/node_modules/type-fest/source/promisable.d.ts +23 -0
  882. package/templates/facebook/node_modules/type-fest/source/promise-value.d.ts +27 -0
  883. package/templates/facebook/node_modules/type-fest/source/readonly-deep.d.ts +59 -0
  884. package/templates/facebook/node_modules/type-fest/source/require-at-least-one.d.ts +32 -0
  885. package/templates/facebook/node_modules/type-fest/source/require-exactly-one.d.ts +35 -0
  886. package/templates/facebook/node_modules/type-fest/source/set-optional.d.ts +34 -0
  887. package/templates/facebook/node_modules/type-fest/source/set-required.d.ts +34 -0
  888. package/templates/facebook/node_modules/type-fest/source/set-return-type.d.ts +29 -0
  889. package/templates/facebook/node_modules/type-fest/source/stringified.d.ts +21 -0
  890. package/templates/facebook/node_modules/type-fest/source/tsconfig-json.d.ts +872 -0
  891. package/templates/facebook/node_modules/type-fest/source/union-to-intersection.d.ts +58 -0
  892. package/templates/facebook/node_modules/type-fest/source/value-of.d.ts +40 -0
  893. package/templates/facebook/package.json +3 -3
@@ -0,0 +1,324 @@
1
+ # Writing plugins
2
+
3
+ Plugins are rules and sets of rules built by the community.
4
+
5
+ We recommend your plugin adheres to [stylelint's conventions](rules.md) for:
6
+
7
+ - names
8
+ - options
9
+ - messages
10
+ - tests
11
+ - docs
12
+
13
+ ## The anatomy of a plugin
14
+
15
+ ```js
16
+ // Abbreviated example
17
+ const stylelint = require("stylelint");
18
+
19
+ const ruleName = "plugin/foo-bar";
20
+ const messages = stylelint.utils.ruleMessages(ruleName, {
21
+ expected: "Expected ..."
22
+ });
23
+
24
+ module.exports = stylelint.createPlugin(
25
+ ruleName,
26
+ function (primaryOption, secondaryOptionObject) {
27
+ return function (postcssRoot, postcssResult) {
28
+ const validOptions = stylelint.utils.validateOptions(
29
+ postcssResult,
30
+ ruleName,
31
+ {
32
+ /* .. */
33
+ }
34
+ );
35
+
36
+ if (!validOptions) {
37
+ return;
38
+ }
39
+
40
+ // ... some logic ...
41
+ stylelint.utils.report({
42
+ /* .. */
43
+ });
44
+ };
45
+ }
46
+ );
47
+
48
+ module.exports.ruleName = ruleName;
49
+ module.exports.messages = messages;
50
+ ```
51
+
52
+ Your plugin's rule name must be namespaced, e.g. `your-namespace/your-rule-name`, to ensure it never clashes with the built-in rules. If your plugin provides only a single rule or you can't think of a good namespace, you can use `plugin/my-rule`. _You should document your plugin's rule name (and namespace) because users need to use them in their config._
53
+
54
+ Use `stylelint.createPlugin(ruleName, ruleFunction)` to ensure that your plugin is set up properly alongside other rules.
55
+
56
+ For your plugin rule to work with the [standard configuration format](../user-guide/configure.md#rules), `ruleFunction` should accept 2 arguments:
57
+
58
+ - the primary option
59
+ - optionally, a secondary options object
60
+
61
+ If your plugin rule supports [autofixing](rules.md#add-autofix), then `ruleFunction` should also accept a third argument: `context`. You should try to support the `disableFix` option in your secondary options object. Within the rule, don't perform autofixing if the user has passed a `disableFix` option for your rule.
62
+
63
+ `ruleFunction` should return a function that is essentially a little [PostCSS plugin](https://github.com/postcss/postcss/blob/master/docs/writing-a-plugin.md). It takes 2 arguments:
64
+
65
+ - the PostCSS Root (the parsed AST)
66
+ - the PostCSS LazyResult
67
+
68
+ You'll have to [learn about the PostCSS API](https://api.postcss.org/).
69
+
70
+ ### Asynchronous rules
71
+
72
+ You can return a `Promise` instance from your plugin function to create an asynchronous rule.
73
+
74
+ ```js
75
+ // Abbreviated asynchronous example
76
+ const stylelint = require("stylelint");
77
+
78
+ const ruleName = "plugin/foo-bar-async";
79
+ const messages = stylelint.utils.ruleMessages(ruleName, {
80
+ expected: "Expected ..."
81
+ });
82
+
83
+ module.exports = stylelint.createPlugin(
84
+ ruleName,
85
+ function (primaryOption, secondaryOptionObject) {
86
+ return function (postcssRoot, postcssResult) {
87
+ const validOptions = stylelint.utils.validateOptions(
88
+ postcssResult,
89
+ ruleName,
90
+ {
91
+ /* .. */
92
+ }
93
+ );
94
+
95
+ if (!validOptions) {
96
+ return;
97
+ }
98
+
99
+ return new Promise(function (resolve) {
100
+ // some async operation
101
+ setTimeout(function () {
102
+ // ... some logic ...
103
+ stylelint.utils.report({
104
+ /* .. */
105
+ });
106
+ resolve();
107
+ }, 1);
108
+ });
109
+ };
110
+ }
111
+ );
112
+
113
+ module.exports.ruleName = ruleName;
114
+ module.exports.messages = messages;
115
+ ```
116
+
117
+ ## Testing
118
+
119
+ You should use [`jest-preset-stylelint`](https://github.com/stylelint/jest-preset-stylelint) to test your plugin. The preset exposes a global `testRule` function that you can use to efficiently test your plugin using a schema.
120
+
121
+ For example:
122
+
123
+ ```js
124
+ // index.test.js
125
+ const { messages, ruleName } = require(".");
126
+
127
+ testRule({
128
+ plugins: ["./index.js"],
129
+ ruleName,
130
+ config: true,
131
+ fix: true,
132
+
133
+ accept: [
134
+ {
135
+ code: ".class {}"
136
+ },
137
+ {
138
+ code: ".my-class {}"
139
+ }
140
+ ],
141
+
142
+ reject: [
143
+ {
144
+ code: ".myClass {}",
145
+ fixed: ".my-class {}",
146
+ message: messages.expected(),
147
+ line: 1,
148
+ column: 1
149
+ }
150
+ ]
151
+ });
152
+ ```
153
+
154
+ However, if your plugin involves more than just checking syntax you can use stylelint directly.
155
+
156
+ For example:
157
+
158
+ ```js
159
+ // index.test.js
160
+ const { lint } = require("stylelint");
161
+
162
+ const config = {
163
+ plugins: ["./index.js"],
164
+ rules: {
165
+ "plugin/at-import-no-unresolveable": [true]
166
+ }
167
+ };
168
+
169
+ it("warns for unresolveable import", async () => {
170
+ const {
171
+ results: [{ warnings, parseErrors }]
172
+ } = await lint({
173
+ files: "fixtures/contains-unresolveable-import.css",
174
+ config
175
+ });
176
+
177
+ expect(parseErrors).toHaveLength(0);
178
+ expect(warnings).toHaveLength(1);
179
+
180
+ const [{ line, column, text }] = warnings;
181
+
182
+ expect(text).toBe(
183
+ "Unexpected unresolveable import (plugin/at-import-no-unresolveable)"
184
+ );
185
+ expect(line).toBe(1);
186
+ expect(column).toBe(1);
187
+ });
188
+
189
+ it("doesn't warn for fileless sources", async () => {
190
+ const {
191
+ results: [{ warnings, parseErrors }]
192
+ } = await lint({
193
+ code: "@import url(unknown.css)",
194
+ config
195
+ });
196
+ expect(parseErrors).toHaveLength(0);
197
+ expect(warnings).toHaveLength(0);
198
+ });
199
+ ```
200
+
201
+ Alternatively, if you don't want to use Jest you'll find more tools in [awesome stylelint](https://github.com/stylelint/awesome-stylelint#tools).
202
+
203
+ ## `stylelint.utils`
204
+
205
+ stylelint exposes some useful utilities.
206
+
207
+ ### `stylelint.utils.report`
208
+
209
+ Adds violations from your plugin to the list of violations that stylelint will report to the user.
210
+
211
+ Use `stylelint.utils.report` to ensure your plugin respects disabled ranges and other possible future features of stylelint. _Do not use PostCSS's `node.warn()` method directly._
212
+
213
+ ### `stylelint.utils.ruleMessages`
214
+
215
+ Tailors your messages to the format of standard stylelint rules.
216
+
217
+ ### `stylelint.utils.validateOptions`
218
+
219
+ Validates the options for your rule.
220
+
221
+ ### `stylelint.utils.checkAgainstRule`
222
+
223
+ Checks CSS against a standard stylelint rule _within your own rule_. This function provides power and flexibility for plugins authors who wish to modify, constrain, or extend the functionality of existing stylelint rules.
224
+
225
+ It accepts an options object and a callback that is invoked with warnings from the specified rule. The options are:
226
+
227
+ - `ruleName`: the name of the rule you are invoking
228
+ - `ruleSettings`: settings for the rule you are invoking
229
+ - `root`: the root node to run this rule against
230
+
231
+ Use the warning to create a _new_ warning _from your plugin rule_ that you report with `stylelint.utils.report`.
232
+
233
+ For example, imagine you want to create a plugin that runs `at-rule-no-unknown` with a built-in list of exceptions for at-rules provided by your preprocessor-of-choice:
234
+
235
+ ```js
236
+ const allowableAtRules = [
237
+ /* .. */
238
+ ];
239
+
240
+ function myPluginRule(primaryOption, secondaryOptionObject) {
241
+ return function (postcssRoot, postcssResult) {
242
+ const defaultedOptions = Object.assign({}, secondaryOptionObject, {
243
+ ignoreAtRules: allowableAtRules.concat(options.ignoreAtRules || [])
244
+ });
245
+
246
+ stylelint.utils.checkAgainstRule(
247
+ {
248
+ ruleName: "at-rule-no-unknown",
249
+ ruleSettings: [primaryOption, defaultedOptions],
250
+ root: postcssRoot
251
+ },
252
+ (warning) => {
253
+ stylelint.utils.report({
254
+ message: myMessage,
255
+ ruleName: myRuleName,
256
+ result: postcssResult,
257
+ node: warning.node,
258
+ line: warning.line,
259
+ column: warning.column
260
+ });
261
+ }
262
+ );
263
+ };
264
+ }
265
+ ```
266
+
267
+ ## `stylelint.rules`
268
+
269
+ All of the rule functions are available at `stylelint.rules`. This allows you to build on top of existing rules for your particular needs.
270
+
271
+ A typical use-case is to build in more complex conditionals that the rule's options allow for. For example, maybe your codebase uses special comment directives to customize rule options for specific stylesheets. You could build a plugin that checks those directives and then runs the appropriate rules with the right options (or doesn't run them at all).
272
+
273
+ All rules share a common signature. They are a function that accepts two arguments: a primary option and a secondary options object. And that functions returns a function that has the signature of a PostCSS plugin, expecting a PostCSS root and result as its arguments.
274
+
275
+ Here's an example of a plugin that runs `color-hex-case` only if there is a special directive `@@check-color-hex-case` somewhere in the stylesheet:
276
+
277
+ ```js
278
+ module.exports = stylelint.createPlugin(ruleName, function (expectation) {
279
+ const runColorHexCase = stylelint.rules["color-hex-case"](expectation);
280
+
281
+ return (root, result) => {
282
+ if (root.toString().indexOf("@@check-color-hex-case") === -1) {
283
+ return;
284
+ }
285
+
286
+ runColorHexCase(root, result);
287
+ };
288
+ });
289
+ ```
290
+
291
+ ## Allow primary option arrays
292
+
293
+ If your plugin can accept an array as its primary option, you must designate this by setting the property `primaryOptionArray = true` on your rule function. For more information, check out the ["Working on rules"](rules.md) doc.
294
+
295
+ ## External helper modules
296
+
297
+ In addition to the standard parsers mentioned in the ["Working on rules"](rules.md) doc, there are other external modules used within stylelint that we recommend using. These include:
298
+
299
+ - [normalize-selector](https://github.com/getify/normalize-selector): normalize CSS selectors.
300
+ - [postcss-resolve-nested-selector](https://github.com/davidtheclark/postcss-resolve-nested-selector): given a (nested) selector in a PostCSS AST, return an array of resolved selectors.
301
+
302
+ Have a look through [stylelint's internal utils](https://github.com/stylelint/stylelint/tree/master/lib/utils) and if you come across one that you need in your plugin, then please consider helping us extract it out into an external module.
303
+
304
+ ## Peer dependencies
305
+
306
+ You should express, within the `peerDependencies` key (and **not** within the `dependencies` key) of your plugin's `package.json`, what version(s) of stylelint your plugin can be used with. This is to ensure that different versions of stylelint are not unexpectedly installed.
307
+
308
+ For example, to express that your plugin can be used with stylelint versions 7 and 8:
309
+
310
+ ```json
311
+ {
312
+ "peerDependencies": {
313
+ "stylelint": "^7.0.0 || ^8.0.0"
314
+ }
315
+ }
316
+ ```
317
+
318
+ ## Plugin packs
319
+
320
+ To make a single module provide multiple rules, export an array of plugin objects (rather than a single object).
321
+
322
+ ## Sharing plugins and plugin packs
323
+
324
+ Use the `stylelint-plugin` keyword within your `package.json`.
@@ -0,0 +1,28 @@
1
+ # Writing processors
2
+
3
+ Processors are functions that hook into stylelint's pipeline, modifying code on its way into stylelint and modifying results on their way out.
4
+
5
+ **Their use is discouraged in favor of [PostCSS syntaxes](../about/syntaxes.md).**
6
+
7
+ Processor modules are functions that accept an options object and return an object with the following the functions, which hook into the processing of each file:
8
+
9
+ - **code**: A function that accepts two arguments, the file's code and the file's path, and returns a string for stylelint to lint.
10
+ - **result**: A function that accepts two arguments, the file's stylelint result object and the file's path, and either mutates the result object (returning nothing) or returns a new one.
11
+
12
+ ```js
13
+ // my-processor.js
14
+ module.exports = function (options) {
15
+ return {
16
+ code: function (input, filepath) {
17
+ // ...
18
+ return transformedCode;
19
+ },
20
+ result: function (stylelintResult, filepath) {
21
+ // ...
22
+ return transformedResult;
23
+ }
24
+ };
25
+ };
26
+ ```
27
+
28
+ _Processor options must be JSON-friendly_ because users will need to include them in `.stylelintrc` files.
@@ -0,0 +1,244 @@
1
+ # Working on rules
2
+
3
+ Please help us create, enhance, and debug our rules!
4
+
5
+ ## Add a rule
6
+
7
+ You should:
8
+
9
+ 1. Get yourself ready to [contribute code](../../CONTRIBUTING.md#code-contributions).
10
+ 2. Familiarize yourself with the [conventions and patterns](../user-guide/rules/about.md) for rules.
11
+
12
+ ### Write the rule
13
+
14
+ When writing the rule, you should:
15
+
16
+ - make the rule strict by default
17
+ - add secondary `ignore` options to make the rule more permissive
18
+ - not include code specific to language extensions, e.g. SCSS
19
+
20
+ You should make use of the:
21
+
22
+ - PostCSS API
23
+ - construct-specific parsers
24
+ - utility functions
25
+
26
+ #### PostCSS API
27
+
28
+ Use the [PostCSS API](https://api.postcss.org/) to navigate and analyze the CSS syntax tree. We recommend using the `walk` iterators (e.g. `walkDecls`), rather than using `forEach` to loop through the nodes.
29
+
30
+ When using array methods on nodes, e.g. `find`, `some`, `filter` etc, you should explicitly check the `type` property of the node before attempting to access other properties. For example:
31
+
32
+ ```js
33
+ const hasProperty = nodes.find(
34
+ ({ type, prop }) => type === "decl" && prop === propertyName
35
+ );
36
+ ```
37
+
38
+ Use `node.raws` instead of `node.raw()` when accessing raw strings from the [PostCSS AST](https://astexplorer.net/#/gist/ef718daf3e03f1d200b03dc5a550ec60/c8cbe9c6809a85894cebf3fb66de46215c377f1a).
39
+
40
+ #### Construct-specific parsers
41
+
42
+ Depending on the rule, we also recommend using:
43
+
44
+ - [postcss-value-parser](https://github.com/TrySound/postcss-value-parser)
45
+ - [postcss-selector-parser](https://github.com/postcss/postcss-selector-parser)
46
+
47
+ There are significant benefits to using these parsers instead of regular expressions or `indexOf` searches (even if they aren't always the most performant method).
48
+
49
+ #### Utility functions
50
+
51
+ stylelint has [utility functions](https://github.com/stylelint/stylelint/tree/master/lib/utils) that are used in existing rules and might prove useful to you, as well. Please look through those so that you know what's available. (And if you have a new function that you think might prove generally helpful, let's add it to the list!).
52
+
53
+ Use the:
54
+
55
+ - `validateOptions()` utility to warn users about invalid options
56
+ - `isStandardSyntax*` utilities to ignore non-standard syntax
57
+
58
+ ### Add options
59
+
60
+ Only add an option to a rule if it addresses a _requested_ use case to avoid polluting the tool with unused features.
61
+
62
+ If your rule can accept an array as its primary option, you must designate this by setting the property `primaryOptionArray = true` on your rule function. For example:
63
+
64
+ ```js
65
+ function rule(primary, secondary) {
66
+ return (root, result) => {
67
+ /* .. */
68
+ };
69
+ }
70
+
71
+ rule.primaryOptionArray = true;
72
+
73
+ module.exports = rule;
74
+ ```
75
+
76
+ There is one caveat here: If your rule accepts a primary option array, it cannot also accept a primary option object. Whenever possible, if you want your rule to accept a primary option array, you should make an array the only possibility, instead of allowing for various data structures.
77
+
78
+ ### Add autofix
79
+
80
+ Depending on the rule, it might be possible to automatically fix the rule's violations by mutating the PostCSS AST (Abstract Syntax Tree) using the [PostCSS API](http://api.postcss.org/).
81
+
82
+ Add `context` variable to rule parameters:
83
+
84
+ ```js
85
+ function rule(primary, secondary, context) {
86
+ return (root, result) => {
87
+ /* .. */
88
+ };
89
+ }
90
+ ```
91
+
92
+ `context` is an object which could have two properties:
93
+
94
+ - `fix`(boolean): If `true`, your rule can apply autofixes.
95
+ - `newline`(string): Line-ending used in current linted file.
96
+
97
+ If `context.fix` is `true`, then change `root` using PostCSS API and return early before `report()` is called.
98
+
99
+ ```js
100
+ if (context.fix) {
101
+ // Apply fixes using PostCSS API
102
+ return; // Return and don't report a problem
103
+ }
104
+
105
+ report(/* .. */);
106
+ ```
107
+
108
+ ### Write tests
109
+
110
+ Each rule must have tests that cover all patterns that:
111
+
112
+ - are considered violations
113
+ - should _not_ be considered violations
114
+
115
+ Write as many as you can stand to.
116
+
117
+ You should:
118
+
119
+ - test errors in multiple positions, not the same place every time
120
+ - use realistic (if simple) CSS, and avoid the use of ellipses
121
+ - use standard CSS syntax by default, and only swap parsers when testing a specific piece of non-standard syntax
122
+
123
+ #### Commonly overlooked edge-cases
124
+
125
+ You should ask yourself how does your rule handle:
126
+
127
+ - variables (`$sass`, `@less` or `var(--custom-property)`)?
128
+ - CSS strings (e.g. `content: "anything goes";`)?
129
+ - CSS comments (e.g. `/* anything goes */`)?
130
+ - `url()` functions, including data URIs (e.g. `url(anything/goes.jpg)`)?
131
+ - vendor prefixes (e.g. `@-webkit-keyframes name {}`)?
132
+ - case sensitivity (e.g. `@KEYFRAMES name {}`)?
133
+ - a pseudo-class _combined_ with a pseudo-element (e.g. `a:hover::before`)?
134
+ - nesting (e.g. do you resolve `& a {}`, or check it as is?)?
135
+ - whitespace and punctuation (e.g. comparing `rgb(0,0,0)` with `rgb(0, 0, 0)`)?
136
+
137
+ ### Write the README
138
+
139
+ You should:
140
+
141
+ - only use standard CSS syntax in example code and options
142
+ - use `<!-- prettier-ignore -->` before `css` code fences
143
+ - use "this rule" to refer to the rule, e.g. "This rule ignores ..."
144
+ - align the arrows within the prototypical code example with the beginning of the highlighted construct
145
+ - align the text within the prototypical code example as far to the left as possible
146
+
147
+ For example:
148
+
149
+ <!-- prettier-ignore -->
150
+ ```css
151
+ @media screen and (min-width: 768px) {}
152
+ /** ↑ ↑
153
+ * These names and values */
154
+ ```
155
+
156
+ When writing examples, you should use:
157
+
158
+ - complete CSS patterns i.e. avoid ellipses (`...`)
159
+ - the minimum amount of code possible to communicate the pattern, e.g. if the rule targets selectors then use an empty rule, e.g. `{}`
160
+ - `{}`, rather than `{ }` for empty rules
161
+ - the `a` type selector by default
162
+ - the `@media` at-rules by default
163
+ - the `color` property by default
164
+ - _foo_, _bar_ and _baz_ for names, e.g. `.foo`, `#bar`, `--baz`
165
+
166
+ Look at the READMEs of other rules to glean more conventional patterns.
167
+
168
+ ### Wire up the rule
169
+
170
+ The final step is to add references to the new rule in the following places:
171
+
172
+ - [The rules `index.js` file](../../lib/rules/index.js)
173
+ - [The list of rules](../user-guide/rules/list.md)
174
+
175
+ ## Add an option to a rule
176
+
177
+ You should:
178
+
179
+ 1. Get ready to [contribute code](../../CONTRIBUTING.md#code-contributions).
180
+ 2. Change the rule's validation to allow for the new option.
181
+ 3. Add new unit tests to test the option.
182
+ 4. Add (as little as possible) logic to the rule to make the tests pass.
183
+ 5. Add documentation about the new option.
184
+
185
+ ## Fix a bug in a rule
186
+
187
+ You should:
188
+
189
+ 1. Get ready to [contribute code](../../CONTRIBUTING.md#code-contributions).
190
+ 2. Write failing unit tests that exemplify the bug.
191
+ 3. Fiddle with the rule until those new tests pass.
192
+
193
+ ## Deprecate a rule
194
+
195
+ Deprecating rules doesn't happen very often. When you do, you must:
196
+
197
+ 1. Point the `stylelintReference` link to the specific version of the rule README on the GitHub website, so that it is always accessible.
198
+ 2. Add the appropriate meta data to mark the rule as deprecated.
199
+
200
+ ## Improve the performance of a rule
201
+
202
+ You can run a benchmarks on any given rule with any valid config using:
203
+
204
+ ```shell
205
+ npm run benchmark-rule -- ruleName ruleOptions [ruleContext]
206
+ ```
207
+
208
+ If the `ruleOptions` argument is anything other than a string or a boolean, it must be valid JSON wrapped in quotation marks.
209
+
210
+ ```shell
211
+ npm run benchmark-rule -- selector-combinator-space-after never
212
+ ```
213
+
214
+ ```shell
215
+ npm run benchmark-rule -- selector-combinator-space-after always
216
+ ```
217
+
218
+ ```shell
219
+ npm run benchmark-rule -- block-opening-brace-space-before "[\"always\", {\"ignoreAtRules\": [\"else\"]}]"
220
+ ```
221
+
222
+ If the `ruleContext` argument is specified, the sames procedure would apply:
223
+
224
+ ```shell
225
+ npm run benchmark-rule -- block-opening-brace-space-before "[\"always\", {\"ignoreAtRules\": [\"else\"]}]" "{\"fix\": \"true\"}"
226
+ ```
227
+
228
+ The script loads Bootstrap's CSS (from its CDN) and runs it through the configured rule.
229
+
230
+ It will end up printing some simple stats like this:
231
+
232
+ ```shell
233
+ Warnings: 1441
234
+ Mean: 74.17598357142856 ms
235
+ Deviation: 16.63969674310928 ms
236
+ ```
237
+
238
+ When writing new rules or refactoring existing rules, use these measurements to determine the efficiency of your code.
239
+
240
+ A stylelint rule can repeat its core logic many, many times (e.g. checking every value node of every declaration in a vast CSS codebase). So it's worth paying attention to performance and doing what we can to improve it!
241
+
242
+ **Improving the performance of a rule is a great way to contribute if you want a quick little project.** Try picking a rule and seeing if there's anything you can do to speed it up.
243
+
244
+ Make sure you include benchmark measurements in your pull request!
@@ -0,0 +1,35 @@
1
+ # Working on syntaxes
2
+
3
+ Please help us enhance and debug the [syntaxes](../about/syntaxes.md) we use in stylelint:
4
+
5
+ - [postcss-css-in-js](https://github.com/stylelint/postcss-css-in-js)
6
+ - [postcss-html](https://github.com/gucong3000/postcss-html)
7
+ - [postcss-less](https://github.com/webschik/postcss-less)
8
+ - [postcss-markdown](https://github.com/stylelint/postcss-markdown)
9
+ - [postcss-sass](https://github.com/AleshaOleg/postcss-sass)
10
+ - [postcss-scss](https://github.com/postcss/postcss-scss)
11
+
12
+ To contribute to a syntax, you should:
13
+
14
+ 1. Familiarize yourself with PostCSS's [how to write custom syntax](https://github.com/postcss/postcss/blob/master/docs/syntax.md) guide.
15
+ 2. Use the [`syntax: *` labels](https://github.com/stylelint/stylelint/labels?utf8=%E2%9C%93&q=syntax%3A) to identify which syntax is behind an issue.
16
+ 3. Go to the repository for that syntax.
17
+ 4. Read their contributing guidelines.
18
+
19
+ ## Workarounds
20
+
21
+ Fixing bugs in syntaxes can take time. stylelint can work around these bug by turning off autofix for incompatible sources. Autofix can then remain safe to use while contributors try to fix the underlying issue.
22
+
23
+ ### Current workarounds
24
+
25
+ stylelint currently turns off autofix for sources that contain:
26
+
27
+ - ~~nested tagged template literals ([issue #4119](https://github.com/stylelint/stylelint/issues/4119))~~
28
+
29
+ ### Add a workaround
30
+
31
+ To add a new workaround, you should:
32
+
33
+ 1. Add code to [`lib/lintSource.js`](https://github.com/stylelint/stylelint/blob/master/lib/lintSource.js) to detect the incompatible pattern.
34
+ 2. Add a corresponding test to [`lib/__tests__/standalone-fix.test.js`](https://github.com/stylelint/stylelint/blob/master/lib/__tests__/standalone-fix.test.js).
35
+ 3. Document the workaround in [`docs/developer-guides/syntaxes.md`](https://github.com/stylelint/stylelint/blob/master/docs/developer-guide/syntaxes.md).
@@ -0,0 +1,23 @@
1
+ # Writing system tests
2
+
3
+ System tests verify that stylelint works as expected. They are another line of defense against regressions, after the unit tests and integration tests.
4
+
5
+ Each of these system tests asserts that we end up with some expected output, given a configuration and a stylesheet.
6
+
7
+ These tests should not be comprehensive and systematic (_the unit tests should_). They should reproduce real use-cases and verify that those use-cases work as expected.
8
+
9
+ ## Jest snapshots
10
+
11
+ The tests use Jest snapshots, so we can easily:
12
+
13
+ - assert against potentially large objects and strings
14
+ - update expectations as needed.
15
+
16
+ ## The pattern
17
+
18
+ To add a system test, you should:
19
+
20
+ - add a test-case folder to `system-tests/` incrementing the number from existing test cases
21
+ - add a configuration file and a stylesheet
22
+ - add a `fs.test.js` and `no-fs.test.js` following the format established by existing tests, and using the `systemTestUtils`
23
+ - take a snapshot of `output`