index.mjs 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445
  1. /** @type {import('stylelint').PublicApi['rules']} */
  2. const rules = {
  3. get 'alpha-value-notation'() {
  4. return import('./alpha-value-notation/index.mjs').then((m) => m.default);
  5. },
  6. get 'annotation-no-unknown'() {
  7. return import('./annotation-no-unknown/index.mjs').then((m) => m.default);
  8. },
  9. get 'at-rule-allowed-list'() {
  10. return import('./at-rule-allowed-list/index.mjs').then((m) => m.default);
  11. },
  12. get 'at-rule-descriptor-no-unknown'() {
  13. return import('./at-rule-descriptor-no-unknown/index.mjs').then((m) => m.default);
  14. },
  15. get 'at-rule-descriptor-value-no-unknown'() {
  16. return import('./at-rule-descriptor-value-no-unknown/index.mjs').then((m) => m.default);
  17. },
  18. get 'at-rule-disallowed-list'() {
  19. return import('./at-rule-disallowed-list/index.mjs').then((m) => m.default);
  20. },
  21. get 'at-rule-empty-line-before'() {
  22. return import('./at-rule-empty-line-before/index.mjs').then((m) => m.default);
  23. },
  24. get 'at-rule-no-deprecated'() {
  25. return import('./at-rule-no-deprecated/index.mjs').then((m) => m.default);
  26. },
  27. get 'at-rule-no-unknown'() {
  28. return import('./at-rule-no-unknown/index.mjs').then((m) => m.default);
  29. },
  30. get 'at-rule-no-vendor-prefix'() {
  31. return import('./at-rule-no-vendor-prefix/index.mjs').then((m) => m.default);
  32. },
  33. get 'at-rule-prelude-no-invalid'() {
  34. return import('./at-rule-prelude-no-invalid/index.mjs').then((m) => m.default);
  35. },
  36. get 'at-rule-property-required-list'() {
  37. return import('./at-rule-property-required-list/index.mjs').then((m) => m.default);
  38. },
  39. get 'block-no-empty'() {
  40. return import('./block-no-empty/index.mjs').then((m) => m.default);
  41. },
  42. get 'block-no-redundant-nested-style-rules'() {
  43. return import('./block-no-redundant-nested-style-rules/index.mjs').then((m) => m.default);
  44. },
  45. get 'color-function-alias-notation'() {
  46. return import('./color-function-alias-notation/index.mjs').then((m) => m.default);
  47. },
  48. get 'color-function-notation'() {
  49. return import('./color-function-notation/index.mjs').then((m) => m.default);
  50. },
  51. get 'color-hex-alpha'() {
  52. return import('./color-hex-alpha/index.mjs').then((m) => m.default);
  53. },
  54. get 'color-hex-length'() {
  55. return import('./color-hex-length/index.mjs').then((m) => m.default);
  56. },
  57. get 'color-named'() {
  58. return import('./color-named/index.mjs').then((m) => m.default);
  59. },
  60. get 'color-no-hex'() {
  61. return import('./color-no-hex/index.mjs').then((m) => m.default);
  62. },
  63. get 'color-no-invalid-hex'() {
  64. return import('./color-no-invalid-hex/index.mjs').then((m) => m.default);
  65. },
  66. get 'comment-empty-line-before'() {
  67. return import('./comment-empty-line-before/index.mjs').then((m) => m.default);
  68. },
  69. get 'comment-no-empty'() {
  70. return import('./comment-no-empty/index.mjs').then((m) => m.default);
  71. },
  72. get 'comment-pattern'() {
  73. return import('./comment-pattern/index.mjs').then((m) => m.default);
  74. },
  75. get 'comment-whitespace-inside'() {
  76. return import('./comment-whitespace-inside/index.mjs').then((m) => m.default);
  77. },
  78. get 'comment-word-disallowed-list'() {
  79. return import('./comment-word-disallowed-list/index.mjs').then((m) => m.default);
  80. },
  81. get 'container-name-pattern'() {
  82. return import('./container-name-pattern/index.mjs').then((m) => m.default);
  83. },
  84. get 'custom-media-pattern'() {
  85. return import('./custom-media-pattern/index.mjs').then((m) => m.default);
  86. },
  87. get 'custom-property-empty-line-before'() {
  88. return import('./custom-property-empty-line-before/index.mjs').then((m) => m.default);
  89. },
  90. get 'custom-property-no-missing-var-function'() {
  91. return import('./custom-property-no-missing-var-function/index.mjs').then((m) => m.default);
  92. },
  93. get 'custom-property-pattern'() {
  94. return import('./custom-property-pattern/index.mjs').then((m) => m.default);
  95. },
  96. get 'declaration-block-no-duplicate-custom-properties'() {
  97. return import('./declaration-block-no-duplicate-custom-properties/index.mjs').then(
  98. (m) => m.default,
  99. );
  100. },
  101. get 'declaration-block-no-duplicate-properties'() {
  102. return import('./declaration-block-no-duplicate-properties/index.mjs').then((m) => m.default);
  103. },
  104. get 'rule-nesting-at-rule-required-list'() {
  105. return import('./rule-nesting-at-rule-required-list/index.mjs').then((m) => m.default);
  106. },
  107. get 'declaration-block-no-redundant-longhand-properties'() {
  108. return import('./declaration-block-no-redundant-longhand-properties/index.mjs').then(
  109. (m) => m.default,
  110. );
  111. },
  112. get 'declaration-block-no-shorthand-property-overrides'() {
  113. return import('./declaration-block-no-shorthand-property-overrides/index.mjs').then(
  114. (m) => m.default,
  115. );
  116. },
  117. get 'declaration-block-single-line-max-declarations'() {
  118. return import('./declaration-block-single-line-max-declarations/index.mjs').then(
  119. (m) => m.default,
  120. );
  121. },
  122. get 'declaration-empty-line-before'() {
  123. return import('./declaration-empty-line-before/index.mjs').then((m) => m.default);
  124. },
  125. get 'declaration-no-important'() {
  126. return import('./declaration-no-important/index.mjs').then((m) => m.default);
  127. },
  128. get 'declaration-property-max-values'() {
  129. return import('./declaration-property-max-values/index.mjs').then((m) => m.default);
  130. },
  131. get 'declaration-property-unit-allowed-list'() {
  132. return import('./declaration-property-unit-allowed-list/index.mjs').then((m) => m.default);
  133. },
  134. get 'declaration-property-unit-disallowed-list'() {
  135. return import('./declaration-property-unit-disallowed-list/index.mjs').then((m) => m.default);
  136. },
  137. get 'declaration-property-value-allowed-list'() {
  138. return import('./declaration-property-value-allowed-list/index.mjs').then((m) => m.default);
  139. },
  140. get 'declaration-property-value-disallowed-list'() {
  141. return import('./declaration-property-value-disallowed-list/index.mjs').then((m) => m.default);
  142. },
  143. get 'declaration-property-value-keyword-no-deprecated'() {
  144. return import('./declaration-property-value-keyword-no-deprecated/index.mjs').then(
  145. (m) => m.default,
  146. );
  147. },
  148. get 'declaration-property-value-no-unknown'() {
  149. return import('./declaration-property-value-no-unknown/index.mjs').then((m) => m.default);
  150. },
  151. get 'font-family-name-quotes'() {
  152. return import('./font-family-name-quotes/index.mjs').then((m) => m.default);
  153. },
  154. get 'font-family-no-duplicate-names'() {
  155. return import('./font-family-no-duplicate-names/index.mjs').then((m) => m.default);
  156. },
  157. get 'font-family-no-missing-generic-family-keyword'() {
  158. return import('./font-family-no-missing-generic-family-keyword/index.mjs').then(
  159. (m) => m.default,
  160. );
  161. },
  162. get 'font-weight-notation'() {
  163. return import('./font-weight-notation/index.mjs').then((m) => m.default);
  164. },
  165. get 'function-allowed-list'() {
  166. return import('./function-allowed-list/index.mjs').then((m) => m.default);
  167. },
  168. get 'function-calc-no-unspaced-operator'() {
  169. return import('./function-calc-no-unspaced-operator/index.mjs').then((m) => m.default);
  170. },
  171. get 'function-disallowed-list'() {
  172. return import('./function-disallowed-list/index.mjs').then((m) => m.default);
  173. },
  174. get 'function-linear-gradient-no-nonstandard-direction'() {
  175. return import('./function-linear-gradient-no-nonstandard-direction/index.mjs').then(
  176. (m) => m.default,
  177. );
  178. },
  179. get 'function-name-case'() {
  180. return import('./function-name-case/index.mjs').then((m) => m.default);
  181. },
  182. get 'function-no-unknown'() {
  183. return import('./function-no-unknown/index.mjs').then((m) => m.default);
  184. },
  185. get 'function-url-no-scheme-relative'() {
  186. return import('./function-url-no-scheme-relative/index.mjs').then((m) => m.default);
  187. },
  188. get 'function-url-quotes'() {
  189. return import('./function-url-quotes/index.mjs').then((m) => m.default);
  190. },
  191. get 'function-url-scheme-allowed-list'() {
  192. return import('./function-url-scheme-allowed-list/index.mjs').then((m) => m.default);
  193. },
  194. get 'function-url-scheme-disallowed-list'() {
  195. return import('./function-url-scheme-disallowed-list/index.mjs').then((m) => m.default);
  196. },
  197. get 'hue-degree-notation'() {
  198. return import('./hue-degree-notation/index.mjs').then((m) => m.default);
  199. },
  200. get 'import-notation'() {
  201. return import('./import-notation/index.mjs').then((m) => m.default);
  202. },
  203. get 'keyframe-block-no-duplicate-selectors'() {
  204. return import('./keyframe-block-no-duplicate-selectors/index.mjs').then((m) => m.default);
  205. },
  206. get 'keyframe-declaration-no-important'() {
  207. return import('./keyframe-declaration-no-important/index.mjs').then((m) => m.default);
  208. },
  209. get 'keyframe-selector-notation'() {
  210. return import('./keyframe-selector-notation/index.mjs').then((m) => m.default);
  211. },
  212. get 'keyframes-name-pattern'() {
  213. return import('./keyframes-name-pattern/index.mjs').then((m) => m.default);
  214. },
  215. get 'layer-name-pattern'() {
  216. return import('./layer-name-pattern/index.mjs').then((m) => m.default);
  217. },
  218. get 'length-zero-no-unit'() {
  219. return import('./length-zero-no-unit/index.mjs').then((m) => m.default);
  220. },
  221. get 'lightness-notation'() {
  222. return import('./lightness-notation/index.mjs').then((m) => m.default);
  223. },
  224. get 'max-nesting-depth'() {
  225. return import('./max-nesting-depth/index.mjs').then((m) => m.default);
  226. },
  227. get 'media-feature-name-allowed-list'() {
  228. return import('./media-feature-name-allowed-list/index.mjs').then((m) => m.default);
  229. },
  230. get 'media-feature-name-disallowed-list'() {
  231. return import('./media-feature-name-disallowed-list/index.mjs').then((m) => m.default);
  232. },
  233. get 'media-feature-name-no-unknown'() {
  234. return import('./media-feature-name-no-unknown/index.mjs').then((m) => m.default);
  235. },
  236. get 'media-feature-name-no-vendor-prefix'() {
  237. return import('./media-feature-name-no-vendor-prefix/index.mjs').then((m) => m.default);
  238. },
  239. get 'media-feature-name-unit-allowed-list'() {
  240. return import('./media-feature-name-unit-allowed-list/index.mjs').then((m) => m.default);
  241. },
  242. get 'media-feature-name-value-allowed-list'() {
  243. return import('./media-feature-name-value-allowed-list/index.mjs').then((m) => m.default);
  244. },
  245. get 'media-feature-name-value-no-unknown'() {
  246. return import('./media-feature-name-value-no-unknown/index.mjs').then((m) => m.default);
  247. },
  248. get 'media-feature-range-notation'() {
  249. return import('./media-feature-range-notation/index.mjs').then((m) => m.default);
  250. },
  251. get 'media-query-no-invalid'() {
  252. return import('./media-query-no-invalid/index.mjs').then((m) => m.default);
  253. },
  254. get 'media-type-no-deprecated'() {
  255. return import('./media-type-no-deprecated/index.mjs').then((m) => m.default);
  256. },
  257. get 'named-grid-areas-no-invalid'() {
  258. return import('./named-grid-areas-no-invalid/index.mjs').then((m) => m.default);
  259. },
  260. get 'nesting-selector-no-missing-scoping-root'() {
  261. return import('./nesting-selector-no-missing-scoping-root/index.mjs').then((m) => m.default);
  262. },
  263. get 'no-descending-specificity'() {
  264. return import('./no-descending-specificity/index.mjs').then((m) => m.default);
  265. },
  266. get 'no-duplicate-at-import-rules'() {
  267. return import('./no-duplicate-at-import-rules/index.mjs').then((m) => m.default);
  268. },
  269. get 'no-duplicate-selectors'() {
  270. return import('./no-duplicate-selectors/index.mjs').then((m) => m.default);
  271. },
  272. get 'no-empty-source'() {
  273. return import('./no-empty-source/index.mjs').then((m) => m.default);
  274. },
  275. get 'no-invalid-double-slash-comments'() {
  276. return import('./no-invalid-double-slash-comments/index.mjs').then((m) => m.default);
  277. },
  278. get 'no-invalid-position-at-import-rule'() {
  279. return import('./no-invalid-position-at-import-rule/index.mjs').then((m) => m.default);
  280. },
  281. get 'no-invalid-position-declaration'() {
  282. return import('./no-invalid-position-declaration/index.mjs').then((m) => m.default);
  283. },
  284. get 'no-irregular-whitespace'() {
  285. return import('./no-irregular-whitespace/index.mjs').then((m) => m.default);
  286. },
  287. get 'no-unknown-animations'() {
  288. return import('./no-unknown-animations/index.mjs').then((m) => m.default);
  289. },
  290. get 'no-unknown-custom-media'() {
  291. return import('./no-unknown-custom-media/index.mjs').then((m) => m.default);
  292. },
  293. get 'no-unknown-custom-properties'() {
  294. return import('./no-unknown-custom-properties/index.mjs').then((m) => m.default);
  295. },
  296. get 'number-max-precision'() {
  297. return import('./number-max-precision/index.mjs').then((m) => m.default);
  298. },
  299. get 'property-allowed-list'() {
  300. return import('./property-allowed-list/index.mjs').then((m) => m.default);
  301. },
  302. get 'property-disallowed-list'() {
  303. return import('./property-disallowed-list/index.mjs').then((m) => m.default);
  304. },
  305. get 'property-no-deprecated'() {
  306. return import('./property-no-deprecated/index.mjs').then((m) => m.default);
  307. },
  308. get 'property-no-unknown'() {
  309. return import('./property-no-unknown/index.mjs').then((m) => m.default);
  310. },
  311. get 'property-no-vendor-prefix'() {
  312. return import('./property-no-vendor-prefix/index.mjs').then((m) => m.default);
  313. },
  314. get 'rule-empty-line-before'() {
  315. return import('./rule-empty-line-before/index.mjs').then((m) => m.default);
  316. },
  317. get 'rule-selector-property-disallowed-list'() {
  318. return import('./rule-selector-property-disallowed-list/index.mjs').then((m) => m.default);
  319. },
  320. get 'selector-anb-no-unmatchable'() {
  321. return import('./selector-anb-no-unmatchable/index.mjs').then((m) => m.default);
  322. },
  323. get 'selector-attribute-name-disallowed-list'() {
  324. return import('./selector-attribute-name-disallowed-list/index.mjs').then((m) => m.default);
  325. },
  326. get 'selector-attribute-operator-allowed-list'() {
  327. return import('./selector-attribute-operator-allowed-list/index.mjs').then((m) => m.default);
  328. },
  329. get 'selector-attribute-operator-disallowed-list'() {
  330. return import('./selector-attribute-operator-disallowed-list/index.mjs').then((m) => m.default);
  331. },
  332. get 'selector-attribute-quotes'() {
  333. return import('./selector-attribute-quotes/index.mjs').then((m) => m.default);
  334. },
  335. get 'selector-class-pattern'() {
  336. return import('./selector-class-pattern/index.mjs').then((m) => m.default);
  337. },
  338. get 'selector-combinator-allowed-list'() {
  339. return import('./selector-combinator-allowed-list/index.mjs').then((m) => m.default);
  340. },
  341. get 'selector-combinator-disallowed-list'() {
  342. return import('./selector-combinator-disallowed-list/index.mjs').then((m) => m.default);
  343. },
  344. get 'selector-disallowed-list'() {
  345. return import('./selector-disallowed-list/index.mjs').then((m) => m.default);
  346. },
  347. get 'selector-id-pattern'() {
  348. return import('./selector-id-pattern/index.mjs').then((m) => m.default);
  349. },
  350. get 'selector-max-attribute'() {
  351. return import('./selector-max-attribute/index.mjs').then((m) => m.default);
  352. },
  353. get 'selector-max-class'() {
  354. return import('./selector-max-class/index.mjs').then((m) => m.default);
  355. },
  356. get 'selector-max-combinators'() {
  357. return import('./selector-max-combinators/index.mjs').then((m) => m.default);
  358. },
  359. get 'selector-max-compound-selectors'() {
  360. return import('./selector-max-compound-selectors/index.mjs').then((m) => m.default);
  361. },
  362. get 'selector-max-id'() {
  363. return import('./selector-max-id/index.mjs').then((m) => m.default);
  364. },
  365. get 'selector-max-pseudo-class'() {
  366. return import('./selector-max-pseudo-class/index.mjs').then((m) => m.default);
  367. },
  368. get 'selector-max-specificity'() {
  369. return import('./selector-max-specificity/index.mjs').then((m) => m.default);
  370. },
  371. get 'selector-max-type'() {
  372. return import('./selector-max-type/index.mjs').then((m) => m.default);
  373. },
  374. get 'selector-max-universal'() {
  375. return import('./selector-max-universal/index.mjs').then((m) => m.default);
  376. },
  377. get 'selector-nested-pattern'() {
  378. return import('./selector-nested-pattern/index.mjs').then((m) => m.default);
  379. },
  380. get 'selector-no-qualifying-type'() {
  381. return import('./selector-no-qualifying-type/index.mjs').then((m) => m.default);
  382. },
  383. get 'selector-no-vendor-prefix'() {
  384. return import('./selector-no-vendor-prefix/index.mjs').then((m) => m.default);
  385. },
  386. get 'selector-not-notation'() {
  387. return import('./selector-not-notation/index.mjs').then((m) => m.default);
  388. },
  389. get 'selector-pseudo-class-allowed-list'() {
  390. return import('./selector-pseudo-class-allowed-list/index.mjs').then((m) => m.default);
  391. },
  392. get 'selector-pseudo-class-disallowed-list'() {
  393. return import('./selector-pseudo-class-disallowed-list/index.mjs').then((m) => m.default);
  394. },
  395. get 'selector-pseudo-class-no-unknown'() {
  396. return import('./selector-pseudo-class-no-unknown/index.mjs').then((m) => m.default);
  397. },
  398. get 'selector-pseudo-element-allowed-list'() {
  399. return import('./selector-pseudo-element-allowed-list/index.mjs').then((m) => m.default);
  400. },
  401. get 'selector-pseudo-element-colon-notation'() {
  402. return import('./selector-pseudo-element-colon-notation/index.mjs').then((m) => m.default);
  403. },
  404. get 'selector-pseudo-element-disallowed-list'() {
  405. return import('./selector-pseudo-element-disallowed-list/index.mjs').then((m) => m.default);
  406. },
  407. get 'selector-pseudo-element-no-unknown'() {
  408. return import('./selector-pseudo-element-no-unknown/index.mjs').then((m) => m.default);
  409. },
  410. get 'selector-type-case'() {
  411. return import('./selector-type-case/index.mjs').then((m) => m.default);
  412. },
  413. get 'selector-type-no-unknown'() {
  414. return import('./selector-type-no-unknown/index.mjs').then((m) => m.default);
  415. },
  416. get 'shorthand-property-no-redundant-values'() {
  417. return import('./shorthand-property-no-redundant-values/index.mjs').then((m) => m.default);
  418. },
  419. get 'string-no-newline'() {
  420. return import('./string-no-newline/index.mjs').then((m) => m.default);
  421. },
  422. get 'syntax-string-no-invalid'() {
  423. return import('./syntax-string-no-invalid/index.mjs').then((m) => m.default);
  424. },
  425. get 'time-min-milliseconds'() {
  426. return import('./time-min-milliseconds/index.mjs').then((m) => m.default);
  427. },
  428. get 'unit-allowed-list'() {
  429. return import('./unit-allowed-list/index.mjs').then((m) => m.default);
  430. },
  431. get 'unit-disallowed-list'() {
  432. return import('./unit-disallowed-list/index.mjs').then((m) => m.default);
  433. },
  434. get 'unit-no-unknown'() {
  435. return import('./unit-no-unknown/index.mjs').then((m) => m.default);
  436. },
  437. get 'value-keyword-case'() {
  438. return import('./value-keyword-case/index.mjs').then((m) => m.default);
  439. },
  440. get 'value-no-vendor-prefix'() {
  441. return import('./value-no-vendor-prefix/index.mjs').then((m) => m.default);
  442. },
  443. };
  444. export default rules;