create-docusaurus 0.0.0-4470 → 0.0.0-4485

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 (872) hide show
  1. package/lib/index.js +3 -4
  2. package/package.json +3 -3
  3. package/templates/classic/package.json +3 -3
  4. package/templates/classic-typescript/package.json +4 -4
  5. package/templates/facebook/package.json +3 -3
  6. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/CHANGELOG.md +0 -18
  7. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/LICENSE +0 -21
  8. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/README.md +0 -91
  9. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/camel-case.js +0 -13
  10. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/extract.js +0 -462
  11. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/get-template.js +0 -7
  12. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/index.js +0 -6
  13. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/literal.js +0 -23
  14. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/object-parse.js +0 -15
  15. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/object-parser.js +0 -357
  16. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/object-stringifier.js +0 -153
  17. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/object-stringify.js +0 -9
  18. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/object-syntax.js +0 -11
  19. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/object.js +0 -24
  20. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/package.json +0 -119
  21. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/template-parse.js +0 -19
  22. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/template-parser-helper.js +0 -260
  23. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/template-parser.js +0 -20
  24. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/template-safe-parse.js +0 -19
  25. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/template-safe-parser.js +0 -21
  26. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/template-stringifier.js +0 -23
  27. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/template-stringify.js +0 -9
  28. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/template-tokenize.js +0 -67
  29. package/templates/facebook/node_modules/@stylelint/postcss-css-in-js/un-camel-case.js +0 -13
  30. package/templates/facebook/node_modules/@stylelint/postcss-markdown/CHANGELOG.md +0 -13
  31. package/templates/facebook/node_modules/@stylelint/postcss-markdown/LICENSE +0 -21
  32. package/templates/facebook/node_modules/@stylelint/postcss-markdown/README.md +0 -92
  33. package/templates/facebook/node_modules/@stylelint/postcss-markdown/extract.js +0 -42
  34. package/templates/facebook/node_modules/@stylelint/postcss-markdown/index.js +0 -5
  35. package/templates/facebook/node_modules/@stylelint/postcss-markdown/package.json +0 -63
  36. package/templates/facebook/node_modules/autoprefixer/LICENSE +0 -20
  37. package/templates/facebook/node_modules/autoprefixer/README.md +0 -73
  38. package/templates/facebook/node_modules/autoprefixer/bin/autoprefixer +0 -22
  39. package/templates/facebook/node_modules/autoprefixer/data/prefixes.js +0 -714
  40. package/templates/facebook/node_modules/autoprefixer/lib/at-rule.js +0 -62
  41. package/templates/facebook/node_modules/autoprefixer/lib/autoprefixer.js +0 -150
  42. package/templates/facebook/node_modules/autoprefixer/lib/brackets.js +0 -64
  43. package/templates/facebook/node_modules/autoprefixer/lib/browsers.js +0 -96
  44. package/templates/facebook/node_modules/autoprefixer/lib/declaration.js +0 -243
  45. package/templates/facebook/node_modules/autoprefixer/lib/hacks/align-content.js +0 -79
  46. package/templates/facebook/node_modules/autoprefixer/lib/hacks/align-items.js +0 -76
  47. package/templates/facebook/node_modules/autoprefixer/lib/hacks/align-self.js +0 -84
  48. package/templates/facebook/node_modules/autoprefixer/lib/hacks/animation.js +0 -35
  49. package/templates/facebook/node_modules/autoprefixer/lib/hacks/appearance.js +0 -39
  50. package/templates/facebook/node_modules/autoprefixer/lib/hacks/backdrop-filter.js +0 -35
  51. package/templates/facebook/node_modules/autoprefixer/lib/hacks/background-clip.js +0 -41
  52. package/templates/facebook/node_modules/autoprefixer/lib/hacks/background-size.js +0 -38
  53. package/templates/facebook/node_modules/autoprefixer/lib/hacks/block-logical.js +0 -48
  54. package/templates/facebook/node_modules/autoprefixer/lib/hacks/border-image.js +0 -33
  55. package/templates/facebook/node_modules/autoprefixer/lib/hacks/border-radius.js +0 -62
  56. package/templates/facebook/node_modules/autoprefixer/lib/hacks/break-props.js +0 -76
  57. package/templates/facebook/node_modules/autoprefixer/lib/hacks/color-adjust.js +0 -40
  58. package/templates/facebook/node_modules/autoprefixer/lib/hacks/cross-fade.js +0 -54
  59. package/templates/facebook/node_modules/autoprefixer/lib/hacks/display-flex.js +0 -94
  60. package/templates/facebook/node_modules/autoprefixer/lib/hacks/display-grid.js +0 -41
  61. package/templates/facebook/node_modules/autoprefixer/lib/hacks/filter-value.js +0 -31
  62. package/templates/facebook/node_modules/autoprefixer/lib/hacks/filter.js +0 -33
  63. package/templates/facebook/node_modules/autoprefixer/lib/hacks/flex-basis.js +0 -72
  64. package/templates/facebook/node_modules/autoprefixer/lib/hacks/flex-direction.js +0 -108
  65. package/templates/facebook/node_modules/autoprefixer/lib/hacks/flex-flow.js +0 -81
  66. package/templates/facebook/node_modules/autoprefixer/lib/hacks/flex-grow.js +0 -57
  67. package/templates/facebook/node_modules/autoprefixer/lib/hacks/flex-shrink.js +0 -72
  68. package/templates/facebook/node_modules/autoprefixer/lib/hacks/flex-spec.js +0 -22
  69. package/templates/facebook/node_modules/autoprefixer/lib/hacks/flex-wrap.js +0 -40
  70. package/templates/facebook/node_modules/autoprefixer/lib/hacks/flex.js +0 -85
  71. package/templates/facebook/node_modules/autoprefixer/lib/hacks/fullscreen.js +0 -40
  72. package/templates/facebook/node_modules/autoprefixer/lib/hacks/gradient.js +0 -519
  73. package/templates/facebook/node_modules/autoprefixer/lib/hacks/grid-area.js +0 -52
  74. package/templates/facebook/node_modules/autoprefixer/lib/hacks/grid-column-align.js +0 -48
  75. package/templates/facebook/node_modules/autoprefixer/lib/hacks/grid-end.js +0 -62
  76. package/templates/facebook/node_modules/autoprefixer/lib/hacks/grid-row-align.js +0 -48
  77. package/templates/facebook/node_modules/autoprefixer/lib/hacks/grid-row-column.js +0 -52
  78. package/templates/facebook/node_modules/autoprefixer/lib/hacks/grid-rows-columns.js +0 -149
  79. package/templates/facebook/node_modules/autoprefixer/lib/hacks/grid-start.js +0 -55
  80. package/templates/facebook/node_modules/autoprefixer/lib/hacks/grid-template-areas.js +0 -101
  81. package/templates/facebook/node_modules/autoprefixer/lib/hacks/grid-template.js +0 -90
  82. package/templates/facebook/node_modules/autoprefixer/lib/hacks/grid-utils.js +0 -1123
  83. package/templates/facebook/node_modules/autoprefixer/lib/hacks/image-rendering.js +0 -71
  84. package/templates/facebook/node_modules/autoprefixer/lib/hacks/image-set.js +0 -38
  85. package/templates/facebook/node_modules/autoprefixer/lib/hacks/inline-logical.js +0 -40
  86. package/templates/facebook/node_modules/autoprefixer/lib/hacks/intrinsic.js +0 -74
  87. package/templates/facebook/node_modules/autoprefixer/lib/hacks/justify-content.js +0 -85
  88. package/templates/facebook/node_modules/autoprefixer/lib/hacks/mask-border.js +0 -46
  89. package/templates/facebook/node_modules/autoprefixer/lib/hacks/mask-composite.js +0 -104
  90. package/templates/facebook/node_modules/autoprefixer/lib/hacks/order.js +0 -72
  91. package/templates/facebook/node_modules/autoprefixer/lib/hacks/overscroll-behavior.js +0 -54
  92. package/templates/facebook/node_modules/autoprefixer/lib/hacks/pixelated.js +0 -58
  93. package/templates/facebook/node_modules/autoprefixer/lib/hacks/place-self.js +0 -55
  94. package/templates/facebook/node_modules/autoprefixer/lib/hacks/placeholder-shown.js +0 -36
  95. package/templates/facebook/node_modules/autoprefixer/lib/hacks/placeholder.js +0 -56
  96. package/templates/facebook/node_modules/autoprefixer/lib/hacks/text-decoration-skip-ink.js +0 -38
  97. package/templates/facebook/node_modules/autoprefixer/lib/hacks/text-decoration.js +0 -36
  98. package/templates/facebook/node_modules/autoprefixer/lib/hacks/text-emphasis-position.js +0 -33
  99. package/templates/facebook/node_modules/autoprefixer/lib/hacks/transform-decl.js +0 -105
  100. package/templates/facebook/node_modules/autoprefixer/lib/hacks/user-select.js +0 -36
  101. package/templates/facebook/node_modules/autoprefixer/lib/hacks/writing-mode.js +0 -59
  102. package/templates/facebook/node_modules/autoprefixer/lib/info.js +0 -149
  103. package/templates/facebook/node_modules/autoprefixer/lib/old-selector.js +0 -88
  104. package/templates/facebook/node_modules/autoprefixer/lib/old-value.js +0 -30
  105. package/templates/facebook/node_modules/autoprefixer/lib/prefixer.js +0 -167
  106. package/templates/facebook/node_modules/autoprefixer/lib/prefixes.js +0 -471
  107. package/templates/facebook/node_modules/autoprefixer/lib/processor.js +0 -703
  108. package/templates/facebook/node_modules/autoprefixer/lib/resolution.js +0 -125
  109. package/templates/facebook/node_modules/autoprefixer/lib/selector.js +0 -198
  110. package/templates/facebook/node_modules/autoprefixer/lib/supports.js +0 -346
  111. package/templates/facebook/node_modules/autoprefixer/lib/transition.js +0 -411
  112. package/templates/facebook/node_modules/autoprefixer/lib/utils.js +0 -103
  113. package/templates/facebook/node_modules/autoprefixer/lib/value.js +0 -164
  114. package/templates/facebook/node_modules/autoprefixer/package.json +0 -30
  115. package/templates/facebook/node_modules/known-css-properties/LICENSE +0 -21
  116. package/templates/facebook/node_modules/known-css-properties/README.md +0 -48
  117. package/templates/facebook/node_modules/known-css-properties/data/all.json +0 -1144
  118. package/templates/facebook/node_modules/known-css-properties/index.js +0 -1
  119. package/templates/facebook/node_modules/known-css-properties/package.json +0 -56
  120. package/templates/facebook/node_modules/meow/index.d.ts +0 -315
  121. package/templates/facebook/node_modules/meow/index.js +0 -236
  122. package/templates/facebook/node_modules/meow/license +0 -9
  123. package/templates/facebook/node_modules/meow/package.json +0 -77
  124. package/templates/facebook/node_modules/meow/readme.md +0 -352
  125. package/templates/facebook/node_modules/picocolors/LICENSE +0 -15
  126. package/templates/facebook/node_modules/picocolors/README.md +0 -23
  127. package/templates/facebook/node_modules/picocolors/package.json +0 -25
  128. package/templates/facebook/node_modules/picocolors/picocolors.browser.js +0 -4
  129. package/templates/facebook/node_modules/picocolors/picocolors.d.ts +0 -5
  130. package/templates/facebook/node_modules/picocolors/picocolors.js +0 -60
  131. package/templates/facebook/node_modules/picocolors/types.ts +0 -30
  132. package/templates/facebook/node_modules/postcss/LICENSE +0 -20
  133. package/templates/facebook/node_modules/postcss/README.md +0 -43
  134. package/templates/facebook/node_modules/postcss/lib/at-rule.js +0 -127
  135. package/templates/facebook/node_modules/postcss/lib/comment.js +0 -55
  136. package/templates/facebook/node_modules/postcss/lib/container.js +0 -774
  137. package/templates/facebook/node_modules/postcss/lib/css-syntax-error.js +0 -296
  138. package/templates/facebook/node_modules/postcss/lib/declaration.js +0 -96
  139. package/templates/facebook/node_modules/postcss/lib/input.js +0 -214
  140. package/templates/facebook/node_modules/postcss/lib/lazy-result.js +0 -437
  141. package/templates/facebook/node_modules/postcss/lib/list.js +0 -93
  142. package/templates/facebook/node_modules/postcss/lib/map-generator.js +0 -347
  143. package/templates/facebook/node_modules/postcss/lib/node.js +0 -606
  144. package/templates/facebook/node_modules/postcss/lib/parse.js +0 -40
  145. package/templates/facebook/node_modules/postcss/lib/parser.js +0 -609
  146. package/templates/facebook/node_modules/postcss/lib/postcss.d.ts +0 -1283
  147. package/templates/facebook/node_modules/postcss/lib/postcss.js +0 -285
  148. package/templates/facebook/node_modules/postcss/lib/previous-map.js +0 -172
  149. package/templates/facebook/node_modules/postcss/lib/processor.js +0 -264
  150. package/templates/facebook/node_modules/postcss/lib/result.js +0 -213
  151. package/templates/facebook/node_modules/postcss/lib/root.js +0 -122
  152. package/templates/facebook/node_modules/postcss/lib/rule.js +0 -116
  153. package/templates/facebook/node_modules/postcss/lib/stringifier.js +0 -362
  154. package/templates/facebook/node_modules/postcss/lib/stringify.js +0 -18
  155. package/templates/facebook/node_modules/postcss/lib/terminal-highlight.js +0 -84
  156. package/templates/facebook/node_modules/postcss/lib/tokenize.js +0 -295
  157. package/templates/facebook/node_modules/postcss/lib/vendor.js +0 -53
  158. package/templates/facebook/node_modules/postcss/lib/warn-once.js +0 -17
  159. package/templates/facebook/node_modules/postcss/lib/warning.js +0 -131
  160. package/templates/facebook/node_modules/postcss/package.json +0 -37
  161. package/templates/facebook/node_modules/postcss-html/LICENSE +0 -21
  162. package/templates/facebook/node_modules/postcss-html/README.md +0 -78
  163. package/templates/facebook/node_modules/postcss-html/extract.js +0 -122
  164. package/templates/facebook/node_modules/postcss-html/index.js +0 -5
  165. package/templates/facebook/node_modules/postcss-html/package.json +0 -63
  166. package/templates/facebook/node_modules/postcss-html/template-parse.js +0 -14
  167. package/templates/facebook/node_modules/postcss-html/template-parser.js +0 -9
  168. package/templates/facebook/node_modules/postcss-html/template-safe-parse.js +0 -14
  169. package/templates/facebook/node_modules/postcss-html/template-safe-parser.js +0 -9
  170. package/templates/facebook/node_modules/postcss-html/template-tokenize.js +0 -49
  171. package/templates/facebook/node_modules/postcss-safe-parser/CHANGELOG.md +0 -51
  172. package/templates/facebook/node_modules/postcss-safe-parser/LICENSE +0 -20
  173. package/templates/facebook/node_modules/postcss-safe-parser/README.md +0 -33
  174. package/templates/facebook/node_modules/postcss-safe-parser/lib/safe-parse.js +0 -13
  175. package/templates/facebook/node_modules/postcss-safe-parser/lib/safe-parser.js +0 -115
  176. package/templates/facebook/node_modules/postcss-safe-parser/package.json +0 -102
  177. package/templates/facebook/node_modules/postcss-syntax/LICENSE +0 -21
  178. package/templates/facebook/node_modules/postcss-syntax/README.md +0 -85
  179. package/templates/facebook/node_modules/postcss-syntax/document.js +0 -41
  180. package/templates/facebook/node_modules/postcss-syntax/get-lang.js +0 -111
  181. package/templates/facebook/node_modules/postcss-syntax/get-syntax.js +0 -63
  182. package/templates/facebook/node_modules/postcss-syntax/index.js +0 -26
  183. package/templates/facebook/node_modules/postcss-syntax/load-syntax.js +0 -23
  184. package/templates/facebook/node_modules/postcss-syntax/normal-opts.js +0 -11
  185. package/templates/facebook/node_modules/postcss-syntax/package.json +0 -102
  186. package/templates/facebook/node_modules/postcss-syntax/parse-style.js +0 -127
  187. package/templates/facebook/node_modules/postcss-syntax/parse.js +0 -34
  188. package/templates/facebook/node_modules/postcss-syntax/parser.js +0 -18
  189. package/templates/facebook/node_modules/postcss-syntax/patch-postcss.js +0 -77
  190. package/templates/facebook/node_modules/postcss-syntax/processor.js +0 -29
  191. package/templates/facebook/node_modules/postcss-syntax/stringify.js +0 -20
  192. package/templates/facebook/node_modules/postcss-syntax/syntax.js +0 -37
  193. package/templates/facebook/node_modules/remark/index.js +0 -7
  194. package/templates/facebook/node_modules/remark/package.json +0 -46
  195. package/templates/facebook/node_modules/remark/readme.md +0 -260
  196. package/templates/facebook/node_modules/remark/types/index.d.ts +0 -19
  197. package/templates/facebook/node_modules/remark-parse/index.js +0 -24
  198. package/templates/facebook/node_modules/remark-parse/package.json +0 -46
  199. package/templates/facebook/node_modules/remark-parse/readme.md +0 -197
  200. package/templates/facebook/node_modules/remark-parse/types/index.d.ts +0 -14
  201. package/templates/facebook/node_modules/remark-stringify/index.js +0 -23
  202. package/templates/facebook/node_modules/remark-stringify/license +0 -22
  203. package/templates/facebook/node_modules/remark-stringify/package.json +0 -46
  204. package/templates/facebook/node_modules/remark-stringify/readme.md +0 -217
  205. package/templates/facebook/node_modules/remark-stringify/types/index.d.ts +0 -14
  206. package/templates/facebook/node_modules/stylelint/CHANGELOG.md +0 -1701
  207. package/templates/facebook/node_modules/stylelint/CONTRIBUTING.md +0 -81
  208. package/templates/facebook/node_modules/stylelint/LICENSE +0 -20
  209. package/templates/facebook/node_modules/stylelint/README.md +0 -48
  210. package/templates/facebook/node_modules/stylelint/bin/stylelint.js +0 -8
  211. package/templates/facebook/node_modules/stylelint/docs/about/linting.md +0 -34
  212. package/templates/facebook/node_modules/stylelint/docs/about/semantic-versioning.md +0 -37
  213. package/templates/facebook/node_modules/stylelint/docs/about/syntaxes.md +0 -18
  214. package/templates/facebook/node_modules/stylelint/docs/about/vision.md +0 -63
  215. package/templates/facebook/node_modules/stylelint/docs/developer-guide/formatters.md +0 -77
  216. package/templates/facebook/node_modules/stylelint/docs/developer-guide/plugins.md +0 -324
  217. package/templates/facebook/node_modules/stylelint/docs/developer-guide/processors.md +0 -28
  218. package/templates/facebook/node_modules/stylelint/docs/developer-guide/rules.md +0 -244
  219. package/templates/facebook/node_modules/stylelint/docs/developer-guide/syntaxes.md +0 -35
  220. package/templates/facebook/node_modules/stylelint/docs/developer-guide/system-tests.md +0 -23
  221. package/templates/facebook/node_modules/stylelint/docs/maintainer-guide/issues.md +0 -94
  222. package/templates/facebook/node_modules/stylelint/docs/maintainer-guide/pull-requests.md +0 -33
  223. package/templates/facebook/node_modules/stylelint/docs/maintainer-guide/releases.md +0 -47
  224. package/templates/facebook/node_modules/stylelint/docs/toc.md +0 -37
  225. package/templates/facebook/node_modules/stylelint/docs/user-guide/configure.md +0 -420
  226. package/templates/facebook/node_modules/stylelint/docs/user-guide/errors.md +0 -29
  227. package/templates/facebook/node_modules/stylelint/docs/user-guide/get-started.md +0 -55
  228. package/templates/facebook/node_modules/stylelint/docs/user-guide/ignore-code.md +0 -88
  229. package/templates/facebook/node_modules/stylelint/docs/user-guide/integrations/editor.md +0 -12
  230. package/templates/facebook/node_modules/stylelint/docs/user-guide/integrations/other.md +0 -19
  231. package/templates/facebook/node_modules/stylelint/docs/user-guide/integrations/task-runner.md +0 -10
  232. package/templates/facebook/node_modules/stylelint/docs/user-guide/rules/about.md +0 -203
  233. package/templates/facebook/node_modules/stylelint/docs/user-guide/rules/combine.md +0 -360
  234. package/templates/facebook/node_modules/stylelint/docs/user-guide/rules/list.md +0 -399
  235. package/templates/facebook/node_modules/stylelint/docs/user-guide/rules/regex.md +0 -29
  236. package/templates/facebook/node_modules/stylelint/docs/user-guide/usage/cli.md +0 -195
  237. package/templates/facebook/node_modules/stylelint/docs/user-guide/usage/node-api.md +0 -169
  238. package/templates/facebook/node_modules/stylelint/docs/user-guide/usage/options.md +0 -208
  239. package/templates/facebook/node_modules/stylelint/docs/user-guide/usage/postcss-plugin.md +0 -84
  240. package/templates/facebook/node_modules/stylelint/lib/assignDisabledRanges.js +0 -407
  241. package/templates/facebook/node_modules/stylelint/lib/augmentConfig.js +0 -359
  242. package/templates/facebook/node_modules/stylelint/lib/cli.js +0 -544
  243. package/templates/facebook/node_modules/stylelint/lib/createPartialStylelintResult.js +0 -103
  244. package/templates/facebook/node_modules/stylelint/lib/createPlugin.js +0 -15
  245. package/templates/facebook/node_modules/stylelint/lib/createStylelint.js +0 -88
  246. package/templates/facebook/node_modules/stylelint/lib/createStylelintResult.js +0 -39
  247. package/templates/facebook/node_modules/stylelint/lib/descriptionlessDisables.js +0 -62
  248. package/templates/facebook/node_modules/stylelint/lib/formatters/compactFormatter.js +0 -20
  249. package/templates/facebook/node_modules/stylelint/lib/formatters/index.js +0 -12
  250. package/templates/facebook/node_modules/stylelint/lib/formatters/jsonFormatter.js +0 -20
  251. package/templates/facebook/node_modules/stylelint/lib/formatters/stringFormatter.js +0 -225
  252. package/templates/facebook/node_modules/stylelint/lib/formatters/tapFormatter.js +0 -39
  253. package/templates/facebook/node_modules/stylelint/lib/formatters/unixFormatter.js +0 -26
  254. package/templates/facebook/node_modules/stylelint/lib/formatters/verboseFormatter.js +0 -61
  255. package/templates/facebook/node_modules/stylelint/lib/getConfigForFile.js +0 -61
  256. package/templates/facebook/node_modules/stylelint/lib/getPostcssResult.js +0 -182
  257. package/templates/facebook/node_modules/stylelint/lib/index.js +0 -33
  258. package/templates/facebook/node_modules/stylelint/lib/invalidScopeDisables.js +0 -50
  259. package/templates/facebook/node_modules/stylelint/lib/isPathIgnored.js +0 -48
  260. package/templates/facebook/node_modules/stylelint/lib/lintPostcssResult.js +0 -134
  261. package/templates/facebook/node_modules/stylelint/lib/lintSource.js +0 -133
  262. package/templates/facebook/node_modules/stylelint/lib/needlessDisables.js +0 -110
  263. package/templates/facebook/node_modules/stylelint/lib/normalizeAllRuleSettings.js +0 -41
  264. package/templates/facebook/node_modules/stylelint/lib/normalizeRuleSettings.js +0 -74
  265. package/templates/facebook/node_modules/stylelint/lib/postcssPlugin.js +0 -25
  266. package/templates/facebook/node_modules/stylelint/lib/prepareReturnValue.js +0 -59
  267. package/templates/facebook/node_modules/stylelint/lib/printConfig.js +0 -58
  268. package/templates/facebook/node_modules/stylelint/lib/reference/keywordSets.js +0 -690
  269. package/templates/facebook/node_modules/stylelint/lib/reference/mathFunctions.js +0 -3
  270. package/templates/facebook/node_modules/stylelint/lib/reference/namedColorData.js +0 -152
  271. package/templates/facebook/node_modules/stylelint/lib/reference/propertySets.js +0 -18
  272. package/templates/facebook/node_modules/stylelint/lib/reference/punctuationSets.js +0 -9
  273. package/templates/facebook/node_modules/stylelint/lib/reference/shorthandData.js +0 -143
  274. package/templates/facebook/node_modules/stylelint/lib/reportDisables.js +0 -62
  275. package/templates/facebook/node_modules/stylelint/lib/reportUnknownRuleNames.js +0 -76
  276. package/templates/facebook/node_modules/stylelint/lib/rules/alpha-value-notation/README.md +0 -110
  277. package/templates/facebook/node_modules/stylelint/lib/rules/alpha-value-notation/index.js +0 -160
  278. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-allowed-list/README.md +0 -65
  279. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-allowed-list/index.js +0 -57
  280. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-blacklist/README.md +0 -52
  281. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-blacklist/index.js +0 -64
  282. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-disallowed-list/README.md +0 -50
  283. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-disallowed-list/index.js +0 -57
  284. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-empty-line-before/README.md +0 -421
  285. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-empty-line-before/index.js +0 -161
  286. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-name-case/README.md +0 -110
  287. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-name-case/index.js +0 -58
  288. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-name-newline-after/README.md +0 -108
  289. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-name-newline-after/index.js +0 -40
  290. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-name-space-after/README.md +0 -117
  291. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-name-space-after/index.js +0 -45
  292. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-no-unknown/README.md +0 -74
  293. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-no-unknown/index.js +0 -67
  294. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-no-vendor-prefix/README.md +0 -40
  295. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-no-vendor-prefix/index.js +0 -58
  296. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-property-required-list/README.md +0 -53
  297. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-property-required-list/index.js +0 -65
  298. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-property-requirelist/README.md +0 -55
  299. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-property-requirelist/index.js +0 -74
  300. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-semicolon-newline-after/README.md +0 -63
  301. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-semicolon-newline-after/index.js +0 -78
  302. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-semicolon-space-before/README.md +0 -50
  303. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-semicolon-space-before/index.js +0 -63
  304. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-whitelist/README.md +0 -67
  305. package/templates/facebook/node_modules/stylelint/lib/rules/at-rule-whitelist/index.js +0 -64
  306. package/templates/facebook/node_modules/stylelint/lib/rules/atRuleNameSpaceChecker.js +0 -43
  307. package/templates/facebook/node_modules/stylelint/lib/rules/block-closing-brace-empty-line-before/README.md +0 -238
  308. package/templates/facebook/node_modules/stylelint/lib/rules/block-closing-brace-empty-line-before/index.js +0 -118
  309. package/templates/facebook/node_modules/stylelint/lib/rules/block-closing-brace-newline-after/README.md +0 -196
  310. package/templates/facebook/node_modules/stylelint/lib/rules/block-closing-brace-newline-after/index.js +0 -137
  311. package/templates/facebook/node_modules/stylelint/lib/rules/block-closing-brace-newline-before/README.md +0 -93
  312. package/templates/facebook/node_modules/stylelint/lib/rules/block-closing-brace-newline-before/index.js +0 -117
  313. package/templates/facebook/node_modules/stylelint/lib/rules/block-closing-brace-space-after/README.md +0 -179
  314. package/templates/facebook/node_modules/stylelint/lib/rules/block-closing-brace-space-after/index.js +0 -88
  315. package/templates/facebook/node_modules/stylelint/lib/rules/block-closing-brace-space-before/README.md +0 -174
  316. package/templates/facebook/node_modules/stylelint/lib/rules/block-closing-brace-space-before/index.js +0 -96
  317. package/templates/facebook/node_modules/stylelint/lib/rules/block-no-empty/README.md +0 -75
  318. package/templates/facebook/node_modules/stylelint/lib/rules/block-no-empty/index.js +0 -83
  319. package/templates/facebook/node_modules/stylelint/lib/rules/block-opening-brace-newline-after/README.md +0 -125
  320. package/templates/facebook/node_modules/stylelint/lib/rules/block-opening-brace-newline-after/index.js +0 -145
  321. package/templates/facebook/node_modules/stylelint/lib/rules/block-opening-brace-newline-before/README.md +0 -176
  322. package/templates/facebook/node_modules/stylelint/lib/rules/block-opening-brace-newline-before/index.js +0 -107
  323. package/templates/facebook/node_modules/stylelint/lib/rules/block-opening-brace-space-after/README.md +0 -174
  324. package/templates/facebook/node_modules/stylelint/lib/rules/block-opening-brace-space-after/index.js +0 -88
  325. package/templates/facebook/node_modules/stylelint/lib/rules/block-opening-brace-space-before/README.md +0 -218
  326. package/templates/facebook/node_modules/stylelint/lib/rules/block-opening-brace-space-before/index.js +0 -124
  327. package/templates/facebook/node_modules/stylelint/lib/rules/color-function-notation/README.md +0 -116
  328. package/templates/facebook/node_modules/stylelint/lib/rules/color-function-notation/index.js +0 -108
  329. package/templates/facebook/node_modules/stylelint/lib/rules/color-hex-case/README.md +0 -58
  330. package/templates/facebook/node_modules/stylelint/lib/rules/color-hex-case/index.js +0 -82
  331. package/templates/facebook/node_modules/stylelint/lib/rules/color-hex-length/README.md +0 -73
  332. package/templates/facebook/node_modules/stylelint/lib/rules/color-hex-length/index.js +0 -120
  333. package/templates/facebook/node_modules/stylelint/lib/rules/color-named/README.md +0 -176
  334. package/templates/facebook/node_modules/stylelint/lib/rules/color-named/generateColorFuncs.js +0 -198
  335. package/templates/facebook/node_modules/stylelint/lib/rules/color-named/index.js +0 -169
  336. package/templates/facebook/node_modules/stylelint/lib/rules/color-no-hex/README.md +0 -60
  337. package/templates/facebook/node_modules/stylelint/lib/rules/color-no-hex/index.js +0 -60
  338. package/templates/facebook/node_modules/stylelint/lib/rules/color-no-invalid-hex/README.md +0 -55
  339. package/templates/facebook/node_modules/stylelint/lib/rules/color-no-invalid-hex/index.js +0 -54
  340. package/templates/facebook/node_modules/stylelint/lib/rules/comment-empty-line-before/README.md +0 -195
  341. package/templates/facebook/node_modules/stylelint/lib/rules/comment-empty-line-before/index.js +0 -126
  342. package/templates/facebook/node_modules/stylelint/lib/rules/comment-no-empty/README.md +0 -51
  343. package/templates/facebook/node_modules/stylelint/lib/rules/comment-no-empty/index.js +0 -46
  344. package/templates/facebook/node_modules/stylelint/lib/rules/comment-pattern/README.md +0 -38
  345. package/templates/facebook/node_modules/stylelint/lib/rules/comment-pattern/index.js +0 -48
  346. package/templates/facebook/node_modules/stylelint/lib/rules/comment-whitespace-inside/README.md +0 -99
  347. package/templates/facebook/node_modules/stylelint/lib/rules/comment-whitespace-inside/index.js +0 -117
  348. package/templates/facebook/node_modules/stylelint/lib/rules/comment-word-blacklist/README.md +0 -50
  349. package/templates/facebook/node_modules/stylelint/lib/rules/comment-word-blacklist/index.js +0 -66
  350. package/templates/facebook/node_modules/stylelint/lib/rules/comment-word-disallowed-list/README.md +0 -48
  351. package/templates/facebook/node_modules/stylelint/lib/rules/comment-word-disallowed-list/index.js +0 -59
  352. package/templates/facebook/node_modules/stylelint/lib/rules/custom-media-pattern/README.md +0 -36
  353. package/templates/facebook/node_modules/stylelint/lib/rules/custom-media-pattern/index.js +0 -54
  354. package/templates/facebook/node_modules/stylelint/lib/rules/custom-property-empty-line-before/README.md +0 -272
  355. package/templates/facebook/node_modules/stylelint/lib/rules/custom-property-empty-line-before/index.js +0 -129
  356. package/templates/facebook/node_modules/stylelint/lib/rules/custom-property-pattern/README.md +0 -36
  357. package/templates/facebook/node_modules/stylelint/lib/rules/custom-property-pattern/index.js +0 -53
  358. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-bang-space-after/README.md +0 -72
  359. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-bang-space-after/index.js +0 -82
  360. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-bang-space-before/README.md +0 -67
  361. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-bang-space-before/index.js +0 -83
  362. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-no-duplicate-custom-properties/README.md +0 -40
  363. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-no-duplicate-custom-properties/index.js +0 -61
  364. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-no-duplicate-properties/README.md +0 -143
  365. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-no-duplicate-properties/index.js +0 -121
  366. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-no-redundant-longhand-properties/README.md +0 -197
  367. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-no-redundant-longhand-properties/index.js +0 -99
  368. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-no-shorthand-property-overrides/README.md +0 -69
  369. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-no-shorthand-property-overrides/index.js +0 -61
  370. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-semicolon-newline-after/README.md +0 -141
  371. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-semicolon-newline-after/index.js +0 -95
  372. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-semicolon-newline-before/README.md +0 -120
  373. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-semicolon-newline-before/index.js +0 -62
  374. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-semicolon-space-after/README.md +0 -147
  375. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-semicolon-space-after/index.js +0 -84
  376. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-semicolon-space-before/README.md +0 -130
  377. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-semicolon-space-before/index.js +0 -91
  378. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-single-line-max-declarations/README.md +0 -50
  379. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-single-line-max-declarations/index.js +0 -58
  380. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-trailing-semicolon/README.md +0 -108
  381. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-block-trailing-semicolon/index.js +0 -123
  382. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-colon-newline-after/README.md +0 -78
  383. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-colon-newline-after/index.js +0 -90
  384. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-colon-space-after/README.md +0 -111
  385. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-colon-space-after/index.js +0 -63
  386. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-colon-space-before/README.md +0 -72
  387. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-colon-space-before/index.js +0 -62
  388. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-empty-line-before/README.md +0 -322
  389. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-empty-line-before/index.js +0 -139
  390. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-no-important/README.md +0 -40
  391. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-no-important/index.js +0 -41
  392. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-property-unit-allowed-list/README.md +0 -119
  393. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-property-unit-allowed-list/index.js +0 -94
  394. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-property-unit-blacklist/README.md +0 -76
  395. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-property-unit-blacklist/index.js +0 -86
  396. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-property-unit-disallowed-list/README.md +0 -74
  397. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-property-unit-disallowed-list/index.js +0 -76
  398. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-property-unit-whitelist/README.md +0 -87
  399. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-property-unit-whitelist/index.js +0 -86
  400. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-property-value-allowed-list/README.md +0 -86
  401. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-property-value-allowed-list/index.js +0 -58
  402. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-property-value-blacklist/README.md +0 -107
  403. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-property-value-blacklist/index.js +0 -68
  404. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-property-value-disallowed-list/README.md +0 -105
  405. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-property-value-disallowed-list/index.js +0 -58
  406. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-property-value-whitelist/README.md +0 -98
  407. package/templates/facebook/node_modules/stylelint/lib/rules/declaration-property-value-whitelist/index.js +0 -68
  408. package/templates/facebook/node_modules/stylelint/lib/rules/declarationBangSpaceChecker.js +0 -43
  409. package/templates/facebook/node_modules/stylelint/lib/rules/declarationColonSpaceChecker.js +0 -48
  410. package/templates/facebook/node_modules/stylelint/lib/rules/findMediaOperator.js +0 -24
  411. package/templates/facebook/node_modules/stylelint/lib/rules/font-family-name-quotes/README.md +0 -163
  412. package/templates/facebook/node_modules/stylelint/lib/rules/font-family-name-quotes/index.js +0 -147
  413. package/templates/facebook/node_modules/stylelint/lib/rules/font-family-no-duplicate-names/README.md +0 -76
  414. package/templates/facebook/node_modules/stylelint/lib/rules/font-family-no-duplicate-names/index.js +0 -103
  415. package/templates/facebook/node_modules/stylelint/lib/rules/font-family-no-missing-generic-family-keyword/README.md +0 -89
  416. package/templates/facebook/node_modules/stylelint/lib/rules/font-family-no-missing-generic-family-keyword/index.js +0 -97
  417. package/templates/facebook/node_modules/stylelint/lib/rules/font-weight-notation/README.md +0 -94
  418. package/templates/facebook/node_modules/stylelint/lib/rules/font-weight-notation/index.js +0 -154
  419. package/templates/facebook/node_modules/stylelint/lib/rules/function-allowed-list/README.md +0 -73
  420. package/templates/facebook/node_modules/stylelint/lib/rules/function-allowed-list/index.js +0 -66
  421. package/templates/facebook/node_modules/stylelint/lib/rules/function-blacklist/README.md +0 -54
  422. package/templates/facebook/node_modules/stylelint/lib/rules/function-blacklist/index.js +0 -71
  423. package/templates/facebook/node_modules/stylelint/lib/rules/function-calc-no-invalid/README.md +0 -96
  424. package/templates/facebook/node_modules/stylelint/lib/rules/function-calc-no-invalid/index.js +0 -259
  425. package/templates/facebook/node_modules/stylelint/lib/rules/function-calc-no-unspaced-operator/README.md +0 -56
  426. package/templates/facebook/node_modules/stylelint/lib/rules/function-calc-no-unspaced-operator/index.js +0 -138
  427. package/templates/facebook/node_modules/stylelint/lib/rules/function-comma-newline-after/README.md +0 -113
  428. package/templates/facebook/node_modules/stylelint/lib/rules/function-comma-newline-after/index.js +0 -55
  429. package/templates/facebook/node_modules/stylelint/lib/rules/function-comma-newline-before/README.md +0 -129
  430. package/templates/facebook/node_modules/stylelint/lib/rules/function-comma-newline-before/index.js +0 -55
  431. package/templates/facebook/node_modules/stylelint/lib/rules/function-comma-space-after/README.md +0 -144
  432. package/templates/facebook/node_modules/stylelint/lib/rules/function-comma-space-after/index.js +0 -56
  433. package/templates/facebook/node_modules/stylelint/lib/rules/function-comma-space-before/README.md +0 -144
  434. package/templates/facebook/node_modules/stylelint/lib/rules/function-comma-space-before/index.js +0 -56
  435. package/templates/facebook/node_modules/stylelint/lib/rules/function-disallowed-list/README.md +0 -52
  436. package/templates/facebook/node_modules/stylelint/lib/rules/function-disallowed-list/index.js +0 -64
  437. package/templates/facebook/node_modules/stylelint/lib/rules/function-linear-gradient-no-nonstandard-direction/README.md +0 -77
  438. package/templates/facebook/node_modules/stylelint/lib/rules/function-linear-gradient-no-nonstandard-direction/index.js +0 -110
  439. package/templates/facebook/node_modules/stylelint/lib/rules/function-max-empty-lines/README.md +0 -78
  440. package/templates/facebook/node_modules/stylelint/lib/rules/function-max-empty-lines/index.js +0 -101
  441. package/templates/facebook/node_modules/stylelint/lib/rules/function-name-case/README.md +0 -181
  442. package/templates/facebook/node_modules/stylelint/lib/rules/function-name-case/index.js +0 -111
  443. package/templates/facebook/node_modules/stylelint/lib/rules/function-parentheses-newline-inside/README.md +0 -144
  444. package/templates/facebook/node_modules/stylelint/lib/rules/function-parentheses-newline-inside/index.js +0 -247
  445. package/templates/facebook/node_modules/stylelint/lib/rules/function-parentheses-space-inside/README.md +0 -140
  446. package/templates/facebook/node_modules/stylelint/lib/rules/function-parentheses-space-inside/index.js +0 -165
  447. package/templates/facebook/node_modules/stylelint/lib/rules/function-url-no-scheme-relative/README.md +0 -50
  448. package/templates/facebook/node_modules/stylelint/lib/rules/function-url-no-scheme-relative/index.js +0 -48
  449. package/templates/facebook/node_modules/stylelint/lib/rules/function-url-quotes/README.md +0 -120
  450. package/templates/facebook/node_modules/stylelint/lib/rules/function-url-quotes/index.js +0 -113
  451. package/templates/facebook/node_modules/stylelint/lib/rules/function-url-scheme-allowed-list/README.md +0 -76
  452. package/templates/facebook/node_modules/stylelint/lib/rules/function-url-scheme-allowed-list/index.js +0 -66
  453. package/templates/facebook/node_modules/stylelint/lib/rules/function-url-scheme-blacklist/README.md +0 -73
  454. package/templates/facebook/node_modules/stylelint/lib/rules/function-url-scheme-blacklist/index.js +0 -76
  455. package/templates/facebook/node_modules/stylelint/lib/rules/function-url-scheme-disallowed-list/README.md +0 -71
  456. package/templates/facebook/node_modules/stylelint/lib/rules/function-url-scheme-disallowed-list/index.js +0 -66
  457. package/templates/facebook/node_modules/stylelint/lib/rules/function-url-scheme-whitelist/README.md +0 -78
  458. package/templates/facebook/node_modules/stylelint/lib/rules/function-url-scheme-whitelist/index.js +0 -76
  459. package/templates/facebook/node_modules/stylelint/lib/rules/function-whitelist/README.md +0 -75
  460. package/templates/facebook/node_modules/stylelint/lib/rules/function-whitelist/index.js +0 -73
  461. package/templates/facebook/node_modules/stylelint/lib/rules/function-whitespace-after/README.md +0 -80
  462. package/templates/facebook/node_modules/stylelint/lib/rules/function-whitespace-after/index.js +0 -167
  463. package/templates/facebook/node_modules/stylelint/lib/rules/functionCommaSpaceChecker.js +0 -109
  464. package/templates/facebook/node_modules/stylelint/lib/rules/functionCommaSpaceFix.js +0 -34
  465. package/templates/facebook/node_modules/stylelint/lib/rules/hue-degree-notation/README.md +0 -74
  466. package/templates/facebook/node_modules/stylelint/lib/rules/hue-degree-notation/index.js +0 -122
  467. package/templates/facebook/node_modules/stylelint/lib/rules/indentation/README.md +0 -338
  468. package/templates/facebook/node_modules/stylelint/lib/rules/indentation/index.js +0 -615
  469. package/templates/facebook/node_modules/stylelint/lib/rules/index.js +0 -401
  470. package/templates/facebook/node_modules/stylelint/lib/rules/keyframe-declaration-no-important/README.md +0 -52
  471. package/templates/facebook/node_modules/stylelint/lib/rules/keyframe-declaration-no-important/index.js +0 -43
  472. package/templates/facebook/node_modules/stylelint/lib/rules/keyframes-name-pattern/README.md +0 -46
  473. package/templates/facebook/node_modules/stylelint/lib/rules/keyframes-name-pattern/index.js +0 -51
  474. package/templates/facebook/node_modules/stylelint/lib/rules/length-zero-no-unit/README.md +0 -69
  475. package/templates/facebook/node_modules/stylelint/lib/rules/length-zero-no-unit/index.js +0 -163
  476. package/templates/facebook/node_modules/stylelint/lib/rules/linebreaks/README.md +0 -21
  477. package/templates/facebook/node_modules/stylelint/lib/rules/linebreaks/index.js +0 -102
  478. package/templates/facebook/node_modules/stylelint/lib/rules/max-empty-lines/README.md +0 -116
  479. package/templates/facebook/node_modules/stylelint/lib/rules/max-empty-lines/index.js +0 -209
  480. package/templates/facebook/node_modules/stylelint/lib/rules/max-line-length/README.md +0 -151
  481. package/templates/facebook/node_modules/stylelint/lib/rules/max-line-length/index.js +0 -183
  482. package/templates/facebook/node_modules/stylelint/lib/rules/max-nesting-depth/README.md +0 -355
  483. package/templates/facebook/node_modules/stylelint/lib/rules/max-nesting-depth/index.js +0 -114
  484. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-colon-space-after/README.md +0 -72
  485. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-colon-space-after/index.js +0 -82
  486. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-colon-space-before/README.md +0 -72
  487. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-colon-space-before/index.js +0 -82
  488. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-name-allowed-list/README.md +0 -64
  489. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-name-allowed-list/index.js +0 -76
  490. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-name-blacklist/README.md +0 -66
  491. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-name-blacklist/index.js +0 -86
  492. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-name-case/README.md +0 -108
  493. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-name-case/index.js +0 -96
  494. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-name-disallowed-list/README.md +0 -64
  495. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-name-disallowed-list/index.js +0 -76
  496. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-name-no-unknown/README.md +0 -94
  497. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-name-no-unknown/index.js +0 -88
  498. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-name-no-vendor-prefix/README.md +0 -47
  499. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-name-no-vendor-prefix/index.js +0 -58
  500. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-name-value-allowed-list/README.md +0 -84
  501. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-name-value-allowed-list/index.js +0 -89
  502. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-name-value-whitelist/README.md +0 -86
  503. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-name-value-whitelist/index.js +0 -99
  504. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-name-whitelist/README.md +0 -66
  505. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-name-whitelist/index.js +0 -86
  506. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-parentheses-space-inside/README.md +0 -62
  507. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-parentheses-space-inside/index.js +0 -106
  508. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-range-operator-space-after/README.md +0 -72
  509. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-range-operator-space-after/index.js +0 -92
  510. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-range-operator-space-before/README.md +0 -72
  511. package/templates/facebook/node_modules/stylelint/lib/rules/media-feature-range-operator-space-before/index.js +0 -92
  512. package/templates/facebook/node_modules/stylelint/lib/rules/media-query-list-comma-newline-after/README.md +0 -113
  513. package/templates/facebook/node_modules/stylelint/lib/rules/media-query-list-comma-newline-after/index.js +0 -88
  514. package/templates/facebook/node_modules/stylelint/lib/rules/media-query-list-comma-newline-before/README.md +0 -111
  515. package/templates/facebook/node_modules/stylelint/lib/rules/media-query-list-comma-newline-before/index.js +0 -42
  516. package/templates/facebook/node_modules/stylelint/lib/rules/media-query-list-comma-space-after/README.md +0 -136
  517. package/templates/facebook/node_modules/stylelint/lib/rules/media-query-list-comma-space-after/index.js +0 -84
  518. package/templates/facebook/node_modules/stylelint/lib/rules/media-query-list-comma-space-before/README.md +0 -136
  519. package/templates/facebook/node_modules/stylelint/lib/rules/media-query-list-comma-space-before/index.js +0 -84
  520. package/templates/facebook/node_modules/stylelint/lib/rules/mediaFeatureColonSpaceChecker.js +0 -39
  521. package/templates/facebook/node_modules/stylelint/lib/rules/mediaQueryListCommaWhitespaceChecker.js +0 -54
  522. package/templates/facebook/node_modules/stylelint/lib/rules/named-grid-areas-no-invalid/README.md +0 -50
  523. package/templates/facebook/node_modules/stylelint/lib/rules/named-grid-areas-no-invalid/index.js +0 -80
  524. package/templates/facebook/node_modules/stylelint/lib/rules/named-grid-areas-no-invalid/utils/findNotContiguousOrRectangular.js +0 -61
  525. package/templates/facebook/node_modules/stylelint/lib/rules/named-grid-areas-no-invalid/utils/isRectangular.js +0 -12
  526. package/templates/facebook/node_modules/stylelint/lib/rules/no-descending-specificity/README.md +0 -166
  527. package/templates/facebook/node_modules/stylelint/lib/rules/no-descending-specificity/index.js +0 -146
  528. package/templates/facebook/node_modules/stylelint/lib/rules/no-duplicate-at-import-rules/README.md +0 -56
  529. package/templates/facebook/node_modules/stylelint/lib/rules/no-duplicate-at-import-rules/index.js +0 -68
  530. package/templates/facebook/node_modules/stylelint/lib/rules/no-duplicate-selectors/README.md +0 -136
  531. package/templates/facebook/node_modules/stylelint/lib/rules/no-duplicate-selectors/index.js +0 -149
  532. package/templates/facebook/node_modules/stylelint/lib/rules/no-empty-first-line/README.md +0 -34
  533. package/templates/facebook/node_modules/stylelint/lib/rules/no-empty-first-line/index.js +0 -49
  534. package/templates/facebook/node_modules/stylelint/lib/rules/no-empty-source/README.md +0 -45
  535. package/templates/facebook/node_modules/stylelint/lib/rules/no-empty-source/index.js +0 -40
  536. package/templates/facebook/node_modules/stylelint/lib/rules/no-eol-whitespace/README.md +0 -79
  537. package/templates/facebook/node_modules/stylelint/lib/rules/no-eol-whitespace/index.js +0 -260
  538. package/templates/facebook/node_modules/stylelint/lib/rules/no-extra-semicolons/README.md +0 -78
  539. package/templates/facebook/node_modules/stylelint/lib/rules/no-extra-semicolons/index.js +0 -243
  540. package/templates/facebook/node_modules/stylelint/lib/rules/no-invalid-double-slash-comments/README.md +0 -54
  541. package/templates/facebook/node_modules/stylelint/lib/rules/no-invalid-double-slash-comments/index.js +0 -51
  542. package/templates/facebook/node_modules/stylelint/lib/rules/no-invalid-position-at-import-rule/README.md +0 -51
  543. package/templates/facebook/node_modules/stylelint/lib/rules/no-invalid-position-at-import-rule/index.js +0 -58
  544. package/templates/facebook/node_modules/stylelint/lib/rules/no-irregular-whitespace/README.md +0 -57
  545. package/templates/facebook/node_modules/stylelint/lib/rules/no-irregular-whitespace/index.js +0 -134
  546. package/templates/facebook/node_modules/stylelint/lib/rules/no-missing-end-of-source-newline/README.md +0 -34
  547. package/templates/facebook/node_modules/stylelint/lib/rules/no-missing-end-of-source-newline/index.js +0 -52
  548. package/templates/facebook/node_modules/stylelint/lib/rules/no-unknown-animations/README.md +0 -76
  549. package/templates/facebook/node_modules/stylelint/lib/rules/no-unknown-animations/index.js +0 -64
  550. package/templates/facebook/node_modules/stylelint/lib/rules/number-leading-zero/README.md +0 -74
  551. package/templates/facebook/node_modules/stylelint/lib/rules/number-leading-zero/index.js +0 -163
  552. package/templates/facebook/node_modules/stylelint/lib/rules/number-max-precision/README.md +0 -107
  553. package/templates/facebook/node_modules/stylelint/lib/rules/number-max-precision/index.js +0 -101
  554. package/templates/facebook/node_modules/stylelint/lib/rules/number-no-trailing-zeros/README.md +0 -40
  555. package/templates/facebook/node_modules/stylelint/lib/rules/number-no-trailing-zeros/index.js +0 -119
  556. package/templates/facebook/node_modules/stylelint/lib/rules/property-allowed-list/README.md +0 -75
  557. package/templates/facebook/node_modules/stylelint/lib/rules/property-allowed-list/index.js +0 -60
  558. package/templates/facebook/node_modules/stylelint/lib/rules/property-blacklist/README.md +0 -66
  559. package/templates/facebook/node_modules/stylelint/lib/rules/property-blacklist/index.js +0 -67
  560. package/templates/facebook/node_modules/stylelint/lib/rules/property-case/README.md +0 -168
  561. package/templates/facebook/node_modules/stylelint/lib/rules/property-case/index.js +0 -63
  562. package/templates/facebook/node_modules/stylelint/lib/rules/property-disallowed-list/README.md +0 -64
  563. package/templates/facebook/node_modules/stylelint/lib/rules/property-disallowed-list/index.js +0 -60
  564. package/templates/facebook/node_modules/stylelint/lib/rules/property-no-unknown/README.md +0 -187
  565. package/templates/facebook/node_modules/stylelint/lib/rules/property-no-unknown/index.js +0 -107
  566. package/templates/facebook/node_modules/stylelint/lib/rules/property-no-vendor-prefix/README.md +0 -70
  567. package/templates/facebook/node_modules/stylelint/lib/rules/property-no-vendor-prefix/index.js +0 -76
  568. package/templates/facebook/node_modules/stylelint/lib/rules/property-whitelist/README.md +0 -77
  569. package/templates/facebook/node_modules/stylelint/lib/rules/property-whitelist/index.js +0 -67
  570. package/templates/facebook/node_modules/stylelint/lib/rules/rangeContextNodeParser.js +0 -65
  571. package/templates/facebook/node_modules/stylelint/lib/rules/rule-empty-line-before/README.md +0 -326
  572. package/templates/facebook/node_modules/stylelint/lib/rules/rule-empty-line-before/index.js +0 -145
  573. package/templates/facebook/node_modules/stylelint/lib/rules/selector-attribute-brackets-space-inside/README.md +0 -112
  574. package/templates/facebook/node_modules/stylelint/lib/rules/selector-attribute-brackets-space-inside/index.js +0 -182
  575. package/templates/facebook/node_modules/stylelint/lib/rules/selector-attribute-name-disallowed-list/README.md +0 -54
  576. package/templates/facebook/node_modules/stylelint/lib/rules/selector-attribute-name-disallowed-list/index.js +0 -66
  577. package/templates/facebook/node_modules/stylelint/lib/rules/selector-attribute-operator-allowed-list/README.md +0 -54
  578. package/templates/facebook/node_modules/stylelint/lib/rules/selector-attribute-operator-allowed-list/index.js +0 -65
  579. package/templates/facebook/node_modules/stylelint/lib/rules/selector-attribute-operator-blacklist/README.md +0 -46
  580. package/templates/facebook/node_modules/stylelint/lib/rules/selector-attribute-operator-blacklist/index.js +0 -75
  581. package/templates/facebook/node_modules/stylelint/lib/rules/selector-attribute-operator-disallowed-list/README.md +0 -44
  582. package/templates/facebook/node_modules/stylelint/lib/rules/selector-attribute-operator-disallowed-list/index.js +0 -65
  583. package/templates/facebook/node_modules/stylelint/lib/rules/selector-attribute-operator-space-after/README.md +0 -162
  584. package/templates/facebook/node_modules/stylelint/lib/rules/selector-attribute-operator-space-after/index.js +0 -89
  585. package/templates/facebook/node_modules/stylelint/lib/rules/selector-attribute-operator-space-before/README.md +0 -162
  586. package/templates/facebook/node_modules/stylelint/lib/rules/selector-attribute-operator-space-before/index.js +0 -73
  587. package/templates/facebook/node_modules/stylelint/lib/rules/selector-attribute-operator-whitelist/README.md +0 -56
  588. package/templates/facebook/node_modules/stylelint/lib/rules/selector-attribute-operator-whitelist/index.js +0 -75
  589. package/templates/facebook/node_modules/stylelint/lib/rules/selector-attribute-quotes/README.md +0 -102
  590. package/templates/facebook/node_modules/stylelint/lib/rules/selector-attribute-quotes/index.js +0 -94
  591. package/templates/facebook/node_modules/stylelint/lib/rules/selector-class-pattern/README.md +0 -100
  592. package/templates/facebook/node_modules/stylelint/lib/rules/selector-class-pattern/index.js +0 -121
  593. package/templates/facebook/node_modules/stylelint/lib/rules/selector-combinator-allowed-list/README.md +0 -54
  594. package/templates/facebook/node_modules/stylelint/lib/rules/selector-combinator-allowed-list/index.js +0 -70
  595. package/templates/facebook/node_modules/stylelint/lib/rules/selector-combinator-blacklist/README.md +0 -56
  596. package/templates/facebook/node_modules/stylelint/lib/rules/selector-combinator-blacklist/index.js +0 -80
  597. package/templates/facebook/node_modules/stylelint/lib/rules/selector-combinator-disallowed-list/README.md +0 -54
  598. package/templates/facebook/node_modules/stylelint/lib/rules/selector-combinator-disallowed-list/index.js +0 -70
  599. package/templates/facebook/node_modules/stylelint/lib/rules/selector-combinator-space-after/README.md +0 -78
  600. package/templates/facebook/node_modules/stylelint/lib/rules/selector-combinator-space-after/index.js +0 -57
  601. package/templates/facebook/node_modules/stylelint/lib/rules/selector-combinator-space-before/README.md +0 -78
  602. package/templates/facebook/node_modules/stylelint/lib/rules/selector-combinator-space-before/index.js +0 -57
  603. package/templates/facebook/node_modules/stylelint/lib/rules/selector-combinator-whitelist/README.md +0 -56
  604. package/templates/facebook/node_modules/stylelint/lib/rules/selector-combinator-whitelist/index.js +0 -80
  605. package/templates/facebook/node_modules/stylelint/lib/rules/selector-descendant-combinator-no-non-space/README.md +0 -40
  606. package/templates/facebook/node_modules/stylelint/lib/rules/selector-descendant-combinator-no-non-space/index.js +0 -86
  607. package/templates/facebook/node_modules/stylelint/lib/rules/selector-disallowed-list/README.md +0 -68
  608. package/templates/facebook/node_modules/stylelint/lib/rules/selector-disallowed-list/index.js +0 -56
  609. package/templates/facebook/node_modules/stylelint/lib/rules/selector-id-pattern/README.md +0 -63
  610. package/templates/facebook/node_modules/stylelint/lib/rules/selector-id-pattern/index.js +0 -67
  611. package/templates/facebook/node_modules/stylelint/lib/rules/selector-list-comma-newline-after/README.md +0 -120
  612. package/templates/facebook/node_modules/stylelint/lib/rules/selector-list-comma-newline-after/index.js +0 -117
  613. package/templates/facebook/node_modules/stylelint/lib/rules/selector-list-comma-newline-before/README.md +0 -112
  614. package/templates/facebook/node_modules/stylelint/lib/rules/selector-list-comma-newline-before/index.js +0 -91
  615. package/templates/facebook/node_modules/stylelint/lib/rules/selector-list-comma-space-after/README.md +0 -110
  616. package/templates/facebook/node_modules/stylelint/lib/rules/selector-list-comma-space-after/index.js +0 -83
  617. package/templates/facebook/node_modules/stylelint/lib/rules/selector-list-comma-space-before/README.md +0 -110
  618. package/templates/facebook/node_modules/stylelint/lib/rules/selector-list-comma-space-before/index.js +0 -83
  619. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-attribute/README.md +0 -113
  620. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-attribute/index.js +0 -96
  621. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-class/README.md +0 -58
  622. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-class/index.js +0 -71
  623. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-combinators/README.md +0 -72
  624. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-combinators/index.js +0 -72
  625. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-compound-selectors/README.md +0 -59
  626. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-compound-selectors/index.js +0 -79
  627. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-empty-lines/README.md +0 -103
  628. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-empty-lines/index.js +0 -65
  629. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-id/README.md +0 -105
  630. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-id/index.js +0 -95
  631. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-pseudo-class/README.md +0 -50
  632. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-pseudo-class/index.js +0 -85
  633. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-specificity/README.md +0 -138
  634. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-specificity/index.js +0 -182
  635. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-type/README.md +0 -179
  636. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-type/index.js +0 -176
  637. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-universal/README.md +0 -76
  638. package/templates/facebook/node_modules/stylelint/lib/rules/selector-max-universal/index.js +0 -84
  639. package/templates/facebook/node_modules/stylelint/lib/rules/selector-nested-pattern/README.md +0 -77
  640. package/templates/facebook/node_modules/stylelint/lib/rules/selector-nested-pattern/index.js +0 -58
  641. package/templates/facebook/node_modules/stylelint/lib/rules/selector-no-qualifying-type/README.md +0 -105
  642. package/templates/facebook/node_modules/stylelint/lib/rules/selector-no-qualifying-type/index.js +0 -134
  643. package/templates/facebook/node_modules/stylelint/lib/rules/selector-no-vendor-prefix/README.md +0 -67
  644. package/templates/facebook/node_modules/stylelint/lib/rules/selector-no-vendor-prefix/index.js +0 -75
  645. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-class-allowed-list/README.md +0 -53
  646. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-class-allowed-list/index.js +0 -74
  647. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-class-blacklist/README.md +0 -55
  648. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-class-blacklist/index.js +0 -85
  649. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-class-case/README.md +0 -108
  650. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-class-case/index.js +0 -97
  651. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-class-disallowed-list/README.md +0 -53
  652. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-class-disallowed-list/index.js +0 -75
  653. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-class-no-unknown/README.md +0 -84
  654. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-class-no-unknown/index.js +0 -157
  655. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-class-parentheses-space-inside/README.md +0 -62
  656. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-class-parentheses-space-inside/index.js +0 -141
  657. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-class-whitelist/README.md +0 -55
  658. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-class-whitelist/index.js +0 -84
  659. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-element-allowed-list/README.md +0 -54
  660. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-element-allowed-list/index.js +0 -74
  661. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-element-blacklist/README.md +0 -56
  662. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-element-blacklist/index.js +0 -84
  663. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-element-case/README.md +0 -128
  664. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-element-case/index.js +0 -84
  665. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-element-colon-notation/README.md +0 -136
  666. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-element-colon-notation/index.js +0 -94
  667. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-element-disallowed-list/README.md +0 -54
  668. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-element-disallowed-list/index.js +0 -74
  669. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-element-no-unknown/README.md +0 -84
  670. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-element-no-unknown/index.js +0 -92
  671. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-element-whitelist/README.md +0 -56
  672. package/templates/facebook/node_modules/stylelint/lib/rules/selector-pseudo-element-whitelist/index.js +0 -84
  673. package/templates/facebook/node_modules/stylelint/lib/rules/selector-type-case/README.md +0 -91
  674. package/templates/facebook/node_modules/stylelint/lib/rules/selector-type-case/index.js +0 -107
  675. package/templates/facebook/node_modules/stylelint/lib/rules/selector-type-no-unknown/README.md +0 -140
  676. package/templates/facebook/node_modules/stylelint/lib/rules/selector-type-no-unknown/index.js +0 -115
  677. package/templates/facebook/node_modules/stylelint/lib/rules/selectorAttributeOperatorSpaceChecker.js +0 -74
  678. package/templates/facebook/node_modules/stylelint/lib/rules/selectorCombinatorSpaceChecker.js +0 -87
  679. package/templates/facebook/node_modules/stylelint/lib/rules/selectorListCommaWhitespaceChecker.js +0 -48
  680. package/templates/facebook/node_modules/stylelint/lib/rules/shorthand-property-no-redundant-values/README.md +0 -75
  681. package/templates/facebook/node_modules/stylelint/lib/rules/shorthand-property-no-redundant-values/index.js +0 -137
  682. package/templates/facebook/node_modules/stylelint/lib/rules/string-no-newline/README.md +0 -73
  683. package/templates/facebook/node_modules/stylelint/lib/rules/string-no-newline/index.js +0 -115
  684. package/templates/facebook/node_modules/stylelint/lib/rules/string-quotes/README.md +0 -130
  685. package/templates/facebook/node_modules/stylelint/lib/rules/string-quotes/index.js +0 -221
  686. package/templates/facebook/node_modules/stylelint/lib/rules/time-min-milliseconds/README.md +0 -77
  687. package/templates/facebook/node_modules/stylelint/lib/rules/time-min-milliseconds/index.js +0 -142
  688. package/templates/facebook/node_modules/stylelint/lib/rules/unicode-bom/README.md +0 -41
  689. package/templates/facebook/node_modules/stylelint/lib/rules/unicode-bom/index.js +0 -59
  690. package/templates/facebook/node_modules/stylelint/lib/rules/unit-allowed-list/README.md +0 -115
  691. package/templates/facebook/node_modules/stylelint/lib/rules/unit-allowed-list/index.js +0 -85
  692. package/templates/facebook/node_modules/stylelint/lib/rules/unit-blacklist/README.md +0 -161
  693. package/templates/facebook/node_modules/stylelint/lib/rules/unit-blacklist/index.js +0 -132
  694. package/templates/facebook/node_modules/stylelint/lib/rules/unit-case/README.md +0 -126
  695. package/templates/facebook/node_modules/stylelint/lib/rules/unit-case/index.js +0 -114
  696. package/templates/facebook/node_modules/stylelint/lib/rules/unit-disallowed-list/README.md +0 -159
  697. package/templates/facebook/node_modules/stylelint/lib/rules/unit-disallowed-list/index.js +0 -125
  698. package/templates/facebook/node_modules/stylelint/lib/rules/unit-no-unknown/README.md +0 -138
  699. package/templates/facebook/node_modules/stylelint/lib/rules/unit-no-unknown/index.js +0 -158
  700. package/templates/facebook/node_modules/stylelint/lib/rules/unit-whitelist/README.md +0 -117
  701. package/templates/facebook/node_modules/stylelint/lib/rules/unit-whitelist/index.js +0 -92
  702. package/templates/facebook/node_modules/stylelint/lib/rules/value-keyword-case/README.md +0 -320
  703. package/templates/facebook/node_modules/stylelint/lib/rules/value-keyword-case/index.js +0 -236
  704. package/templates/facebook/node_modules/stylelint/lib/rules/value-list-comma-newline-after/README.md +0 -102
  705. package/templates/facebook/node_modules/stylelint/lib/rules/value-list-comma-newline-after/index.js +0 -100
  706. package/templates/facebook/node_modules/stylelint/lib/rules/value-list-comma-newline-before/README.md +0 -100
  707. package/templates/facebook/node_modules/stylelint/lib/rules/value-list-comma-newline-before/index.js +0 -42
  708. package/templates/facebook/node_modules/stylelint/lib/rules/value-list-comma-space-after/README.md +0 -136
  709. package/templates/facebook/node_modules/stylelint/lib/rules/value-list-comma-space-after/index.js +0 -86
  710. package/templates/facebook/node_modules/stylelint/lib/rules/value-list-comma-space-before/README.md +0 -136
  711. package/templates/facebook/node_modules/stylelint/lib/rules/value-list-comma-space-before/index.js +0 -86
  712. package/templates/facebook/node_modules/stylelint/lib/rules/value-list-max-empty-lines/README.md +0 -121
  713. package/templates/facebook/node_modules/stylelint/lib/rules/value-list-max-empty-lines/index.js +0 -60
  714. package/templates/facebook/node_modules/stylelint/lib/rules/value-no-vendor-prefix/README.md +0 -74
  715. package/templates/facebook/node_modules/stylelint/lib/rules/value-no-vendor-prefix/index.js +0 -90
  716. package/templates/facebook/node_modules/stylelint/lib/rules/valueListCommaWhitespaceChecker.js +0 -57
  717. package/templates/facebook/node_modules/stylelint/lib/standalone.js +0 -334
  718. package/templates/facebook/node_modules/stylelint/lib/syntaxes/index.js +0 -16
  719. package/templates/facebook/node_modules/stylelint/lib/syntaxes/syntax-css-in-js.js +0 -3
  720. package/templates/facebook/node_modules/stylelint/lib/syntaxes/syntax-html.js +0 -8
  721. package/templates/facebook/node_modules/stylelint/lib/syntaxes/syntax-less.js +0 -3
  722. package/templates/facebook/node_modules/stylelint/lib/syntaxes/syntax-markdown.js +0 -8
  723. package/templates/facebook/node_modules/stylelint/lib/syntaxes/syntax-sass.js +0 -3
  724. package/templates/facebook/node_modules/stylelint/lib/syntaxes/syntax-scss.js +0 -3
  725. package/templates/facebook/node_modules/stylelint/lib/syntaxes/syntax-sugarss.js +0 -3
  726. package/templates/facebook/node_modules/stylelint/lib/utils/FileCache.js +0 -68
  727. package/templates/facebook/node_modules/stylelint/lib/utils/addEmptyLineAfter.js +0 -30
  728. package/templates/facebook/node_modules/stylelint/lib/utils/addEmptyLineBefore.js +0 -26
  729. package/templates/facebook/node_modules/stylelint/lib/utils/atRuleParamIndex.js +0 -16
  730. package/templates/facebook/node_modules/stylelint/lib/utils/beforeBlockString.js +0 -54
  731. package/templates/facebook/node_modules/stylelint/lib/utils/blockString.js +0 -25
  732. package/templates/facebook/node_modules/stylelint/lib/utils/blurComments.js +0 -10
  733. package/templates/facebook/node_modules/stylelint/lib/utils/blurFunctionArguments.js +0 -53
  734. package/templates/facebook/node_modules/stylelint/lib/utils/blurInterpolation.js +0 -10
  735. package/templates/facebook/node_modules/stylelint/lib/utils/checkAgainstRule.js +0 -52
  736. package/templates/facebook/node_modules/stylelint/lib/utils/checkInvalidCLIOptions.js +0 -92
  737. package/templates/facebook/node_modules/stylelint/lib/utils/configurationError.js +0 -15
  738. package/templates/facebook/node_modules/stylelint/lib/utils/containsString.js +0 -56
  739. package/templates/facebook/node_modules/stylelint/lib/utils/declarationValueIndex.js +0 -26
  740. package/templates/facebook/node_modules/stylelint/lib/utils/eachDeclarationBlock.js +0 -59
  741. package/templates/facebook/node_modules/stylelint/lib/utils/filterFilePaths.js +0 -19
  742. package/templates/facebook/node_modules/stylelint/lib/utils/findAnimationName.js +0 -69
  743. package/templates/facebook/node_modules/stylelint/lib/utils/findAtRuleContext.js +0 -23
  744. package/templates/facebook/node_modules/stylelint/lib/utils/findFontFamily.js +0 -128
  745. package/templates/facebook/node_modules/stylelint/lib/utils/findListStyleType.js +0 -60
  746. package/templates/facebook/node_modules/stylelint/lib/utils/functionArgumentsSearch.js +0 -41
  747. package/templates/facebook/node_modules/stylelint/lib/utils/getAtRuleParams.js +0 -11
  748. package/templates/facebook/node_modules/stylelint/lib/utils/getCacheFile.js +0 -52
  749. package/templates/facebook/node_modules/stylelint/lib/utils/getDeclarationValue.js +0 -11
  750. package/templates/facebook/node_modules/stylelint/lib/utils/getFileIgnorer.js +0 -34
  751. package/templates/facebook/node_modules/stylelint/lib/utils/getFormatterOptionsText.js +0 -19
  752. package/templates/facebook/node_modules/stylelint/lib/utils/getModulePath.js +0 -31
  753. package/templates/facebook/node_modules/stylelint/lib/utils/getNextNonSharedLineCommentNode.js +0 -38
  754. package/templates/facebook/node_modules/stylelint/lib/utils/getOsEol.js +0 -11
  755. package/templates/facebook/node_modules/stylelint/lib/utils/getPreviousNonSharedLineCommentNode.js +0 -40
  756. package/templates/facebook/node_modules/stylelint/lib/utils/getRuleSelector.js +0 -13
  757. package/templates/facebook/node_modules/stylelint/lib/utils/getSchemeFromUrl.js +0 -39
  758. package/templates/facebook/node_modules/stylelint/lib/utils/getUnitFromValueNode.js +0 -49
  759. package/templates/facebook/node_modules/stylelint/lib/utils/hasBlock.js +0 -11
  760. package/templates/facebook/node_modules/stylelint/lib/utils/hasEmptyBlock.js +0 -13
  761. package/templates/facebook/node_modules/stylelint/lib/utils/hasEmptyLine.js +0 -14
  762. package/templates/facebook/node_modules/stylelint/lib/utils/hasInterpolation.js +0 -26
  763. package/templates/facebook/node_modules/stylelint/lib/utils/hasLessInterpolation.js +0 -11
  764. package/templates/facebook/node_modules/stylelint/lib/utils/hasPsvInterpolation.js +0 -10
  765. package/templates/facebook/node_modules/stylelint/lib/utils/hasScssInterpolation.js +0 -10
  766. package/templates/facebook/node_modules/stylelint/lib/utils/hasTplInterpolation.js +0 -11
  767. package/templates/facebook/node_modules/stylelint/lib/utils/hash.js +0 -12
  768. package/templates/facebook/node_modules/stylelint/lib/utils/isAfterComment.js +0 -16
  769. package/templates/facebook/node_modules/stylelint/lib/utils/isAfterSingleLineComment.js +0 -22
  770. package/templates/facebook/node_modules/stylelint/lib/utils/isAfterStandardPropertyDeclaration.js +0 -20
  771. package/templates/facebook/node_modules/stylelint/lib/utils/isAutoprefixable.js +0 -86
  772. package/templates/facebook/node_modules/stylelint/lib/utils/isBlocklessAtRuleAfterBlocklessAtRule.js +0 -22
  773. package/templates/facebook/node_modules/stylelint/lib/utils/isBlocklessAtRuleAfterSameNameBlocklessAtRule.js +0 -19
  774. package/templates/facebook/node_modules/stylelint/lib/utils/isContextFunctionalPseudoClass.js +0 -23
  775. package/templates/facebook/node_modules/stylelint/lib/utils/isCounterIncrementCustomIdentValue.js +0 -21
  776. package/templates/facebook/node_modules/stylelint/lib/utils/isCounterResetCustomIdentValue.js +0 -21
  777. package/templates/facebook/node_modules/stylelint/lib/utils/isCustomElement.js +0 -46
  778. package/templates/facebook/node_modules/stylelint/lib/utils/isCustomMediaQuery.js +0 -10
  779. package/templates/facebook/node_modules/stylelint/lib/utils/isCustomProperty.js +0 -10
  780. package/templates/facebook/node_modules/stylelint/lib/utils/isCustomPropertySet.js +0 -18
  781. package/templates/facebook/node_modules/stylelint/lib/utils/isCustomSelector.js +0 -11
  782. package/templates/facebook/node_modules/stylelint/lib/utils/isFirstNested.js +0 -67
  783. package/templates/facebook/node_modules/stylelint/lib/utils/isFirstNodeOfRoot.js +0 -15
  784. package/templates/facebook/node_modules/stylelint/lib/utils/isKeyframeRule.js +0 -13
  785. package/templates/facebook/node_modules/stylelint/lib/utils/isKeyframeSelector.js +0 -22
  786. package/templates/facebook/node_modules/stylelint/lib/utils/isLessVariable.js +0 -14
  787. package/templates/facebook/node_modules/stylelint/lib/utils/isMap.js +0 -44
  788. package/templates/facebook/node_modules/stylelint/lib/utils/isMathFunction.js +0 -13
  789. package/templates/facebook/node_modules/stylelint/lib/utils/isNonNegativeInteger.js +0 -17
  790. package/templates/facebook/node_modules/stylelint/lib/utils/isNumbery.js +0 -13
  791. package/templates/facebook/node_modules/stylelint/lib/utils/isOnlyWhitespace.js +0 -22
  792. package/templates/facebook/node_modules/stylelint/lib/utils/isRangeContextMediaFeature.js +0 -11
  793. package/templates/facebook/node_modules/stylelint/lib/utils/isScssVariable.js +0 -21
  794. package/templates/facebook/node_modules/stylelint/lib/utils/isSharedLineComment.js +0 -53
  795. package/templates/facebook/node_modules/stylelint/lib/utils/isSingleLineString.js +0 -12
  796. package/templates/facebook/node_modules/stylelint/lib/utils/isStandardSyntaxAtRule.js +0 -29
  797. package/templates/facebook/node_modules/stylelint/lib/utils/isStandardSyntaxCombinator.js +0 -34
  798. package/templates/facebook/node_modules/stylelint/lib/utils/isStandardSyntaxDeclaration.js +0 -61
  799. package/templates/facebook/node_modules/stylelint/lib/utils/isStandardSyntaxFunction.js +0 -16
  800. package/templates/facebook/node_modules/stylelint/lib/utils/isStandardSyntaxMathFunction.js +0 -21
  801. package/templates/facebook/node_modules/stylelint/lib/utils/isStandardSyntaxMediaFeature.js +0 -26
  802. package/templates/facebook/node_modules/stylelint/lib/utils/isStandardSyntaxMediaFeatureName.js +0 -16
  803. package/templates/facebook/node_modules/stylelint/lib/utils/isStandardSyntaxProperty.js +0 -34
  804. package/templates/facebook/node_modules/stylelint/lib/utils/isStandardSyntaxRule.js +0 -69
  805. package/templates/facebook/node_modules/stylelint/lib/utils/isStandardSyntaxSelector.js +0 -38
  806. package/templates/facebook/node_modules/stylelint/lib/utils/isStandardSyntaxTypeSelector.js +0 -53
  807. package/templates/facebook/node_modules/stylelint/lib/utils/isStandardSyntaxUrl.js +0 -48
  808. package/templates/facebook/node_modules/stylelint/lib/utils/isStandardSyntaxValue.js +0 -47
  809. package/templates/facebook/node_modules/stylelint/lib/utils/isValidFontSize.js +0 -38
  810. package/templates/facebook/node_modules/stylelint/lib/utils/isValidHex.js +0 -11
  811. package/templates/facebook/node_modules/stylelint/lib/utils/isVariable.js +0 -11
  812. package/templates/facebook/node_modules/stylelint/lib/utils/isWhitespace.js +0 -11
  813. package/templates/facebook/node_modules/stylelint/lib/utils/matchesStringOrRegExp.js +0 -85
  814. package/templates/facebook/node_modules/stylelint/lib/utils/nextNonCommentNode.js +0 -20
  815. package/templates/facebook/node_modules/stylelint/lib/utils/noFilesFoundError.js +0 -20
  816. package/templates/facebook/node_modules/stylelint/lib/utils/nodeContextLookup.js +0 -43
  817. package/templates/facebook/node_modules/stylelint/lib/utils/optionsMatches.js +0 -22
  818. package/templates/facebook/node_modules/stylelint/lib/utils/parseCalcExpression/index.js +0 -15
  819. package/templates/facebook/node_modules/stylelint/lib/utils/parseCalcExpression/parser.jison +0 -172
  820. package/templates/facebook/node_modules/stylelint/lib/utils/parseCalcExpression/parser.js +0 -3929
  821. package/templates/facebook/node_modules/stylelint/lib/utils/parseSelector.js +0 -18
  822. package/templates/facebook/node_modules/stylelint/lib/utils/putIfAbsent.js +0 -22
  823. package/templates/facebook/node_modules/stylelint/lib/utils/rawNodeString.js +0 -20
  824. package/templates/facebook/node_modules/stylelint/lib/utils/removeEmptyLinesAfter.js +0 -15
  825. package/templates/facebook/node_modules/stylelint/lib/utils/removeEmptyLinesBefore.js +0 -15
  826. package/templates/facebook/node_modules/stylelint/lib/utils/report.js +0 -113
  827. package/templates/facebook/node_modules/stylelint/lib/utils/ruleMessages.js +0 -35
  828. package/templates/facebook/node_modules/stylelint/lib/utils/setAtRuleParams.js +0 -20
  829. package/templates/facebook/node_modules/stylelint/lib/utils/setDeclarationValue.js +0 -23
  830. package/templates/facebook/node_modules/stylelint/lib/utils/transformSelector.js +0 -17
  831. package/templates/facebook/node_modules/stylelint/lib/utils/typeGuards.js +0 -44
  832. package/templates/facebook/node_modules/stylelint/lib/utils/validateObjectWithArrayProps.js +0 -41
  833. package/templates/facebook/node_modules/stylelint/lib/utils/validateOptions.js +0 -169
  834. package/templates/facebook/node_modules/stylelint/lib/utils/vendor.js +0 -45
  835. package/templates/facebook/node_modules/stylelint/lib/utils/whitespaceChecker.js +0 -370
  836. package/templates/facebook/node_modules/stylelint/lib/validateDisableSettings.js +0 -79
  837. package/templates/facebook/node_modules/stylelint/lib/writeOutputFile.js +0 -13
  838. package/templates/facebook/node_modules/stylelint/package.json +0 -197
  839. package/templates/facebook/node_modules/type-fest/index.d.ts +0 -35
  840. package/templates/facebook/node_modules/type-fest/license +0 -9
  841. package/templates/facebook/node_modules/type-fest/package.json +0 -45
  842. package/templates/facebook/node_modules/type-fest/readme.md +0 -648
  843. package/templates/facebook/node_modules/type-fest/source/async-return-type.d.ts +0 -23
  844. package/templates/facebook/node_modules/type-fest/source/asyncify.d.ts +0 -31
  845. package/templates/facebook/node_modules/type-fest/source/basic.d.ts +0 -67
  846. package/templates/facebook/node_modules/type-fest/source/conditional-except.d.ts +0 -43
  847. package/templates/facebook/node_modules/type-fest/source/conditional-keys.d.ts +0 -43
  848. package/templates/facebook/node_modules/type-fest/source/conditional-pick.d.ts +0 -42
  849. package/templates/facebook/node_modules/type-fest/source/entries.d.ts +0 -57
  850. package/templates/facebook/node_modules/type-fest/source/entry.d.ts +0 -60
  851. package/templates/facebook/node_modules/type-fest/source/except.d.ts +0 -22
  852. package/templates/facebook/node_modules/type-fest/source/fixed-length-array.d.ts +0 -38
  853. package/templates/facebook/node_modules/type-fest/source/iterable-element.d.ts +0 -46
  854. package/templates/facebook/node_modules/type-fest/source/literal-union.d.ts +0 -33
  855. package/templates/facebook/node_modules/type-fest/source/merge-exclusive.d.ts +0 -39
  856. package/templates/facebook/node_modules/type-fest/source/merge.d.ts +0 -22
  857. package/templates/facebook/node_modules/type-fest/source/mutable.d.ts +0 -22
  858. package/templates/facebook/node_modules/type-fest/source/opaque.d.ts +0 -65
  859. package/templates/facebook/node_modules/type-fest/source/package-json.d.ts +0 -627
  860. package/templates/facebook/node_modules/type-fest/source/partial-deep.d.ts +0 -72
  861. package/templates/facebook/node_modules/type-fest/source/promisable.d.ts +0 -23
  862. package/templates/facebook/node_modules/type-fest/source/promise-value.d.ts +0 -27
  863. package/templates/facebook/node_modules/type-fest/source/readonly-deep.d.ts +0 -59
  864. package/templates/facebook/node_modules/type-fest/source/require-at-least-one.d.ts +0 -32
  865. package/templates/facebook/node_modules/type-fest/source/require-exactly-one.d.ts +0 -35
  866. package/templates/facebook/node_modules/type-fest/source/set-optional.d.ts +0 -34
  867. package/templates/facebook/node_modules/type-fest/source/set-required.d.ts +0 -34
  868. package/templates/facebook/node_modules/type-fest/source/set-return-type.d.ts +0 -29
  869. package/templates/facebook/node_modules/type-fest/source/stringified.d.ts +0 -21
  870. package/templates/facebook/node_modules/type-fest/source/tsconfig-json.d.ts +0 -872
  871. package/templates/facebook/node_modules/type-fest/source/union-to-intersection.d.ts +0 -58
  872. package/templates/facebook/node_modules/type-fest/source/value-of.d.ts +0 -40
@@ -1,1283 +0,0 @@
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;