create-docusaurus 0.0.0-4378 → 0.0.0-4379

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,1283 @@
1
+ import * as mozilla from 'source-map';
2
+
3
+ /**
4
+ * @param plugins Can also be included with the Processor#use method.
5
+ * @returns A processor that will apply plugins as CSS processors.
6
+ */
7
+ declare function postcss(plugins?: postcss.AcceptedPlugin[]): postcss.Processor;
8
+ declare function postcss(...plugins: postcss.AcceptedPlugin[]): postcss.Processor;
9
+ declare namespace postcss {
10
+ type AcceptedPlugin = Plugin<any> | Transformer | {
11
+ postcss: TransformCallback | Processor;
12
+ } | Processor;
13
+ /**
14
+ * Creates a PostCSS plugin with a standard API.
15
+ * @param name Plugin name. Same as in name property in package.json. It will
16
+ * be saved in plugin.postcssPlugin property.
17
+ * @param initializer Will receive plugin options and should return functions
18
+ * to modify nodes in input CSS.
19
+ */
20
+ function plugin<T>(name: string, initializer: PluginInitializer<T>): Plugin<T>;
21
+ interface Plugin<T> extends Transformer {
22
+ (opts?: T): Transformer;
23
+ postcss: Transformer;
24
+ process: (css: string | {
25
+ toString(): string;
26
+ } | Result, processOpts?: ProcessOptions, pluginOpts?: T) => LazyResult;
27
+ }
28
+ interface Transformer extends TransformCallback {
29
+ postcssPlugin?: string;
30
+ postcssVersion?: string;
31
+ }
32
+ interface TransformCallback {
33
+ /**
34
+ * @returns A Promise that resolves when all work is complete. May return
35
+ * synchronously, but that style of plugin is only meant for debugging and
36
+ * development. In either case, the resolved or returned value is not used -
37
+ * the "result" is the output.
38
+ */
39
+ (root: Root, result: Result): Promise<any> | any;
40
+ }
41
+ interface PluginInitializer<T> {
42
+ (pluginOptions?: T): Transformer;
43
+ }
44
+ /**
45
+ * Contains helpers for working with vendor prefixes.
46
+ */
47
+ export namespace vendor {
48
+ /**
49
+ * @returns The vendor prefix extracted from the input string.
50
+ */
51
+ function prefix(prop: string): string;
52
+ /**
53
+ * @returns The input string stripped of its vendor prefix.
54
+ */
55
+ function unprefixed(prop: string): string;
56
+ }
57
+ type ParserInput = string | { toString(): string };
58
+ interface Parser {
59
+ (css: ParserInput, opts?: Pick<ProcessOptions, 'map' | 'from'>): Root;
60
+ }
61
+ interface Builder {
62
+ (part: string, node?: Node, type?: 'start' | 'end'): void;
63
+ }
64
+ interface Stringifier {
65
+ (node: Node, builder: Builder): void;
66
+ }
67
+ /**
68
+ * Default function to convert a node tree into a CSS string.
69
+ */
70
+ const stringify: Stringifier;
71
+ /**
72
+ * Parses source CSS.
73
+ * @param css The CSS to parse.
74
+ * @param options
75
+ * @returns {} A new Root node, which contains the source CSS nodes.
76
+ */
77
+ const parse: Parser;
78
+ /**
79
+ * Contains helpers for safely splitting lists of CSS values, preserving
80
+ * parentheses and quotes.
81
+ */
82
+ export namespace list {
83
+ /**
84
+ * Safely splits space-separated values (such as those for background,
85
+ * border-radius and other shorthand properties).
86
+ */
87
+ function space(str: string): string[];
88
+ /**
89
+ * Safely splits comma-separated values (such as those for transition-* and
90
+ * background properties).
91
+ */
92
+ function comma(str: string): string[];
93
+ }
94
+ /**
95
+ * Creates a new Comment node.
96
+ * @param defaults Properties for the new Comment node.
97
+ * @returns The new node.
98
+ */
99
+ function comment(defaults?: CommentNewProps): Comment;
100
+ /**
101
+ * Creates a new AtRule node.
102
+ * @param defaults Properties for the new AtRule node.
103
+ * @returns The new node.
104
+ */
105
+ function atRule(defaults?: AtRuleNewProps): AtRule;
106
+ /**
107
+ * Creates a new Declaration node.
108
+ * @param defaults Properties for the new Declaration node.
109
+ * @returns The new node.
110
+ */
111
+ function decl(defaults?: DeclarationNewProps): Declaration;
112
+ /**
113
+ * Creates a new Rule node.
114
+ * @param defaults Properties for the new Rule node.
115
+ * @returns The new node.
116
+ */
117
+ function rule(defaults?: RuleNewProps): Rule;
118
+ /**
119
+ * Creates a new Root node.
120
+ * @param defaults Properties for the new Root node.
121
+ * @returns The new node.
122
+ */
123
+ function root(defaults?: object): Root;
124
+ interface SourceMapOptions {
125
+ /**
126
+ * Indicates that the source map should be embedded in the output CSS as a
127
+ * Base64-encoded comment. By default, it is true. But if all previous maps
128
+ * are external, not inline, PostCSS will not embed the map even if you do
129
+ * not set this option.
130
+ *
131
+ * If you have an inline source map, the result.map property will be empty,
132
+ * as the source map will be contained within the text of result.css.
133
+ */
134
+ inline?: boolean;
135
+ /**
136
+ * Source map content from a previous processing step (e.g., Sass compilation).
137
+ * PostCSS will try to read the previous source map automatically (based on comments
138
+ * within the source CSS), but you can use this option to identify it manually.
139
+ * If desired, you can omit the previous map with prev: false.
140
+ */
141
+ prev?: any;
142
+ /**
143
+ * Indicates that PostCSS should set the origin content (e.g., Sass source)
144
+ * of the source map. By default, it is true. But if all previous maps do not
145
+ * contain sources content, PostCSS will also leave it out even if you do not set
146
+ * this option.
147
+ */
148
+ sourcesContent?: boolean;
149
+ /**
150
+ * Indicates that PostCSS should add annotation comments to the CSS. By default,
151
+ * PostCSS will always add a comment with a path to the source map. PostCSS will
152
+ * not add annotations to CSS files that do not contain any comments.
153
+ *
154
+ * By default, PostCSS presumes that you want to save the source map as
155
+ * opts.to + '.map' and will use this path in the annotation comment. A different
156
+ * path can be set by providing a string value for annotation.
157
+ *
158
+ * If you have set inline: true, annotation cannot be disabled.
159
+ */
160
+ annotation?: string | boolean;
161
+ /**
162
+ * Override "from" in map's sources.
163
+ */
164
+ from?: string;
165
+ }
166
+ /**
167
+ * A Processor instance contains plugins to process CSS. Create one
168
+ * Processor instance, initialize its plugins, and then use that instance
169
+ * on numerous CSS files.
170
+ */
171
+ interface Processor {
172
+ /**
173
+ * Adds a plugin to be used as a CSS processor. Plugins can also be
174
+ * added by passing them as arguments when creating a postcss instance.
175
+ */
176
+ use(plugin: AcceptedPlugin): Processor;
177
+ /**
178
+ * Parses source CSS. Because some plugins can be asynchronous it doesn't
179
+ * make any transformations. Transformations will be applied in LazyResult's
180
+ * methods.
181
+ * @param css Input CSS or any object with toString() method, like a file
182
+ * stream. If a Result instance is passed the processor will take the
183
+ * existing Root parser from it.
184
+ */
185
+ process(css: ParserInput | Result | LazyResult | Root, options?: ProcessOptions): LazyResult;
186
+ /**
187
+ * Contains plugins added to this processor.
188
+ */
189
+ plugins: Plugin<any>[];
190
+ /**
191
+ * Contains the current version of PostCSS (e.g., "4.0.5").
192
+ */
193
+ version: string;
194
+ }
195
+ interface ProcessOptions {
196
+ /**
197
+ * The path of the CSS source file. You should always set "from", because it is
198
+ * used in source map generation and syntax error messages.
199
+ */
200
+ from?: string;
201
+ /**
202
+ * The path where you'll put the output CSS file. You should always set "to"
203
+ * to generate correct source maps.
204
+ */
205
+ to?: string;
206
+ /**
207
+ * Function to generate AST by string.
208
+ */
209
+ parser?: Parser;
210
+ /**
211
+ * Class to generate string by AST.
212
+ */
213
+ stringifier?: Stringifier;
214
+ /**
215
+ * Object with parse and stringify.
216
+ */
217
+ syntax?: Syntax;
218
+ /**
219
+ * Source map options
220
+ */
221
+ map?: SourceMapOptions | boolean;
222
+ }
223
+ interface Syntax {
224
+ /**
225
+ * Function to generate AST by string.
226
+ */
227
+ parse?: Parser;
228
+ /**
229
+ * Class to generate string by AST.
230
+ */
231
+ stringify?: Stringifier;
232
+ }
233
+ /**
234
+ * A promise proxy for the result of PostCSS transformations.
235
+ */
236
+ interface LazyResult {
237
+ /**
238
+ * Processes input CSS through synchronous and asynchronous plugins.
239
+ * @param onRejected Called if any plugin throws an error.
240
+ */
241
+ then: Promise<Result>["then"];
242
+ /**
243
+ * Processes input CSS through synchronous and asynchronous plugins.
244
+ * @param onRejected Called if any plugin throws an error.
245
+ */
246
+ catch: Promise<Result>["catch"];
247
+ /**
248
+ * Alias for css property.
249
+ */
250
+ toString(): string;
251
+ /**
252
+ * Processes input CSS through synchronous plugins and converts Root to
253
+ * CSS string. This property will only work with synchronous plugins. If
254
+ * the processor contains any asynchronous plugins it will throw an error.
255
+ * In this case, you should use LazyResult#then() instead.
256
+ * @returns Result#css.
257
+ */
258
+ css: string;
259
+ /**
260
+ * Alias for css property to use when syntaxes generate non-CSS output.
261
+ */
262
+ content: string;
263
+ /**
264
+ * Processes input CSS through synchronous plugins. This property will
265
+ * work only with synchronous plugins. If processor contains any
266
+ * asynchronous plugins it will throw an error. You should use
267
+ * LazyResult#then() instead.
268
+ */
269
+ map: ResultMap;
270
+ /**
271
+ * Processes input CSS through synchronous plugins. This property will work
272
+ * only with synchronous plugins. If processor contains any asynchronous
273
+ * plugins it will throw an error. You should use LazyResult#then() instead.
274
+ */
275
+ root: Root;
276
+ /**
277
+ * Processes input CSS through synchronous plugins and calls Result#warnings().
278
+ * This property will only work with synchronous plugins. If the processor
279
+ * contains any asynchronous plugins it will throw an error. In this case,
280
+ * you should use LazyResult#then() instead.
281
+ */
282
+ warnings(): Warning[];
283
+ /**
284
+ * Processes input CSS through synchronous plugins. This property will work
285
+ * only with synchronous plugins. If processor contains any asynchronous
286
+ * plugins it will throw an error. You should use LazyResult#then() instead.
287
+ */
288
+ messages: ResultMessage[];
289
+ /**
290
+ * @returns A processor used for CSS transformations.
291
+ */
292
+ processor: Processor;
293
+ /**
294
+ * @returns Options from the Processor#process(css, opts) call that produced
295
+ * this Result instance.
296
+ */
297
+ opts: ResultOptions;
298
+ }
299
+ /**
300
+ * Provides the result of the PostCSS transformations.
301
+ */
302
+ interface Result {
303
+ /**
304
+ * Alias for css property.
305
+ */
306
+ toString(): string;
307
+ /**
308
+ * Creates an instance of Warning and adds it to messages.
309
+ * @param message Used in the text property of the message object.
310
+ * @param options Properties for Message object.
311
+ */
312
+ warn(message: string, options?: WarningOptions): void;
313
+ /**
314
+ * @returns Warnings from plugins, filtered from messages.
315
+ */
316
+ warnings(): Warning[];
317
+ /**
318
+ * A CSS string representing this Result's Root instance.
319
+ */
320
+ css: string;
321
+ /**
322
+ * Alias for css property to use with syntaxes that generate non-CSS output.
323
+ */
324
+ content: string;
325
+ /**
326
+ * An instance of the SourceMapGenerator class from the source-map library,
327
+ * representing changes to the Result's Root instance.
328
+ * This property will have a value only if the user does not want an inline
329
+ * source map. By default, PostCSS generates inline source maps, written
330
+ * directly into the processed CSS. The map property will be empty by default.
331
+ * An external source map will be generated — and assigned to map — only if
332
+ * the user has set the map.inline option to false, or if PostCSS was passed
333
+ * an external input source map.
334
+ */
335
+ map: ResultMap;
336
+ /**
337
+ * Contains the Root node after all transformations.
338
+ */
339
+ root?: Root;
340
+ /**
341
+ * Contains messages from plugins (e.g., warnings or custom messages).
342
+ * Add a warning using Result#warn() and get all warnings
343
+ * using the Result#warnings() method.
344
+ */
345
+ messages: ResultMessage[];
346
+ /**
347
+ * The Processor instance used for this transformation.
348
+ */
349
+ processor?: Processor;
350
+ /**
351
+ * Options from the Processor#process(css, opts) or Root#toResult(opts) call
352
+ * that produced this Result instance.
353
+ */
354
+ opts?: ResultOptions;
355
+ }
356
+ interface ResultOptions extends ProcessOptions {
357
+ /**
358
+ * The CSS node that was the source of the warning.
359
+ */
360
+ node?: postcss.Node;
361
+ /**
362
+ * Name of plugin that created this warning. Result#warn() will fill it
363
+ * automatically with plugin.postcssPlugin value.
364
+ */
365
+ plugin?: string;
366
+ }
367
+ interface ResultMap {
368
+ /**
369
+ * Add a single mapping from original source line and column to the generated
370
+ * source's line and column for this source map being created. The mapping
371
+ * object should have the following properties:
372
+ * @param mapping
373
+ * @returns {}
374
+ */
375
+ addMapping(mapping: mozilla.Mapping): void;
376
+ /**
377
+ * Set the source content for an original source file.
378
+ * @param sourceFile The URL of the original source file.
379
+ * @param sourceContent The content of the source file.
380
+ */
381
+ setSourceContent(sourceFile: string, sourceContent: string): void;
382
+ /**
383
+ * Applies a SourceMap for a source file to the SourceMap. Each mapping to
384
+ * the supplied source file is rewritten using the supplied SourceMap.
385
+ * Note: The resolution for the resulting mappings is the minimum of this
386
+ * map and the supplied map.
387
+ * @param sourceMapConsumer The SourceMap to be applied.
388
+ * @param sourceFile The filename of the source file. If omitted, sourceMapConsumer
389
+ * file will be used, if it exists. Otherwise an error will be thrown.
390
+ * @param sourceMapPath The dirname of the path to the SourceMap to be applied.
391
+ * If relative, it is relative to the SourceMap. This parameter is needed when
392
+ * the two SourceMaps aren't in the same directory, and the SourceMap to be
393
+ * applied contains relative source paths. If so, those relative source paths
394
+ * need to be rewritten relative to the SourceMap.
395
+ * If omitted, it is assumed that both SourceMaps are in the same directory;
396
+ * thus, not needing any rewriting (Supplying '.' has the same effect).
397
+ */
398
+ applySourceMap(
399
+ sourceMapConsumer: mozilla.SourceMapConsumer,
400
+ sourceFile?: string,
401
+ sourceMapPath?: string
402
+ ): void;
403
+ /**
404
+ * Renders the source map being generated to JSON.
405
+ */
406
+ toJSON: () => mozilla.RawSourceMap;
407
+ /**
408
+ * Renders the source map being generated to a string.
409
+ */
410
+ toString: () => string;
411
+ }
412
+ interface ResultMessage {
413
+ type: string;
414
+ plugin: string;
415
+ [others: string]: any;
416
+ }
417
+ /**
418
+ * Represents a plugin warning. It can be created using Result#warn().
419
+ */
420
+ interface Warning {
421
+ /**
422
+ * @returns Error position, message.
423
+ */
424
+ toString(): string;
425
+ /**
426
+ * Contains the warning message.
427
+ */
428
+ text: string;
429
+ /**
430
+ * Contains the name of the plugin that created this warning. When you
431
+ * call Result#warn(), it will fill this property automatically.
432
+ */
433
+ plugin: string;
434
+ /**
435
+ * The CSS node that caused the warning.
436
+ */
437
+ node: Node;
438
+ /**
439
+ * The line in the input file with this warning's source.
440
+ */
441
+ line: number;
442
+ /**
443
+ * Column in the input file with this warning's source.
444
+ */
445
+ column: number;
446
+ }
447
+ interface WarningOptions extends ResultOptions {
448
+ /**
449
+ * A word inside a node's string that should be highlighted as source
450
+ * of warning.
451
+ */
452
+ word?: string;
453
+ /**
454
+ * The index inside a node's string that should be highlighted as
455
+ * source of warning.
456
+ */
457
+ index?: number;
458
+ }
459
+ /**
460
+ * The CSS parser throws this error for broken CSS.
461
+ */
462
+ interface CssSyntaxError extends InputOrigin {
463
+ name: string;
464
+ /**
465
+ * @returns Error position, message and source code of broken part.
466
+ */
467
+ toString(): string;
468
+ /**
469
+ * @param color Whether arrow should be colored red by terminal color codes.
470
+ * By default, PostCSS will use process.stdout.isTTY and
471
+ * process.env.NODE_DISABLE_COLORS.
472
+ * @returns A few lines of CSS source that caused the error. If CSS has
473
+ * input source map without sourceContent this method will return an empty
474
+ * string.
475
+ */
476
+ showSourceCode(color?: boolean): string;
477
+ /**
478
+ * Contains full error text in the GNU error format.
479
+ */
480
+ message: string;
481
+ /**
482
+ * Contains only the error description.
483
+ */
484
+ reason: string;
485
+ /**
486
+ * Contains the PostCSS plugin name if the error didn't come from the
487
+ * CSS parser.
488
+ */
489
+ plugin?: string;
490
+ input?: InputOrigin;
491
+ }
492
+ interface InputOrigin {
493
+ /**
494
+ * If parser's from option is set, contains the absolute path to the
495
+ * broken file. PostCSS will use the input source map to detect the
496
+ * original error location. If you wrote a Sass file, then compiled it
497
+ * to CSS and parsed it with PostCSS, PostCSS will show the original
498
+ * position in the Sass file. If you need the position in the PostCSS
499
+ * input (e.g., to debug the previous compiler), use error.input.file.
500
+ */
501
+ file?: string;
502
+ /**
503
+ * Contains the source line of the error. PostCSS will use the input
504
+ * source map to detect the original error location. If you wrote a Sass
505
+ * file, then compiled it to CSS and parsed it with PostCSS, PostCSS
506
+ * will show the original position in the Sass file. If you need the
507
+ * position in the PostCSS input (e.g., to debug the previous
508
+ * compiler), use error.input.line.
509
+ */
510
+ line?: number;
511
+ /**
512
+ * Contains the source column of the error. PostCSS will use input
513
+ * source map to detect the original error location. If you wrote a
514
+ * Sass file, then compiled it to CSS and parsed it with PostCSS,
515
+ * PostCSS will show the original position in the Sass file. If you
516
+ * need the position in the PostCSS input (e.g., to debug the
517
+ * previous compiler), use error.input.column.
518
+ */
519
+ column?: number;
520
+ /**
521
+ * Contains the source code of the broken file. PostCSS will use the
522
+ * input source map to detect the original error location. If you wrote
523
+ * a Sass file, then compiled it to CSS and parsed it with PostCSS,
524
+ * PostCSS will show the original position in the Sass file. If you need
525
+ * the position in the PostCSS input (e.g., to debug the previous
526
+ * compiler), use error.input.source.
527
+ */
528
+ source?: string;
529
+ }
530
+ export class PreviousMap {
531
+ private inline;
532
+ annotation: string;
533
+ root: string;
534
+ private consumerCache;
535
+ text: string;
536
+ file: string;
537
+ constructor(css: any, opts: any);
538
+ consumer(): mozilla.SourceMapConsumer;
539
+ withContent(): boolean;
540
+ startWith(string: string, start: string): boolean;
541
+ getAnnotationURL(sourceMapString: string): string;
542
+ loadAnnotation(css: string): void;
543
+ decodeInline(text: string): string;
544
+ loadMap(
545
+ file: any,
546
+ prev: string | Function | mozilla.SourceMapConsumer | mozilla.SourceMapGenerator | mozilla.RawSourceMap
547
+ ): string;
548
+ isMap(map: any): boolean;
549
+ }
550
+ /**
551
+ * Represents the source CSS.
552
+ */
553
+ interface Input {
554
+ /**
555
+ * The absolute path to the CSS source file defined with the "from" option.
556
+ * Either this property or the "id" property are always defined.
557
+ */
558
+ file?: string;
559
+ /**
560
+ * The unique ID of the CSS source. Used if "from" option is not provided
561
+ * (because PostCSS does not know the file path). Either this property
562
+ * or the "file" property are always defined.
563
+ */
564
+ id?: string;
565
+ /**
566
+ * The CSS source identifier. Contains input.file if the user set the
567
+ * "from" option, or input.id if they did not.
568
+ */
569
+ from: string;
570
+ /**
571
+ * Represents the input source map passed from a compilation step before
572
+ * PostCSS (e.g., from the Sass compiler).
573
+ */
574
+ map: PreviousMap;
575
+ /**
576
+ * The flag to indicate whether or not the source code has Unicode BOM.
577
+ */
578
+ hasBOM: boolean;
579
+ /**
580
+ * Reads the input source map.
581
+ * @returns A symbol position in the input source (e.g., in a Sass file
582
+ * that was compiled to CSS before being passed to PostCSS):
583
+ */
584
+ origin(line: number, column: number): InputOrigin | false;
585
+ }
586
+ type ChildNode = AtRule | Rule | Declaration | Comment;
587
+ type Node = Root | ChildNode;
588
+ interface NodeBase {
589
+ /**
590
+ * Returns the input source of the node. The property is used in source
591
+ * map generation. If you create a node manually
592
+ * (e.g., with postcss.decl() ), that node will not have a source
593
+ * property and will be absent from the source map. For this reason, the
594
+ * plugin developer should consider cloning nodes to create new ones
595
+ * (in which case the new node's source will reference the original,
596
+ * cloned node) or setting the source property manually.
597
+ */
598
+ source?: NodeSource;
599
+ /**
600
+ * Contains information to generate byte-to-byte equal node string as it
601
+ * was in origin input.
602
+ */
603
+ raws: NodeRaws;
604
+ /**
605
+ * @returns A CSS string representing the node.
606
+ */
607
+ toString(stringifier?: Stringifier | Syntax): string;
608
+ /**
609
+ * This method produces very useful error messages. If present, an input
610
+ * source map will be used to get the original position of the source, even
611
+ * from a previous compilation step (e.g., from Sass compilation).
612
+ * @returns The original position of the node in the source, showing line
613
+ * and column numbers and also a small excerpt to facilitate debugging.
614
+ */
615
+ error(
616
+ /**
617
+ * Error description.
618
+ */
619
+ message: string, options?: NodeErrorOptions): CssSyntaxError;
620
+ /**
621
+ * Creates an instance of Warning and adds it to messages. This method is
622
+ * provided as a convenience wrapper for Result#warn.
623
+ * Note that `opts.node` is automatically passed to Result#warn for you.
624
+ * @param result The result that will receive the warning.
625
+ * @param text Warning message. It will be used in the `text` property of
626
+ * the message object.
627
+ * @param opts Properties to assign to the message object.
628
+ */
629
+ warn(result: Result, text: string, opts?: WarningOptions): void;
630
+ /**
631
+ * @returns The next child of the node's parent; or, returns undefined if
632
+ * the current node is the last child.
633
+ */
634
+ next(): ChildNode | undefined;
635
+ /**
636
+ * @returns The previous child of the node's parent; or, returns undefined
637
+ * if the current node is the first child.
638
+ */
639
+ prev(): ChildNode | undefined;
640
+ /**
641
+ * Insert new node before current node to current node’s parent.
642
+ *
643
+ * Just an alias for `node.parent.insertBefore(node, newNode)`.
644
+ *
645
+ * @returns this node for method chaining.
646
+ *
647
+ * @example
648
+ * decl.before('content: ""');
649
+ */
650
+ before(newNode: Node | object | string | Node[]): this;
651
+ /**
652
+ * Insert new node after current node to current node’s parent.
653
+ *
654
+ * Just an alias for `node.parent.insertAfter(node, newNode)`.
655
+ *
656
+ * @returns this node for method chaining.
657
+ *
658
+ * @example
659
+ * decl.after('color: black');
660
+ */
661
+ after(newNode: Node | object | string | Node[]): this;
662
+ /**
663
+ * @returns The Root instance of the node's tree.
664
+ */
665
+ root(): Root;
666
+ /**
667
+ * Removes the node from its parent and cleans the parent property in the
668
+ * node and its children.
669
+ * @returns This node for chaining.
670
+ */
671
+ remove(): this;
672
+ /**
673
+ * Inserts node(s) before the current node and removes the current node.
674
+ * @returns This node for chaining.
675
+ */
676
+ replaceWith(...nodes: (Node | object)[]): this;
677
+ /**
678
+ * @param overrides New properties to override in the clone.
679
+ * @returns A clone of this node. The node and its (cloned) children will
680
+ * have a clean parent and code style properties.
681
+ */
682
+ clone(overrides?: object): this;
683
+ /**
684
+ * Shortcut to clone the node and insert the resulting cloned node before
685
+ * the current node.
686
+ * @param overrides New Properties to override in the clone.
687
+ * @returns The cloned node.
688
+ */
689
+ cloneBefore(overrides?: object): this;
690
+ /**
691
+ * Shortcut to clone the node and insert the resulting cloned node after
692
+ * the current node.
693
+ * @param overrides New Properties to override in the clone.
694
+ * @returns The cloned node.
695
+ */
696
+ cloneAfter(overrides?: object): this;
697
+ /**
698
+ * @param prop Name or code style property.
699
+ * @param defaultType Name of default value. It can be easily missed if the
700
+ * value is the same as prop.
701
+ * @returns A code style property value. If the node is missing the code
702
+ * style property (because the node was manually built or cloned), PostCSS
703
+ * will try to autodetect the code style property by looking at other nodes
704
+ * in the tree.
705
+ */
706
+ raw(prop: string, defaultType?: string): string;
707
+ }
708
+ interface NodeNewProps {
709
+ source?: NodeSource;
710
+ raws?: NodeRaws;
711
+ }
712
+ interface NodeRaws {
713
+ /**
714
+ * The space symbols before the node. It also stores `*` and `_`
715
+ * symbols before the declaration (IE hack).
716
+ */
717
+ before?: string;
718
+ /**
719
+ * The space symbols after the last child of the node to the end of
720
+ * the node.
721
+ */
722
+ after?: string;
723
+ /**
724
+ * The symbols between the property and value for declarations,
725
+ * selector and "{" for rules, last parameter and "{" for at-rules.
726
+ */
727
+ between?: string;
728
+ /**
729
+ * True if last child has (optional) semicolon.
730
+ */
731
+ semicolon?: boolean;
732
+ /**
733
+ * The space between the at-rule's name and parameters.
734
+ */
735
+ afterName?: string;
736
+ /**
737
+ * The space symbols between "/*" and comment's text.
738
+ */
739
+ left?: string;
740
+ /**
741
+ * The space symbols between comment's text and "*\/".
742
+ */
743
+ right?: string;
744
+ /**
745
+ * The content of important statement, if it is not just "!important".
746
+ */
747
+ important?: string;
748
+ }
749
+ interface NodeSource {
750
+ input: Input;
751
+ /**
752
+ * The starting position of the node's source.
753
+ */
754
+ start?: {
755
+ column: number;
756
+ line: number;
757
+ };
758
+ /**
759
+ * The ending position of the node's source.
760
+ */
761
+ end?: {
762
+ column: number;
763
+ line: number;
764
+ };
765
+ }
766
+ interface NodeErrorOptions {
767
+ /**
768
+ * Plugin name that created this error. PostCSS will set it automatically.
769
+ */
770
+ plugin?: string;
771
+ /**
772
+ * A word inside a node's string, that should be highlighted as source
773
+ * of error.
774
+ */
775
+ word?: string;
776
+ /**
777
+ * An index inside a node's string that should be highlighted as source
778
+ * of error.
779
+ */
780
+ index?: number;
781
+ }
782
+ interface JsonNode {
783
+ /**
784
+ * Returns a string representing the node's type. Possible values are
785
+ * root, atrule, rule, decl or comment.
786
+ */
787
+ type?: string;
788
+ /**
789
+ * Returns the node's parent node.
790
+ */
791
+ parent?: JsonContainer;
792
+ /**
793
+ * Returns the input source of the node. The property is used in source
794
+ * map generation. If you create a node manually (e.g., with
795
+ * postcss.decl() ), that node will not have a source property and
796
+ * will be absent from the source map. For this reason, the plugin
797
+ * developer should consider cloning nodes to create new ones (in which
798
+ * case the new node's source will reference the original, cloned node)
799
+ * or setting the source property manually.
800
+ */
801
+ source?: NodeSource;
802
+ /**
803
+ * Contains information to generate byte-to-byte equal node string as it
804
+ * was in origin input.
805
+ */
806
+ raws?: NodeRaws;
807
+ }
808
+ type Container = Root | AtRule | Rule;
809
+ /**
810
+ * Containers can store any content. If you write a rule inside a rule,
811
+ * PostCSS will parse it.
812
+ */
813
+ interface ContainerBase extends NodeBase {
814
+ /**
815
+ * Contains the container's children.
816
+ */
817
+ nodes?: ChildNode[];
818
+ /**
819
+ * @returns The container's first child.
820
+ */
821
+ first?: ChildNode;
822
+ /**
823
+ * @returns The container's last child.
824
+ */
825
+ last?: ChildNode;
826
+ /**
827
+ * @param overrides New properties to override in the clone.
828
+ * @returns A clone of this node. The node and its (cloned) children will
829
+ * have a clean parent and code style properties.
830
+ */
831
+ clone(overrides?: object): this;
832
+ /**
833
+ * @param child Child of the current container.
834
+ * @returns The child's index within the container's "nodes" array.
835
+ */
836
+ index(child: ChildNode | number): number;
837
+ /**
838
+ * Determines whether all child nodes satisfy the specified test.
839
+ * @param callback A function that accepts up to three arguments. The
840
+ * every method calls the callback function for each node until the
841
+ * callback returns false, or until the end of the array.
842
+ * @returns True if the callback returns true for all of the container's
843
+ * children.
844
+ */
845
+ every(callback: (node: ChildNode, index: number, nodes: ChildNode[]) => boolean): boolean;
846
+ /**
847
+ * Determines whether the specified callback returns true for any child node.
848
+ * @param callback A function that accepts up to three arguments. The some
849
+ * method calls the callback for each node until the callback returns true,
850
+ * or until the end of the array.
851
+ * @returns True if callback returns true for (at least) one of the
852
+ * container's children.
853
+ */
854
+ some(callback: (node: ChildNode, index: number, nodes: ChildNode[]) => boolean): boolean;
855
+ /**
856
+ * Iterates through the container's immediate children, calling the
857
+ * callback function for each child. If you need to recursively iterate
858
+ * through all the container's descendant nodes, use container.walk().
859
+ * Unlike the for {} -cycle or Array#forEach() this iterator is safe if
860
+ * you are mutating the array of child nodes during iteration.
861
+ * @param callback Iterator. Returning false will break iteration. Safe
862
+ * if you are mutating the array of child nodes during iteration. PostCSS
863
+ * will adjust the current index to match the mutations.
864
+ * @returns False if the callback returns false during iteration.
865
+ */
866
+ each(callback: (node: ChildNode, index: number) => void): void;
867
+ each(callback: (node: ChildNode, index: number) => boolean): boolean;
868
+ /**
869
+ * Traverses the container's descendant nodes, calling `callback` for each
870
+ * node. Like container.each(), this method is safe to use if you are
871
+ * mutating arrays during iteration. If you only need to iterate through
872
+ * the container's immediate children, use container.each().
873
+ * @param callback Iterator.
874
+ */
875
+ walk(callback: (node: ChildNode, index: number) => void): void;
876
+ walk(callback: (node: ChildNode, index: number) => boolean): boolean;
877
+ /**
878
+ * Traverses the container's descendant nodes, calling `callback` for each
879
+ * declaration. Like container.each(), this method is safe to use if you
880
+ * are mutating arrays during iteration.
881
+ * @param propFilter Filters declarations by property name. Only those
882
+ * declarations whose property matches propFilter will be iterated over.
883
+ * @param callback Called for each declaration node within the container.
884
+ */
885
+ walkDecls(propFilter: string | RegExp, callback: (decl: Declaration, index: number) => void): void;
886
+ walkDecls(callback: (decl: Declaration, index: number) => void): void;
887
+ walkDecls(propFilter: string | RegExp, callback: (decl: Declaration, index: number) => boolean): boolean;
888
+ walkDecls(callback: (decl: Declaration, index: number) => boolean): boolean;
889
+ /**
890
+ * Traverses the container's descendant nodes, calling `callback` for each
891
+ * at-rule. Like container.each(), this method is safe to use if you are
892
+ * mutating arrays during iteration.
893
+ * @param nameFilter Filters at-rules by name. If provided, iteration
894
+ * will only happen over at-rules that have matching names.
895
+ * @param callback Iterator called for each at-rule node within the
896
+ * container.
897
+ */
898
+ walkAtRules(nameFilter: string | RegExp, callback: (atRule: AtRule, index: number) => void): void;
899
+ walkAtRules(callback: (atRule: AtRule, index: number) => void): void;
900
+ walkAtRules(nameFilter: string | RegExp, callback: (atRule: AtRule, index: number) => boolean): boolean;
901
+ walkAtRules(callback: (atRule: AtRule, index: number) => boolean): boolean;
902
+ /**
903
+ * Traverses the container's descendant nodes, calling `callback` for each
904
+ * rule. Like container.each(), this method is safe to use if you are
905
+ * mutating arrays during iteration.
906
+ * @param selectorFilter Filters rules by selector. If provided,
907
+ * iteration will only happen over rules that have matching names.
908
+ * @param callback Iterator called for each rule node within the
909
+ * container.
910
+ */
911
+ walkRules(selectorFilter: string | RegExp, callback: (atRule: Rule, index: number) => void): void;
912
+ walkRules(callback: (atRule: Rule, index: number) => void): void;
913
+ walkRules(selectorFilter: string | RegExp, callback: (atRule: Rule, index: number) => boolean): boolean;
914
+ walkRules(callback: (atRule: Rule, index: number) => boolean): boolean;
915
+ /**
916
+ * Traverses the container's descendant nodes, calling `callback` for each
917
+ * comment. Like container.each(), this method is safe to use if you are
918
+ * mutating arrays during iteration.
919
+ * @param callback Iterator called for each comment node within the container.
920
+ */
921
+ walkComments(callback: (comment: Comment, indexed: number) => void): void;
922
+ walkComments(callback: (comment: Comment, indexed: number) => boolean): boolean;
923
+ /**
924
+ * Passes all declaration values within the container that match pattern
925
+ * through the callback, replacing those values with the returned result of
926
+ * callback. This method is useful if you are using a custom unit or
927
+ * function and need to iterate through all values.
928
+ * @param pattern Pattern that we need to replace.
929
+ * @param options Options to speed up the search.
930
+ * @param callbackOrReplaceValue String to replace pattern or callback
931
+ * that will return a new value. The callback will receive the same
932
+ * arguments as those passed to a function parameter of String#replace.
933
+ */
934
+ replaceValues(pattern: string | RegExp, options: {
935
+ /**
936
+ * Property names. The method will only search for values that match
937
+ * regexp within declarations of listed properties.
938
+ */
939
+ props?: string[];
940
+ /**
941
+ * Used to narrow down values and speed up the regexp search. Searching
942
+ * every single value with a regexp can be slow. If you pass a fast
943
+ * string, PostCSS will first check whether the value contains the fast
944
+ * string; and only if it does will PostCSS check that value against
945
+ * regexp. For example, instead of just checking for /\d+rem/ on all
946
+ * values, set fast: 'rem' to first check whether a value has the rem
947
+ * unit, and only if it does perform the regexp check.
948
+ */
949
+ fast?: string;
950
+ }, callbackOrReplaceValue: string | {
951
+ (substring: string, ...args: any[]): string;
952
+ }): this;
953
+ replaceValues(pattern: string | RegExp, callbackOrReplaceValue: string | {
954
+ (substring: string, ...args: any[]): string;
955
+ }): this;
956
+ /**
957
+ * Inserts new nodes to the beginning of the container.
958
+ * Because each node class is identifiable by unique properties, use the
959
+ * following shortcuts to create nodes in insert methods:
960
+ * root.prepend({ name: '@charset', params: '"UTF-8"' }); // at-rule
961
+ * root.prepend({ selector: 'a' }); // rule
962
+ * rule.prepend({ prop: 'color', value: 'black' }); // declaration
963
+ * rule.prepend({ text: 'Comment' }) // comment
964
+ * A string containing the CSS of the new element can also be used. This
965
+ * approach is slower than the above shortcuts.
966
+ * root.prepend('a {}');
967
+ * root.first.prepend('color: black; z-index: 1');
968
+ * @param nodes New nodes.
969
+ * @returns This container for chaining.
970
+ */
971
+ prepend(...nodes: (Node | object | string)[]): this;
972
+ /**
973
+ * Inserts new nodes to the end of the container.
974
+ * Because each node class is identifiable by unique properties, use the
975
+ * following shortcuts to create nodes in insert methods:
976
+ * root.append({ name: '@charset', params: '"UTF-8"' }); // at-rule
977
+ * root.append({ selector: 'a' }); // rule
978
+ * rule.append({ prop: 'color', value: 'black' }); // declaration
979
+ * rule.append({ text: 'Comment' }) // comment
980
+ * A string containing the CSS of the new element can also be used. This
981
+ * approach is slower than the above shortcuts.
982
+ * root.append('a {}');
983
+ * root.first.append('color: black; z-index: 1');
984
+ * @param nodes New nodes.
985
+ * @returns This container for chaining.
986
+ */
987
+ append(...nodes: (Node | object | string)[]): this;
988
+ /**
989
+ * Insert newNode before oldNode within the container.
990
+ * @param oldNode Child or child's index.
991
+ * @returns This container for chaining.
992
+ */
993
+ insertBefore(oldNode: ChildNode | number, newNode: ChildNode | object | string): this;
994
+ /**
995
+ * Insert newNode after oldNode within the container.
996
+ * @param oldNode Child or child's index.
997
+ * @returns This container for chaining.
998
+ */
999
+ insertAfter(oldNode: ChildNode | number, newNode: ChildNode | object | string): this;
1000
+ /**
1001
+ * Removes the container from its parent and cleans the parent property in the
1002
+ * container and its children.
1003
+ * @returns This container for chaining.
1004
+ */
1005
+ remove(): this;
1006
+ /**
1007
+ * Removes child from the container and cleans the parent properties
1008
+ * from the node and its children.
1009
+ * @param child Child or child's index.
1010
+ * @returns This container for chaining.
1011
+ */
1012
+ removeChild(child: ChildNode | number): this;
1013
+ /**
1014
+ * Removes all children from the container and cleans their parent
1015
+ * properties.
1016
+ * @returns This container for chaining.
1017
+ */
1018
+ removeAll(): this;
1019
+ }
1020
+ interface ContainerNewProps extends NodeNewProps {
1021
+ /**
1022
+ * Contains the container's children.
1023
+ */
1024
+ nodes?: ChildNode[];
1025
+ raws?: ContainerRaws;
1026
+ }
1027
+ interface ContainerRaws extends NodeRaws {
1028
+ indent?: string;
1029
+ }
1030
+ interface JsonContainer extends JsonNode {
1031
+ /**
1032
+ * Contains the container's children.
1033
+ */
1034
+ nodes?: ChildNode[];
1035
+ /**
1036
+ * @returns The container's first child.
1037
+ */
1038
+ first?: ChildNode;
1039
+ /**
1040
+ * @returns The container's last child.
1041
+ */
1042
+ last?: ChildNode;
1043
+ }
1044
+ /**
1045
+ * Represents a CSS file and contains all its parsed nodes.
1046
+ */
1047
+ interface Root extends ContainerBase {
1048
+ type: 'root';
1049
+ /**
1050
+ * Inherited from Container. Should always be undefined for a Root node.
1051
+ */
1052
+ parent: void;
1053
+ /**
1054
+ * @param overrides New properties to override in the clone.
1055
+ * @returns A clone of this node. The node and its (cloned) children will
1056
+ * have a clean parent and code style properties.
1057
+ */
1058
+ clone(overrides?: object): this;
1059
+ /**
1060
+ * @returns A Result instance representing the root's CSS.
1061
+ */
1062
+ toResult(options?: {
1063
+ /**
1064
+ * The path where you'll put the output CSS file. You should always
1065
+ * set "to" to generate correct source maps.
1066
+ */
1067
+ to?: string;
1068
+ map?: SourceMapOptions;
1069
+ }): Result;
1070
+ /**
1071
+ * Removes child from the root node, and the parent properties of node and
1072
+ * its children.
1073
+ * @param child Child or child's index.
1074
+ * @returns This root node for chaining.
1075
+ */
1076
+ removeChild(child: ChildNode | number): this;
1077
+ }
1078
+ interface RootNewProps extends ContainerNewProps {
1079
+ }
1080
+ interface JsonRoot extends JsonContainer {
1081
+ }
1082
+ /**
1083
+ * Represents an at-rule. If it's followed in the CSS by a {} block, this
1084
+ * node will have a nodes property representing its children.
1085
+ */
1086
+ interface AtRule extends ContainerBase {
1087
+ type: 'atrule';
1088
+ /**
1089
+ * Returns the atrule's parent node.
1090
+ */
1091
+ parent: Container;
1092
+ /**
1093
+ * The identifier that immediately follows the @.
1094
+ */
1095
+ name: string;
1096
+ /**
1097
+ * These are the values that follow the at-rule's name, but precede any {}
1098
+ * block. The spec refers to this area as the at-rule's "prelude".
1099
+ */
1100
+ params: string;
1101
+ /**
1102
+ * @param overrides New properties to override in the clone.
1103
+ * @returns A clone of this node. The node and its (cloned) children will
1104
+ * have a clean parent and code style properties.
1105
+ */
1106
+ clone(overrides?: object): this;
1107
+ }
1108
+ interface AtRuleNewProps extends ContainerNewProps {
1109
+ /**
1110
+ * The identifier that immediately follows the @.
1111
+ */
1112
+ name?: string;
1113
+ /**
1114
+ * These are the values that follow the at-rule's name, but precede any {}
1115
+ * block. The spec refers to this area as the at-rule's "prelude".
1116
+ */
1117
+ params?: string | number;
1118
+ raws?: AtRuleRaws;
1119
+ }
1120
+ interface AtRuleRaws extends NodeRaws {
1121
+ params?: string;
1122
+ }
1123
+ interface JsonAtRule extends JsonContainer {
1124
+ /**
1125
+ * The identifier that immediately follows the @.
1126
+ */
1127
+ name?: string;
1128
+ /**
1129
+ * These are the values that follow the at-rule's name, but precede any {}
1130
+ * block. The spec refers to this area as the at-rule's "prelude".
1131
+ */
1132
+ params?: string;
1133
+ }
1134
+ /**
1135
+ * Represents a CSS rule: a selector followed by a declaration block.
1136
+ */
1137
+ interface Rule extends ContainerBase {
1138
+ type: 'rule';
1139
+ /**
1140
+ * Returns the rule's parent node.
1141
+ */
1142
+ parent: Container;
1143
+ /**
1144
+ * The rule's full selector. If there are multiple comma-separated selectors,
1145
+ * the entire group will be included.
1146
+ */
1147
+ selector: string;
1148
+ /**
1149
+ * An array containing the rule's individual selectors.
1150
+ * Groups of selectors are split at commas.
1151
+ */
1152
+ selectors: string[];
1153
+ /**
1154
+ * @param overrides New properties to override in the clone.
1155
+ * @returns A clone of this node. The node and its (cloned) children will
1156
+ * have a clean parent and code style properties.
1157
+ */
1158
+ clone(overrides?: object): this;
1159
+ }
1160
+ interface RuleNewProps extends ContainerNewProps {
1161
+ /**
1162
+ * The rule's full selector. If there are multiple comma-separated selectors,
1163
+ * the entire group will be included.
1164
+ */
1165
+ selector?: string;
1166
+ /**
1167
+ * An array containing the rule's individual selectors. Groups of selectors
1168
+ * are split at commas.
1169
+ */
1170
+ selectors?: string[];
1171
+ raws?: RuleRaws;
1172
+ }
1173
+ interface RuleRaws extends ContainerRaws {
1174
+ /**
1175
+ * The rule's full selector. If there are multiple comma-separated selectors,
1176
+ * the entire group will be included.
1177
+ */
1178
+ selector?: string;
1179
+ }
1180
+ interface JsonRule extends JsonContainer {
1181
+ /**
1182
+ * The rule's full selector. If there are multiple comma-separated selectors,
1183
+ * the entire group will be included.
1184
+ */
1185
+ selector?: string;
1186
+ /**
1187
+ * An array containing the rule's individual selectors.
1188
+ * Groups of selectors are split at commas.
1189
+ */
1190
+ selectors?: string[];
1191
+ }
1192
+ /**
1193
+ * Represents a CSS declaration.
1194
+ */
1195
+ interface Declaration extends NodeBase {
1196
+ type: 'decl';
1197
+ /**
1198
+ * Returns the declaration's parent node.
1199
+ */
1200
+ parent: Container;
1201
+ /**
1202
+ * The declaration's property name.
1203
+ */
1204
+ prop: string;
1205
+ /**
1206
+ * The declaration's value. This value will be cleaned of comments. If the
1207
+ * source value contained comments, those comments will be available in the
1208
+ * _value.raws property. If you have not changed the value, the result of
1209
+ * decl.toString() will include the original raws value (comments and all).
1210
+ */
1211
+ value: string;
1212
+ /**
1213
+ * True if the declaration has an !important annotation.
1214
+ */
1215
+ important: boolean;
1216
+ /**
1217
+ * @param overrides New properties to override in the clone.
1218
+ * @returns A clone of this node. The node and its (cloned) children will
1219
+ * have a clean parent and code style properties.
1220
+ */
1221
+ clone(overrides?: object): this;
1222
+ }
1223
+ interface DeclarationNewProps {
1224
+ /**
1225
+ * The declaration's property name.
1226
+ */
1227
+ prop?: string;
1228
+ /**
1229
+ * The declaration's value. This value will be cleaned of comments. If the
1230
+ * source value contained comments, those comments will be available in the
1231
+ * _value.raws property. If you have not changed the value, the result of
1232
+ * decl.toString() will include the original raws value (comments and all).
1233
+ */
1234
+ value?: string;
1235
+ raws?: DeclarationRaws;
1236
+ }
1237
+ interface DeclarationRaws extends NodeRaws {
1238
+ /**
1239
+ * The declaration's value. This value will be cleaned of comments.
1240
+ * If the source value contained comments, those comments will be
1241
+ * available in the _value.raws property. If you have not changed the value, the result of
1242
+ * decl.toString() will include the original raws value (comments and all).
1243
+ */
1244
+ value?: string;
1245
+ }
1246
+ interface JsonDeclaration extends JsonNode {
1247
+ /**
1248
+ * True if the declaration has an !important annotation.
1249
+ */
1250
+ important?: boolean;
1251
+ }
1252
+ /**
1253
+ * Represents a comment between declarations or statements (rule and at-rules).
1254
+ * Comments inside selectors, at-rule parameters, or declaration values will
1255
+ * be stored in the Node#raws properties.
1256
+ */
1257
+ interface Comment extends NodeBase {
1258
+ type: 'comment';
1259
+ /**
1260
+ * Returns the comment's parent node.
1261
+ */
1262
+ parent: Container;
1263
+ /**
1264
+ * The comment's text.
1265
+ */
1266
+ text: string;
1267
+ /**
1268
+ * @param overrides New properties to override in the clone.
1269
+ * @returns A clone of this node. The node and its (cloned) children will
1270
+ * have a clean parent and code style properties.
1271
+ */
1272
+ clone(overrides?: object): this;
1273
+ }
1274
+ interface CommentNewProps {
1275
+ /**
1276
+ * The comment's text.
1277
+ */
1278
+ text?: string;
1279
+ }
1280
+ interface JsonComment extends JsonNode {
1281
+ }
1282
+ }
1283
+ export = postcss;