@dhzh/eslint-plugin-better-tailwindcss 0.0.0-stage → 4.9.0-patch

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 (423) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +247 -2
  3. package/lib/api/defaults.d.ts +103 -0
  4. package/lib/api/defaults.d.ts.map +1 -0
  5. package/lib/api/defaults.js +34 -0
  6. package/lib/api/defaults.js.map +1 -0
  7. package/lib/api/types.d.ts +9 -0
  8. package/lib/api/types.d.ts.map +1 -0
  9. package/lib/api/types.js +5 -0
  10. package/lib/api/types.js.map +1 -0
  11. package/lib/async-utils/cache.d.ts +30 -0
  12. package/lib/async-utils/cache.d.ts.map +1 -0
  13. package/lib/async-utils/cache.js +116 -0
  14. package/lib/async-utils/cache.js.map +1 -0
  15. package/lib/async-utils/escape.d.ts +2 -0
  16. package/lib/async-utils/escape.d.ts.map +1 -0
  17. package/lib/async-utils/escape.js +5 -0
  18. package/lib/async-utils/escape.js.map +1 -0
  19. package/lib/async-utils/fs.d.ts +3 -0
  20. package/lib/async-utils/fs.d.ts.map +1 -0
  21. package/lib/async-utils/fs.js +28 -0
  22. package/lib/async-utils/fs.js.map +1 -0
  23. package/lib/async-utils/module.d.ts +3 -0
  24. package/lib/async-utils/module.d.ts.map +1 -0
  25. package/lib/async-utils/module.js +7 -0
  26. package/lib/async-utils/module.js.map +1 -0
  27. package/lib/async-utils/operations.d.ts +23 -0
  28. package/lib/async-utils/operations.d.ts.map +1 -0
  29. package/lib/async-utils/operations.js +2 -0
  30. package/lib/async-utils/operations.js.map +1 -0
  31. package/lib/async-utils/order.d.ts +4 -0
  32. package/lib/async-utils/order.d.ts.map +1 -0
  33. package/lib/async-utils/order.js +5 -0
  34. package/lib/async-utils/order.js.map +1 -0
  35. package/lib/async-utils/path.d.ts +2 -0
  36. package/lib/async-utils/path.d.ts.map +1 -0
  37. package/lib/async-utils/path.js +7 -0
  38. package/lib/async-utils/path.js.map +1 -0
  39. package/lib/async-utils/platform.d.ts +2 -0
  40. package/lib/async-utils/platform.d.ts.map +1 -0
  41. package/lib/async-utils/platform.js +4 -0
  42. package/lib/async-utils/platform.js.map +1 -0
  43. package/lib/async-utils/regex.d.ts +3 -0
  44. package/lib/async-utils/regex.d.ts.map +1 -0
  45. package/lib/async-utils/regex.js +32 -0
  46. package/lib/async-utils/regex.js.map +1 -0
  47. package/lib/async-utils/resolvers.d.ts +7 -0
  48. package/lib/async-utils/resolvers.d.ts.map +1 -0
  49. package/lib/async-utils/resolvers.js +64 -0
  50. package/lib/async-utils/resolvers.js.map +1 -0
  51. package/lib/async-utils/segment.d.ts +2 -0
  52. package/lib/async-utils/segment.d.ts.map +1 -0
  53. package/lib/async-utils/segment.js +82 -0
  54. package/lib/async-utils/segment.js.map +1 -0
  55. package/lib/async-utils/worker.d.ts +3 -0
  56. package/lib/async-utils/worker.d.ts.map +1 -0
  57. package/lib/async-utils/worker.js +17 -0
  58. package/lib/async-utils/worker.js.map +1 -0
  59. package/lib/configs/config.d.ts +3521 -0
  60. package/lib/configs/config.d.ts.map +1 -0
  61. package/lib/configs/config.js +98 -0
  62. package/lib/configs/config.js.map +1 -0
  63. package/lib/options/callees/cc.d.ts +30 -0
  64. package/lib/options/callees/cc.d.ts.map +1 -0
  65. package/lib/options/callees/cc.js +25 -0
  66. package/lib/options/callees/cc.js.map +1 -0
  67. package/lib/options/callees/clb.d.ts +35 -0
  68. package/lib/options/callees/clb.d.ts.map +1 -0
  69. package/lib/options/callees/clb.js +39 -0
  70. package/lib/options/callees/clb.js.map +1 -0
  71. package/lib/options/callees/clsx.d.ts +30 -0
  72. package/lib/options/callees/clsx.d.ts.map +1 -0
  73. package/lib/options/callees/clsx.js +25 -0
  74. package/lib/options/callees/clsx.js.map +1 -0
  75. package/lib/options/callees/cn.d.ts +30 -0
  76. package/lib/options/callees/cn.d.ts.map +1 -0
  77. package/lib/options/callees/cn.js +25 -0
  78. package/lib/options/callees/cn.js.map +1 -0
  79. package/lib/options/callees/cnb.d.ts +30 -0
  80. package/lib/options/callees/cnb.d.ts.map +1 -0
  81. package/lib/options/callees/cnb.js +25 -0
  82. package/lib/options/callees/cnb.js.map +1 -0
  83. package/lib/options/callees/ctl.d.ts +17 -0
  84. package/lib/options/callees/ctl.d.ts.map +1 -0
  85. package/lib/options/callees/ctl.js +15 -0
  86. package/lib/options/callees/ctl.js.map +1 -0
  87. package/lib/options/callees/cva.d.ts +40 -0
  88. package/lib/options/callees/cva.d.ts.map +1 -0
  89. package/lib/options/callees/cva.js +37 -0
  90. package/lib/options/callees/cva.js.map +1 -0
  91. package/lib/options/callees/cx.d.ts +30 -0
  92. package/lib/options/callees/cx.d.ts.map +1 -0
  93. package/lib/options/callees/cx.js +25 -0
  94. package/lib/options/callees/cx.js.map +1 -0
  95. package/lib/options/callees/dcnb.d.ts +30 -0
  96. package/lib/options/callees/dcnb.d.ts.map +1 -0
  97. package/lib/options/callees/dcnb.js +25 -0
  98. package/lib/options/callees/dcnb.js.map +1 -0
  99. package/lib/options/callees/objstr.d.ts +24 -0
  100. package/lib/options/callees/objstr.d.ts.map +1 -0
  101. package/lib/options/callees/objstr.js +24 -0
  102. package/lib/options/callees/objstr.js.map +1 -0
  103. package/lib/options/callees/tv.d.ts +64 -0
  104. package/lib/options/callees/tv.d.ts.map +1 -0
  105. package/lib/options/callees/tv.js +70 -0
  106. package/lib/options/callees/tv.js.map +1 -0
  107. package/lib/options/callees/twJoin.d.ts +17 -0
  108. package/lib/options/callees/twJoin.d.ts.map +1 -0
  109. package/lib/options/callees/twJoin.js +15 -0
  110. package/lib/options/callees/twJoin.js.map +1 -0
  111. package/lib/options/callees/twMerge.d.ts +17 -0
  112. package/lib/options/callees/twMerge.d.ts.map +1 -0
  113. package/lib/options/callees/twMerge.js +15 -0
  114. package/lib/options/callees/twMerge.js.map +1 -0
  115. package/lib/options/default-options.d.ts +114 -0
  116. package/lib/options/default-options.d.ts.map +1 -0
  117. package/lib/options/default-options.js +176 -0
  118. package/lib/options/default-options.js.map +1 -0
  119. package/lib/options/descriptions.d.ts +657 -0
  120. package/lib/options/descriptions.d.ts.map +1 -0
  121. package/lib/options/descriptions.js +22 -0
  122. package/lib/options/descriptions.js.map +1 -0
  123. package/lib/options/migrate.d.ts +16 -0
  124. package/lib/options/migrate.d.ts.map +1 -0
  125. package/lib/options/migrate.js +132 -0
  126. package/lib/options/migrate.js.map +1 -0
  127. package/lib/options/schemas/attributes.d.ts +100 -0
  128. package/lib/options/schemas/attributes.d.ts.map +1 -0
  129. package/lib/options/schemas/attributes.js +19 -0
  130. package/lib/options/schemas/attributes.js.map +1 -0
  131. package/lib/options/schemas/callees.d.ts +101 -0
  132. package/lib/options/schemas/callees.d.ts.map +1 -0
  133. package/lib/options/schemas/callees.js +19 -0
  134. package/lib/options/schemas/callees.js.map +1 -0
  135. package/lib/options/schemas/common.d.ts +30 -0
  136. package/lib/options/schemas/common.d.ts.map +1 -0
  137. package/lib/options/schemas/common.js +30 -0
  138. package/lib/options/schemas/common.js.map +1 -0
  139. package/lib/options/schemas/matchers.d.ts +13 -0
  140. package/lib/options/schemas/matchers.d.ts.map +1 -0
  141. package/lib/options/schemas/matchers.js +14 -0
  142. package/lib/options/schemas/matchers.js.map +1 -0
  143. package/lib/options/schemas/selectors.d.ts +1289 -0
  144. package/lib/options/schemas/selectors.d.ts.map +1 -0
  145. package/lib/options/schemas/selectors.js +100 -0
  146. package/lib/options/schemas/selectors.js.map +1 -0
  147. package/lib/options/schemas/tags.d.ts +101 -0
  148. package/lib/options/schemas/tags.d.ts.map +1 -0
  149. package/lib/options/schemas/tags.js +19 -0
  150. package/lib/options/schemas/tags.js.map +1 -0
  151. package/lib/options/schemas/variables.d.ts +100 -0
  152. package/lib/options/schemas/variables.d.ts.map +1 -0
  153. package/lib/options/schemas/variables.js +19 -0
  154. package/lib/options/schemas/variables.js.map +1 -0
  155. package/lib/options/tags/twc.d.ts +36 -0
  156. package/lib/options/tags/twc.d.ts.map +1 -0
  157. package/lib/options/tags/twc.js +26 -0
  158. package/lib/options/tags/twc.js.map +1 -0
  159. package/lib/options/tags/twx.d.ts +36 -0
  160. package/lib/options/tags/twx.d.ts.map +1 -0
  161. package/lib/options/tags/twx.js +26 -0
  162. package/lib/options/tags/twx.js.map +1 -0
  163. package/lib/parsers/angular.d.ts +11 -0
  164. package/lib/parsers/angular.d.ts.map +1 -0
  165. package/lib/parsers/angular.js +736 -0
  166. package/lib/parsers/angular.js.map +1 -0
  167. package/lib/parsers/css.d.ts +5 -0
  168. package/lib/parsers/css.d.ts.map +1 -0
  169. package/lib/parsers/css.js +100 -0
  170. package/lib/parsers/css.js.map +1 -0
  171. package/lib/parsers/es.d.ts +49 -0
  172. package/lib/parsers/es.d.ts.map +1 -0
  173. package/lib/parsers/es.js +924 -0
  174. package/lib/parsers/es.js.map +1 -0
  175. package/lib/parsers/html.d.ts +8 -0
  176. package/lib/parsers/html.d.ts.map +1 -0
  177. package/lib/parsers/html.js +51 -0
  178. package/lib/parsers/html.js.map +1 -0
  179. package/lib/parsers/jsx.d.ts +9 -0
  180. package/lib/parsers/jsx.d.ts.map +1 -0
  181. package/lib/parsers/jsx.js +118 -0
  182. package/lib/parsers/jsx.js.map +1 -0
  183. package/lib/parsers/svelte.d.ts +11 -0
  184. package/lib/parsers/svelte.d.ts.map +1 -0
  185. package/lib/parsers/svelte.js +204 -0
  186. package/lib/parsers/svelte.js.map +1 -0
  187. package/lib/parsers/vue.d.ts +9 -0
  188. package/lib/parsers/vue.d.ts.map +1 -0
  189. package/lib/parsers/vue.js +155 -0
  190. package/lib/parsers/vue.js.map +1 -0
  191. package/lib/rules/enforce-canonical-classes.d.ts +229 -0
  192. package/lib/rules/enforce-canonical-classes.d.ts.map +1 -0
  193. package/lib/rules/enforce-canonical-classes.js +84 -0
  194. package/lib/rules/enforce-canonical-classes.js.map +1 -0
  195. package/lib/rules/enforce-consistent-class-order.d.ts +229 -0
  196. package/lib/rules/enforce-consistent-class-order.d.ts.map +1 -0
  197. package/lib/rules/enforce-consistent-class-order.js +250 -0
  198. package/lib/rules/enforce-consistent-class-order.js.map +1 -0
  199. package/lib/rules/enforce-consistent-important-position.d.ts +225 -0
  200. package/lib/rules/enforce-consistent-important-position.d.ts.map +1 -0
  201. package/lib/rules/enforce-consistent-important-position.js +68 -0
  202. package/lib/rules/enforce-consistent-important-position.js.map +1 -0
  203. package/lib/rules/enforce-consistent-line-wrapping.d.ts +235 -0
  204. package/lib/rules/enforce-consistent-line-wrapping.d.ts.map +1 -0
  205. package/lib/rules/enforce-consistent-line-wrapping.js +537 -0
  206. package/lib/rules/enforce-consistent-line-wrapping.js.map +1 -0
  207. package/lib/rules/enforce-consistent-variable-syntax.d.ts +225 -0
  208. package/lib/rules/enforce-consistent-variable-syntax.d.ts.map +1 -0
  209. package/lib/rules/enforce-consistent-variable-syntax.js +164 -0
  210. package/lib/rules/enforce-consistent-variable-syntax.js.map +1 -0
  211. package/lib/rules/enforce-consistent-variant-order.d.ts +225 -0
  212. package/lib/rules/enforce-consistent-variant-order.d.ts.map +1 -0
  213. package/lib/rules/enforce-consistent-variant-order.js +77 -0
  214. package/lib/rules/enforce-consistent-variant-order.js.map +1 -0
  215. package/lib/rules/enforce-logical-properties.d.ts +227 -0
  216. package/lib/rules/enforce-logical-properties.d.ts.map +1 -0
  217. package/lib/rules/enforce-logical-properties.js +142 -0
  218. package/lib/rules/enforce-logical-properties.js.map +1 -0
  219. package/lib/rules/enforce-shorthand-classes.d.ts +229 -0
  220. package/lib/rules/enforce-shorthand-classes.d.ts.map +1 -0
  221. package/lib/rules/enforce-shorthand-classes.js +217 -0
  222. package/lib/rules/enforce-shorthand-classes.js.map +1 -0
  223. package/lib/rules/no-concatenated-classes.d.ts +225 -0
  224. package/lib/rules/no-concatenated-classes.d.ts.map +1 -0
  225. package/lib/rules/no-concatenated-classes.js +31 -0
  226. package/lib/rules/no-concatenated-classes.js.map +1 -0
  227. package/lib/rules/no-conflicting-classes.d.ts +225 -0
  228. package/lib/rules/no-conflicting-classes.d.ts.map +1 -0
  229. package/lib/rules/no-conflicting-classes.js +60 -0
  230. package/lib/rules/no-conflicting-classes.js.map +1 -0
  231. package/lib/rules/no-deprecated-classes.d.ts +227 -0
  232. package/lib/rules/no-deprecated-classes.d.ts.map +1 -0
  233. package/lib/rules/no-deprecated-classes.js +103 -0
  234. package/lib/rules/no-deprecated-classes.js.map +1 -0
  235. package/lib/rules/no-duplicate-classes.d.ts +225 -0
  236. package/lib/rules/no-duplicate-classes.d.ts.map +1 -0
  237. package/lib/rules/no-duplicate-classes.js +52 -0
  238. package/lib/rules/no-duplicate-classes.js.map +1 -0
  239. package/lib/rules/no-restricted-classes.d.ts +225 -0
  240. package/lib/rules/no-restricted-classes.d.ts.map +1 -0
  241. package/lib/rules/no-restricted-classes.js +57 -0
  242. package/lib/rules/no-restricted-classes.js.map +1 -0
  243. package/lib/rules/no-unknown-classes.d.ts +225 -0
  244. package/lib/rules/no-unknown-classes.d.ts.map +1 -0
  245. package/lib/rules/no-unknown-classes.js +82 -0
  246. package/lib/rules/no-unknown-classes.js.map +1 -0
  247. package/lib/rules/no-unnecessary-whitespace.d.ts +225 -0
  248. package/lib/rules/no-unnecessary-whitespace.d.ts.map +1 -0
  249. package/lib/rules/no-unnecessary-whitespace.js +141 -0
  250. package/lib/rules/no-unnecessary-whitespace.js.map +1 -0
  251. package/lib/tailwindcss/canonical-classes.async.v4.d.ts +3 -0
  252. package/lib/tailwindcss/canonical-classes.async.v4.d.ts.map +1 -0
  253. package/lib/tailwindcss/canonical-classes.async.v4.js +54 -0
  254. package/lib/tailwindcss/canonical-classes.async.v4.js.map +1 -0
  255. package/lib/tailwindcss/canonical-classes.d.ts +21 -0
  256. package/lib/tailwindcss/canonical-classes.d.ts.map +1 -0
  257. package/lib/tailwindcss/canonical-classes.js +16 -0
  258. package/lib/tailwindcss/canonical-classes.js.map +1 -0
  259. package/lib/tailwindcss/class-order.async.v3.d.ts +3 -0
  260. package/lib/tailwindcss/class-order.async.v3.d.ts.map +1 -0
  261. package/lib/tailwindcss/class-order.async.v3.js +4 -0
  262. package/lib/tailwindcss/class-order.async.v3.js.map +1 -0
  263. package/lib/tailwindcss/class-order.async.v4.d.ts +3 -0
  264. package/lib/tailwindcss/class-order.async.v4.d.ts.map +1 -0
  265. package/lib/tailwindcss/class-order.async.v4.js +4 -0
  266. package/lib/tailwindcss/class-order.async.v4.js.map +1 -0
  267. package/lib/tailwindcss/class-order.d.ts +11 -0
  268. package/lib/tailwindcss/class-order.d.ts.map +1 -0
  269. package/lib/tailwindcss/class-order.js +16 -0
  270. package/lib/tailwindcss/class-order.js.map +1 -0
  271. package/lib/tailwindcss/conflicting-classes.async.v4.d.ts +35 -0
  272. package/lib/tailwindcss/conflicting-classes.async.v4.d.ts.map +1 -0
  273. package/lib/tailwindcss/conflicting-classes.async.v4.js +82 -0
  274. package/lib/tailwindcss/conflicting-classes.async.v4.js.map +1 -0
  275. package/lib/tailwindcss/conflicting-classes.d.ts +19 -0
  276. package/lib/tailwindcss/conflicting-classes.d.ts.map +1 -0
  277. package/lib/tailwindcss/conflicting-classes.js +17 -0
  278. package/lib/tailwindcss/conflicting-classes.js.map +1 -0
  279. package/lib/tailwindcss/context.async.v3.d.ts +3 -0
  280. package/lib/tailwindcss/context.async.v3.d.ts.map +1 -0
  281. package/lib/tailwindcss/context.async.v3.js +13 -0
  282. package/lib/tailwindcss/context.async.v3.js.map +1 -0
  283. package/lib/tailwindcss/context.async.v4.d.ts +3 -0
  284. package/lib/tailwindcss/context.async.v4.d.ts.map +1 -0
  285. package/lib/tailwindcss/context.async.v4.js +82 -0
  286. package/lib/tailwindcss/context.async.v4.js.map +1 -0
  287. package/lib/tailwindcss/custom-component-classes.async.v3.d.ts +4 -0
  288. package/lib/tailwindcss/custom-component-classes.async.v3.d.ts.map +1 -0
  289. package/lib/tailwindcss/custom-component-classes.async.v3.js +4 -0
  290. package/lib/tailwindcss/custom-component-classes.async.v3.js.map +1 -0
  291. package/lib/tailwindcss/custom-component-classes.async.v4.d.ts +4 -0
  292. package/lib/tailwindcss/custom-component-classes.async.v4.d.ts.map +1 -0
  293. package/lib/tailwindcss/custom-component-classes.async.v4.js +101 -0
  294. package/lib/tailwindcss/custom-component-classes.async.v4.js.map +1 -0
  295. package/lib/tailwindcss/custom-component-classes.d.ts +11 -0
  296. package/lib/tailwindcss/custom-component-classes.d.ts.map +1 -0
  297. package/lib/tailwindcss/custom-component-classes.js +16 -0
  298. package/lib/tailwindcss/custom-component-classes.js.map +1 -0
  299. package/lib/tailwindcss/dissect-classes.async.v3.d.ts +4 -0
  300. package/lib/tailwindcss/dissect-classes.async.v3.d.ts.map +1 -0
  301. package/lib/tailwindcss/dissect-classes.async.v3.js +32 -0
  302. package/lib/tailwindcss/dissect-classes.async.v3.js.map +1 -0
  303. package/lib/tailwindcss/dissect-classes.async.v4.d.ts +3 -0
  304. package/lib/tailwindcss/dissect-classes.async.v4.d.ts.map +1 -0
  305. package/lib/tailwindcss/dissect-classes.async.v4.js +39 -0
  306. package/lib/tailwindcss/dissect-classes.async.v4.js.map +1 -0
  307. package/lib/tailwindcss/dissect-classes.d.ts +23 -0
  308. package/lib/tailwindcss/dissect-classes.d.ts.map +1 -0
  309. package/lib/tailwindcss/dissect-classes.js +16 -0
  310. package/lib/tailwindcss/dissect-classes.js.map +1 -0
  311. package/lib/tailwindcss/prefix.async.v3.d.ts +4 -0
  312. package/lib/tailwindcss/prefix.async.v3.d.ts.map +1 -0
  313. package/lib/tailwindcss/prefix.async.v3.js +7 -0
  314. package/lib/tailwindcss/prefix.async.v3.js.map +1 -0
  315. package/lib/tailwindcss/prefix.async.v4.d.ts +4 -0
  316. package/lib/tailwindcss/prefix.async.v4.d.ts.map +1 -0
  317. package/lib/tailwindcss/prefix.async.v4.js +7 -0
  318. package/lib/tailwindcss/prefix.async.v4.js.map +1 -0
  319. package/lib/tailwindcss/prefix.d.ts +13 -0
  320. package/lib/tailwindcss/prefix.d.ts.map +1 -0
  321. package/lib/tailwindcss/prefix.js +15 -0
  322. package/lib/tailwindcss/prefix.js.map +1 -0
  323. package/lib/tailwindcss/tailwind.async.worker.v3.d.ts +2 -0
  324. package/lib/tailwindcss/tailwind.async.worker.v3.d.ts.map +1 -0
  325. package/lib/tailwindcss/tailwind.async.worker.v3.js +57 -0
  326. package/lib/tailwindcss/tailwind.async.worker.v3.js.map +1 -0
  327. package/lib/tailwindcss/tailwind.async.worker.v4.d.ts +2 -0
  328. package/lib/tailwindcss/tailwind.async.worker.v4.d.ts.map +1 -0
  329. package/lib/tailwindcss/tailwind.async.worker.v4.js +56 -0
  330. package/lib/tailwindcss/tailwind.async.worker.v4.js.map +1 -0
  331. package/lib/tailwindcss/unknown-classes.async.v3.d.ts +4 -0
  332. package/lib/tailwindcss/unknown-classes.async.v3.d.ts.map +1 -0
  333. package/lib/tailwindcss/unknown-classes.async.v3.js +10 -0
  334. package/lib/tailwindcss/unknown-classes.async.v3.js.map +1 -0
  335. package/lib/tailwindcss/unknown-classes.async.v4.d.ts +3 -0
  336. package/lib/tailwindcss/unknown-classes.async.v4.d.ts.map +1 -0
  337. package/lib/tailwindcss/unknown-classes.async.v4.js +5 -0
  338. package/lib/tailwindcss/unknown-classes.async.v4.js.map +1 -0
  339. package/lib/tailwindcss/unknown-classes.d.ts +11 -0
  340. package/lib/tailwindcss/unknown-classes.d.ts.map +1 -0
  341. package/lib/tailwindcss/unknown-classes.js +21 -0
  342. package/lib/tailwindcss/unknown-classes.js.map +1 -0
  343. package/lib/tailwindcss/variant-order.async.v3.d.ts +3 -0
  344. package/lib/tailwindcss/variant-order.async.v3.d.ts.map +1 -0
  345. package/lib/tailwindcss/variant-order.async.v3.js +4 -0
  346. package/lib/tailwindcss/variant-order.async.v3.js.map +1 -0
  347. package/lib/tailwindcss/variant-order.async.v4.d.ts +3 -0
  348. package/lib/tailwindcss/variant-order.async.v4.d.ts.map +1 -0
  349. package/lib/tailwindcss/variant-order.async.v4.js +34 -0
  350. package/lib/tailwindcss/variant-order.async.v4.js.map +1 -0
  351. package/lib/tailwindcss/variant-order.d.ts +11 -0
  352. package/lib/tailwindcss/variant-order.d.ts.map +1 -0
  353. package/lib/tailwindcss/variant-order.js +16 -0
  354. package/lib/tailwindcss/variant-order.js.map +1 -0
  355. package/lib/types/ast.d.ts +79 -0
  356. package/lib/types/ast.d.ts.map +1 -0
  357. package/lib/types/ast.js +2 -0
  358. package/lib/types/ast.js.map +1 -0
  359. package/lib/types/async.d.ts +7 -0
  360. package/lib/types/async.d.ts.map +1 -0
  361. package/lib/types/async.js +2 -0
  362. package/lib/types/async.js.map +1 -0
  363. package/lib/types/estree.d.ts +7 -0
  364. package/lib/types/estree.d.ts.map +1 -0
  365. package/lib/types/estree.js +2 -0
  366. package/lib/types/estree.js.map +1 -0
  367. package/lib/types/rule.d.ts +163 -0
  368. package/lib/types/rule.d.ts.map +1 -0
  369. package/lib/types/rule.js +24 -0
  370. package/lib/types/rule.js.map +1 -0
  371. package/lib/utils/ast.d.ts +4 -0
  372. package/lib/utils/ast.d.ts.map +1 -0
  373. package/lib/utils/ast.js +9 -0
  374. package/lib/utils/ast.js.map +1 -0
  375. package/lib/utils/class.d.ts +12 -0
  376. package/lib/utils/class.d.ts.map +1 -0
  377. package/lib/utils/class.js +19 -0
  378. package/lib/utils/class.js.map +1 -0
  379. package/lib/utils/context.d.ts +20 -0
  380. package/lib/utils/context.d.ts.map +1 -0
  381. package/lib/utils/context.js +91 -0
  382. package/lib/utils/context.js.map +1 -0
  383. package/lib/utils/lint.d.ts +17 -0
  384. package/lib/utils/lint.d.ts.map +1 -0
  385. package/lib/utils/lint.js +40 -0
  386. package/lib/utils/lint.js.map +1 -0
  387. package/lib/utils/matchers.d.ts +24 -0
  388. package/lib/utils/matchers.d.ts.map +1 -0
  389. package/lib/utils/matchers.js +154 -0
  390. package/lib/utils/matchers.js.map +1 -0
  391. package/lib/utils/quotes.d.ts +3 -0
  392. package/lib/utils/quotes.d.ts.map +1 -0
  393. package/lib/utils/quotes.js +9 -0
  394. package/lib/utils/quotes.js.map +1 -0
  395. package/lib/utils/rule.d.ts +31 -0
  396. package/lib/utils/rule.d.ts.map +1 -0
  397. package/lib/utils/rule.js +349 -0
  398. package/lib/utils/rule.js.map +1 -0
  399. package/lib/utils/selectors.d.ts +3 -0
  400. package/lib/utils/selectors.d.ts.map +1 -0
  401. package/lib/utils/selectors.js +4 -0
  402. package/lib/utils/selectors.js.map +1 -0
  403. package/lib/utils/utils.d.ts +49 -0
  404. package/lib/utils/utils.d.ts.map +1 -0
  405. package/lib/utils/utils.js +203 -0
  406. package/lib/utils/utils.js.map +1 -0
  407. package/lib/utils/valibot.d.ts +4 -0
  408. package/lib/utils/valibot.d.ts.map +1 -0
  409. package/lib/utils/valibot.js +12 -0
  410. package/lib/utils/valibot.js.map +1 -0
  411. package/lib/utils/version.d.ts +7 -0
  412. package/lib/utils/version.d.ts.map +1 -0
  413. package/lib/utils/version.js +6 -0
  414. package/lib/utils/version.js.map +1 -0
  415. package/lib/utils/visitedNodes.d.ts +4 -0
  416. package/lib/utils/visitedNodes.d.ts.map +1 -0
  417. package/lib/utils/visitedNodes.js +11 -0
  418. package/lib/utils/visitedNodes.js.map +1 -0
  419. package/lib/utils/warn.d.ts +2 -0
  420. package/lib/utils/warn.d.ts.map +1 -0
  421. package/lib/utils/warn.js +8 -0
  422. package/lib/utils/warn.js.map +1 -0
  423. package/package.json +163 -4
@@ -0,0 +1,3521 @@
1
+ type Severity = "error" | "warn";
2
+ type PluginRules = typeof rules[number];
3
+ type RuleObject = {
4
+ [Rule in PluginRules as Rule extends any ? Rule["name"] : never]: Rule["rule"];
5
+ };
6
+ declare const rules: readonly [{
7
+ category: "stylistic";
8
+ messages: {
9
+ readonly order: "Incorrect class order. Expected\n\n{{ notSorted }}\n\nto be\n\n{{ sorted }}";
10
+ } | undefined;
11
+ name: "enforce-consistent-class-order";
12
+ readonly options: {
13
+ cwd?: string | undefined;
14
+ rootFontSize?: number | undefined;
15
+ detectComponentClasses: boolean;
16
+ tsconfig?: string | undefined;
17
+ tailwindConfig?: string | undefined;
18
+ messageStyle: "visual" | "compact" | "raw";
19
+ entryPoint?: string | undefined;
20
+ tags?: (string | [string, ({
21
+ match: import("../types/rule.js").MatcherType.String;
22
+ } | {
23
+ match: import("../types/rule.js").MatcherType.ObjectKey;
24
+ pathPattern?: string | undefined;
25
+ } | {
26
+ match: import("../types/rule.js").MatcherType.ObjectValue;
27
+ pathPattern?: string | undefined;
28
+ })[]])[] | undefined;
29
+ variables?: (string | [string, ({
30
+ match: import("../types/rule.js").MatcherType.String;
31
+ } | {
32
+ match: import("../types/rule.js").MatcherType.ObjectKey;
33
+ pathPattern?: string | undefined;
34
+ } | {
35
+ match: import("../types/rule.js").MatcherType.ObjectValue;
36
+ pathPattern?: string | undefined;
37
+ })[]])[] | undefined;
38
+ attributes?: (string | [string, ({
39
+ match: import("../types/rule.js").MatcherType.String;
40
+ } | {
41
+ match: import("../types/rule.js").MatcherType.ObjectKey;
42
+ pathPattern?: string | undefined;
43
+ } | {
44
+ match: import("../types/rule.js").MatcherType.ObjectValue;
45
+ pathPattern?: string | undefined;
46
+ })[]])[] | undefined;
47
+ callees?: (string | [string, ({
48
+ match: import("../types/rule.js").MatcherType.String;
49
+ } | {
50
+ match: import("../types/rule.js").MatcherType.ObjectKey;
51
+ pathPattern?: string | undefined;
52
+ } | {
53
+ match: import("../types/rule.js").MatcherType.ObjectValue;
54
+ pathPattern?: string | undefined;
55
+ })[]])[] | undefined;
56
+ selectors: ({
57
+ callTarget?: number | "all" | "first" | "last" | undefined;
58
+ kind: import("../types/rule.js").SelectorKind.Callee;
59
+ match?: ({
60
+ type: import("../types/rule.js").MatcherType.String;
61
+ } | {
62
+ path?: string | undefined;
63
+ type: import("../types/rule.js").MatcherType.ObjectKey;
64
+ } | {
65
+ path?: string | undefined;
66
+ type: import("../types/rule.js").MatcherType.ObjectValue;
67
+ } | {
68
+ match: ({
69
+ type: import("../types/rule.js").MatcherType.String;
70
+ } | {
71
+ path?: string | undefined;
72
+ type: import("../types/rule.js").MatcherType.ObjectKey;
73
+ } | {
74
+ path?: string | undefined;
75
+ type: import("../types/rule.js").MatcherType.ObjectValue;
76
+ })[];
77
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
78
+ })[] | undefined;
79
+ name: string;
80
+ path?: string | undefined;
81
+ targetArgument?: number | "all" | "first" | "last" | undefined;
82
+ targetCall?: number | "all" | "first" | "last" | undefined;
83
+ } | {
84
+ callTarget?: number | "all" | "first" | "last" | undefined;
85
+ kind: import("../types/rule.js").SelectorKind.Callee;
86
+ match?: ({
87
+ type: import("../types/rule.js").MatcherType.String;
88
+ } | {
89
+ path?: string | undefined;
90
+ type: import("../types/rule.js").MatcherType.ObjectKey;
91
+ } | {
92
+ path?: string | undefined;
93
+ type: import("../types/rule.js").MatcherType.ObjectValue;
94
+ } | {
95
+ match: ({
96
+ type: import("../types/rule.js").MatcherType.String;
97
+ } | {
98
+ path?: string | undefined;
99
+ type: import("../types/rule.js").MatcherType.ObjectKey;
100
+ } | {
101
+ path?: string | undefined;
102
+ type: import("../types/rule.js").MatcherType.ObjectValue;
103
+ })[];
104
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
105
+ })[] | undefined;
106
+ name?: string | undefined;
107
+ path: string;
108
+ targetArgument?: number | "all" | "first" | "last" | undefined;
109
+ targetCall?: number | "all" | "first" | "last" | undefined;
110
+ } | {
111
+ kind: import("../types/rule.js").SelectorKind.Tag;
112
+ match?: ({
113
+ type: import("../types/rule.js").MatcherType.String;
114
+ } | {
115
+ path?: string | undefined;
116
+ type: import("../types/rule.js").MatcherType.ObjectKey;
117
+ } | {
118
+ path?: string | undefined;
119
+ type: import("../types/rule.js").MatcherType.ObjectValue;
120
+ } | {
121
+ match: ({
122
+ type: import("../types/rule.js").MatcherType.String;
123
+ } | {
124
+ path?: string | undefined;
125
+ type: import("../types/rule.js").MatcherType.ObjectKey;
126
+ } | {
127
+ path?: string | undefined;
128
+ type: import("../types/rule.js").MatcherType.ObjectValue;
129
+ })[];
130
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
131
+ })[] | undefined;
132
+ name: string;
133
+ path?: string | undefined;
134
+ } | {
135
+ kind: import("../types/rule.js").SelectorKind.Tag;
136
+ match?: ({
137
+ type: import("../types/rule.js").MatcherType.String;
138
+ } | {
139
+ path?: string | undefined;
140
+ type: import("../types/rule.js").MatcherType.ObjectKey;
141
+ } | {
142
+ path?: string | undefined;
143
+ type: import("../types/rule.js").MatcherType.ObjectValue;
144
+ } | {
145
+ match: ({
146
+ type: import("../types/rule.js").MatcherType.String;
147
+ } | {
148
+ path?: string | undefined;
149
+ type: import("../types/rule.js").MatcherType.ObjectKey;
150
+ } | {
151
+ path?: string | undefined;
152
+ type: import("../types/rule.js").MatcherType.ObjectValue;
153
+ })[];
154
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
155
+ })[] | undefined;
156
+ name?: string | undefined;
157
+ path: string;
158
+ } | {
159
+ kind: import("../types/rule.js").SelectorKind.Attribute;
160
+ match?: ({
161
+ type: import("../types/rule.js").MatcherType.String;
162
+ } | {
163
+ path?: string | undefined;
164
+ type: import("../types/rule.js").MatcherType.ObjectKey;
165
+ } | {
166
+ path?: string | undefined;
167
+ type: import("../types/rule.js").MatcherType.ObjectValue;
168
+ } | {
169
+ match: ({
170
+ type: import("../types/rule.js").MatcherType.String;
171
+ } | {
172
+ path?: string | undefined;
173
+ type: import("../types/rule.js").MatcherType.ObjectKey;
174
+ } | {
175
+ path?: string | undefined;
176
+ type: import("../types/rule.js").MatcherType.ObjectValue;
177
+ })[];
178
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
179
+ })[] | undefined;
180
+ name: string;
181
+ } | {
182
+ kind: import("../types/rule.js").SelectorKind.Variable;
183
+ match?: ({
184
+ type: import("../types/rule.js").MatcherType.String;
185
+ } | {
186
+ path?: string | undefined;
187
+ type: import("../types/rule.js").MatcherType.ObjectKey;
188
+ } | {
189
+ path?: string | undefined;
190
+ type: import("../types/rule.js").MatcherType.ObjectValue;
191
+ } | {
192
+ match: ({
193
+ type: import("../types/rule.js").MatcherType.String;
194
+ } | {
195
+ path?: string | undefined;
196
+ type: import("../types/rule.js").MatcherType.ObjectKey;
197
+ } | {
198
+ path?: string | undefined;
199
+ type: import("../types/rule.js").MatcherType.ObjectValue;
200
+ })[];
201
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
202
+ })[] | undefined;
203
+ name: string;
204
+ })[];
205
+ } & {
206
+ componentClassOrder: "asc" | "desc" | "preserve";
207
+ componentClassPosition: "start" | "end";
208
+ order: "strict" | "asc" | "desc" | "official";
209
+ unknownClassOrder: "asc" | "desc" | "preserve";
210
+ unknownClassPosition: "start" | "end";
211
+ };
212
+ recommended: true;
213
+ rule: {
214
+ create: (ctx: import("eslint").Rule.RuleContext) => import("eslint").Rule.RuleListener;
215
+ meta: {
216
+ messages?: {
217
+ readonly order: "Incorrect class order. Expected\n\n{{ notSorted }}\n\nto be\n\n{{ sorted }}";
218
+ };
219
+ docs: {
220
+ description: string;
221
+ recommended: boolean;
222
+ url: string;
223
+ };
224
+ fixable: "code" | undefined;
225
+ schema: {
226
+ additionalProperties: false;
227
+ properties: Record<string, boolean | import("@valibot/to-json-schema").JsonSchema> | undefined;
228
+ type: "object";
229
+ }[];
230
+ type: "problem" | "layout";
231
+ };
232
+ };
233
+ }, {
234
+ category: "stylistic";
235
+ messages: {
236
+ readonly position: "Incorrect important position. '{{ className }}' should be '{{ fix }}'.";
237
+ } | undefined;
238
+ name: "enforce-consistent-important-position";
239
+ readonly options: {
240
+ cwd?: string | undefined;
241
+ rootFontSize?: number | undefined;
242
+ detectComponentClasses: boolean;
243
+ tsconfig?: string | undefined;
244
+ tailwindConfig?: string | undefined;
245
+ messageStyle: "visual" | "compact" | "raw";
246
+ entryPoint?: string | undefined;
247
+ tags?: (string | [string, ({
248
+ match: import("../types/rule.js").MatcherType.String;
249
+ } | {
250
+ match: import("../types/rule.js").MatcherType.ObjectKey;
251
+ pathPattern?: string | undefined;
252
+ } | {
253
+ match: import("../types/rule.js").MatcherType.ObjectValue;
254
+ pathPattern?: string | undefined;
255
+ })[]])[] | undefined;
256
+ variables?: (string | [string, ({
257
+ match: import("../types/rule.js").MatcherType.String;
258
+ } | {
259
+ match: import("../types/rule.js").MatcherType.ObjectKey;
260
+ pathPattern?: string | undefined;
261
+ } | {
262
+ match: import("../types/rule.js").MatcherType.ObjectValue;
263
+ pathPattern?: string | undefined;
264
+ })[]])[] | undefined;
265
+ attributes?: (string | [string, ({
266
+ match: import("../types/rule.js").MatcherType.String;
267
+ } | {
268
+ match: import("../types/rule.js").MatcherType.ObjectKey;
269
+ pathPattern?: string | undefined;
270
+ } | {
271
+ match: import("../types/rule.js").MatcherType.ObjectValue;
272
+ pathPattern?: string | undefined;
273
+ })[]])[] | undefined;
274
+ callees?: (string | [string, ({
275
+ match: import("../types/rule.js").MatcherType.String;
276
+ } | {
277
+ match: import("../types/rule.js").MatcherType.ObjectKey;
278
+ pathPattern?: string | undefined;
279
+ } | {
280
+ match: import("../types/rule.js").MatcherType.ObjectValue;
281
+ pathPattern?: string | undefined;
282
+ })[]])[] | undefined;
283
+ selectors: ({
284
+ callTarget?: number | "all" | "first" | "last" | undefined;
285
+ kind: import("../types/rule.js").SelectorKind.Callee;
286
+ match?: ({
287
+ type: import("../types/rule.js").MatcherType.String;
288
+ } | {
289
+ path?: string | undefined;
290
+ type: import("../types/rule.js").MatcherType.ObjectKey;
291
+ } | {
292
+ path?: string | undefined;
293
+ type: import("../types/rule.js").MatcherType.ObjectValue;
294
+ } | {
295
+ match: ({
296
+ type: import("../types/rule.js").MatcherType.String;
297
+ } | {
298
+ path?: string | undefined;
299
+ type: import("../types/rule.js").MatcherType.ObjectKey;
300
+ } | {
301
+ path?: string | undefined;
302
+ type: import("../types/rule.js").MatcherType.ObjectValue;
303
+ })[];
304
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
305
+ })[] | undefined;
306
+ name: string;
307
+ path?: string | undefined;
308
+ targetArgument?: number | "all" | "first" | "last" | undefined;
309
+ targetCall?: number | "all" | "first" | "last" | undefined;
310
+ } | {
311
+ callTarget?: number | "all" | "first" | "last" | undefined;
312
+ kind: import("../types/rule.js").SelectorKind.Callee;
313
+ match?: ({
314
+ type: import("../types/rule.js").MatcherType.String;
315
+ } | {
316
+ path?: string | undefined;
317
+ type: import("../types/rule.js").MatcherType.ObjectKey;
318
+ } | {
319
+ path?: string | undefined;
320
+ type: import("../types/rule.js").MatcherType.ObjectValue;
321
+ } | {
322
+ match: ({
323
+ type: import("../types/rule.js").MatcherType.String;
324
+ } | {
325
+ path?: string | undefined;
326
+ type: import("../types/rule.js").MatcherType.ObjectKey;
327
+ } | {
328
+ path?: string | undefined;
329
+ type: import("../types/rule.js").MatcherType.ObjectValue;
330
+ })[];
331
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
332
+ })[] | undefined;
333
+ name?: string | undefined;
334
+ path: string;
335
+ targetArgument?: number | "all" | "first" | "last" | undefined;
336
+ targetCall?: number | "all" | "first" | "last" | undefined;
337
+ } | {
338
+ kind: import("../types/rule.js").SelectorKind.Tag;
339
+ match?: ({
340
+ type: import("../types/rule.js").MatcherType.String;
341
+ } | {
342
+ path?: string | undefined;
343
+ type: import("../types/rule.js").MatcherType.ObjectKey;
344
+ } | {
345
+ path?: string | undefined;
346
+ type: import("../types/rule.js").MatcherType.ObjectValue;
347
+ } | {
348
+ match: ({
349
+ type: import("../types/rule.js").MatcherType.String;
350
+ } | {
351
+ path?: string | undefined;
352
+ type: import("../types/rule.js").MatcherType.ObjectKey;
353
+ } | {
354
+ path?: string | undefined;
355
+ type: import("../types/rule.js").MatcherType.ObjectValue;
356
+ })[];
357
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
358
+ })[] | undefined;
359
+ name: string;
360
+ path?: string | undefined;
361
+ } | {
362
+ kind: import("../types/rule.js").SelectorKind.Tag;
363
+ match?: ({
364
+ type: import("../types/rule.js").MatcherType.String;
365
+ } | {
366
+ path?: string | undefined;
367
+ type: import("../types/rule.js").MatcherType.ObjectKey;
368
+ } | {
369
+ path?: string | undefined;
370
+ type: import("../types/rule.js").MatcherType.ObjectValue;
371
+ } | {
372
+ match: ({
373
+ type: import("../types/rule.js").MatcherType.String;
374
+ } | {
375
+ path?: string | undefined;
376
+ type: import("../types/rule.js").MatcherType.ObjectKey;
377
+ } | {
378
+ path?: string | undefined;
379
+ type: import("../types/rule.js").MatcherType.ObjectValue;
380
+ })[];
381
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
382
+ })[] | undefined;
383
+ name?: string | undefined;
384
+ path: string;
385
+ } | {
386
+ kind: import("../types/rule.js").SelectorKind.Attribute;
387
+ match?: ({
388
+ type: import("../types/rule.js").MatcherType.String;
389
+ } | {
390
+ path?: string | undefined;
391
+ type: import("../types/rule.js").MatcherType.ObjectKey;
392
+ } | {
393
+ path?: string | undefined;
394
+ type: import("../types/rule.js").MatcherType.ObjectValue;
395
+ } | {
396
+ match: ({
397
+ type: import("../types/rule.js").MatcherType.String;
398
+ } | {
399
+ path?: string | undefined;
400
+ type: import("../types/rule.js").MatcherType.ObjectKey;
401
+ } | {
402
+ path?: string | undefined;
403
+ type: import("../types/rule.js").MatcherType.ObjectValue;
404
+ })[];
405
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
406
+ })[] | undefined;
407
+ name: string;
408
+ } | {
409
+ kind: import("../types/rule.js").SelectorKind.Variable;
410
+ match?: ({
411
+ type: import("../types/rule.js").MatcherType.String;
412
+ } | {
413
+ path?: string | undefined;
414
+ type: import("../types/rule.js").MatcherType.ObjectKey;
415
+ } | {
416
+ path?: string | undefined;
417
+ type: import("../types/rule.js").MatcherType.ObjectValue;
418
+ } | {
419
+ match: ({
420
+ type: import("../types/rule.js").MatcherType.String;
421
+ } | {
422
+ path?: string | undefined;
423
+ type: import("../types/rule.js").MatcherType.ObjectKey;
424
+ } | {
425
+ path?: string | undefined;
426
+ type: import("../types/rule.js").MatcherType.ObjectValue;
427
+ })[];
428
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
429
+ })[] | undefined;
430
+ name: string;
431
+ })[];
432
+ } & {
433
+ position?: "recommended" | "legacy" | undefined;
434
+ };
435
+ recommended: false;
436
+ rule: {
437
+ create: (ctx: import("eslint").Rule.RuleContext) => import("eslint").Rule.RuleListener;
438
+ meta: {
439
+ messages?: {
440
+ readonly position: "Incorrect important position. '{{ className }}' should be '{{ fix }}'.";
441
+ };
442
+ docs: {
443
+ description: string;
444
+ recommended: boolean;
445
+ url: string;
446
+ };
447
+ fixable: "code" | undefined;
448
+ schema: {
449
+ additionalProperties: false;
450
+ properties: Record<string, boolean | import("@valibot/to-json-schema").JsonSchema> | undefined;
451
+ type: "object";
452
+ }[];
453
+ type: "problem" | "layout";
454
+ };
455
+ };
456
+ }, {
457
+ category: "stylistic";
458
+ messages: {
459
+ readonly missing: "Incorrect line wrapping. Expected\n\n{{ notReadable }}\n\nto be\n\n{{ readable }}";
460
+ readonly unnecessary: "Unnecessary line wrapping. Expected\n\n{{ notReadable }}\n\nto be\n\n{{ readable }}";
461
+ } | undefined;
462
+ name: "enforce-consistent-line-wrapping";
463
+ readonly options: {
464
+ cwd?: string | undefined;
465
+ rootFontSize?: number | undefined;
466
+ detectComponentClasses: boolean;
467
+ tsconfig?: string | undefined;
468
+ tailwindConfig?: string | undefined;
469
+ messageStyle: "visual" | "compact" | "raw";
470
+ entryPoint?: string | undefined;
471
+ tags?: (string | [string, ({
472
+ match: import("../types/rule.js").MatcherType.String;
473
+ } | {
474
+ match: import("../types/rule.js").MatcherType.ObjectKey;
475
+ pathPattern?: string | undefined;
476
+ } | {
477
+ match: import("../types/rule.js").MatcherType.ObjectValue;
478
+ pathPattern?: string | undefined;
479
+ })[]])[] | undefined;
480
+ variables?: (string | [string, ({
481
+ match: import("../types/rule.js").MatcherType.String;
482
+ } | {
483
+ match: import("../types/rule.js").MatcherType.ObjectKey;
484
+ pathPattern?: string | undefined;
485
+ } | {
486
+ match: import("../types/rule.js").MatcherType.ObjectValue;
487
+ pathPattern?: string | undefined;
488
+ })[]])[] | undefined;
489
+ attributes?: (string | [string, ({
490
+ match: import("../types/rule.js").MatcherType.String;
491
+ } | {
492
+ match: import("../types/rule.js").MatcherType.ObjectKey;
493
+ pathPattern?: string | undefined;
494
+ } | {
495
+ match: import("../types/rule.js").MatcherType.ObjectValue;
496
+ pathPattern?: string | undefined;
497
+ })[]])[] | undefined;
498
+ callees?: (string | [string, ({
499
+ match: import("../types/rule.js").MatcherType.String;
500
+ } | {
501
+ match: import("../types/rule.js").MatcherType.ObjectKey;
502
+ pathPattern?: string | undefined;
503
+ } | {
504
+ match: import("../types/rule.js").MatcherType.ObjectValue;
505
+ pathPattern?: string | undefined;
506
+ })[]])[] | undefined;
507
+ selectors: ({
508
+ callTarget?: number | "all" | "first" | "last" | undefined;
509
+ kind: import("../types/rule.js").SelectorKind.Callee;
510
+ match?: ({
511
+ type: import("../types/rule.js").MatcherType.String;
512
+ } | {
513
+ path?: string | undefined;
514
+ type: import("../types/rule.js").MatcherType.ObjectKey;
515
+ } | {
516
+ path?: string | undefined;
517
+ type: import("../types/rule.js").MatcherType.ObjectValue;
518
+ } | {
519
+ match: ({
520
+ type: import("../types/rule.js").MatcherType.String;
521
+ } | {
522
+ path?: string | undefined;
523
+ type: import("../types/rule.js").MatcherType.ObjectKey;
524
+ } | {
525
+ path?: string | undefined;
526
+ type: import("../types/rule.js").MatcherType.ObjectValue;
527
+ })[];
528
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
529
+ })[] | undefined;
530
+ name: string;
531
+ path?: string | undefined;
532
+ targetArgument?: number | "all" | "first" | "last" | undefined;
533
+ targetCall?: number | "all" | "first" | "last" | undefined;
534
+ } | {
535
+ callTarget?: number | "all" | "first" | "last" | undefined;
536
+ kind: import("../types/rule.js").SelectorKind.Callee;
537
+ match?: ({
538
+ type: import("../types/rule.js").MatcherType.String;
539
+ } | {
540
+ path?: string | undefined;
541
+ type: import("../types/rule.js").MatcherType.ObjectKey;
542
+ } | {
543
+ path?: string | undefined;
544
+ type: import("../types/rule.js").MatcherType.ObjectValue;
545
+ } | {
546
+ match: ({
547
+ type: import("../types/rule.js").MatcherType.String;
548
+ } | {
549
+ path?: string | undefined;
550
+ type: import("../types/rule.js").MatcherType.ObjectKey;
551
+ } | {
552
+ path?: string | undefined;
553
+ type: import("../types/rule.js").MatcherType.ObjectValue;
554
+ })[];
555
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
556
+ })[] | undefined;
557
+ name?: string | undefined;
558
+ path: string;
559
+ targetArgument?: number | "all" | "first" | "last" | undefined;
560
+ targetCall?: number | "all" | "first" | "last" | undefined;
561
+ } | {
562
+ kind: import("../types/rule.js").SelectorKind.Tag;
563
+ match?: ({
564
+ type: import("../types/rule.js").MatcherType.String;
565
+ } | {
566
+ path?: string | undefined;
567
+ type: import("../types/rule.js").MatcherType.ObjectKey;
568
+ } | {
569
+ path?: string | undefined;
570
+ type: import("../types/rule.js").MatcherType.ObjectValue;
571
+ } | {
572
+ match: ({
573
+ type: import("../types/rule.js").MatcherType.String;
574
+ } | {
575
+ path?: string | undefined;
576
+ type: import("../types/rule.js").MatcherType.ObjectKey;
577
+ } | {
578
+ path?: string | undefined;
579
+ type: import("../types/rule.js").MatcherType.ObjectValue;
580
+ })[];
581
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
582
+ })[] | undefined;
583
+ name: string;
584
+ path?: string | undefined;
585
+ } | {
586
+ kind: import("../types/rule.js").SelectorKind.Tag;
587
+ match?: ({
588
+ type: import("../types/rule.js").MatcherType.String;
589
+ } | {
590
+ path?: string | undefined;
591
+ type: import("../types/rule.js").MatcherType.ObjectKey;
592
+ } | {
593
+ path?: string | undefined;
594
+ type: import("../types/rule.js").MatcherType.ObjectValue;
595
+ } | {
596
+ match: ({
597
+ type: import("../types/rule.js").MatcherType.String;
598
+ } | {
599
+ path?: string | undefined;
600
+ type: import("../types/rule.js").MatcherType.ObjectKey;
601
+ } | {
602
+ path?: string | undefined;
603
+ type: import("../types/rule.js").MatcherType.ObjectValue;
604
+ })[];
605
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
606
+ })[] | undefined;
607
+ name?: string | undefined;
608
+ path: string;
609
+ } | {
610
+ kind: import("../types/rule.js").SelectorKind.Attribute;
611
+ match?: ({
612
+ type: import("../types/rule.js").MatcherType.String;
613
+ } | {
614
+ path?: string | undefined;
615
+ type: import("../types/rule.js").MatcherType.ObjectKey;
616
+ } | {
617
+ path?: string | undefined;
618
+ type: import("../types/rule.js").MatcherType.ObjectValue;
619
+ } | {
620
+ match: ({
621
+ type: import("../types/rule.js").MatcherType.String;
622
+ } | {
623
+ path?: string | undefined;
624
+ type: import("../types/rule.js").MatcherType.ObjectKey;
625
+ } | {
626
+ path?: string | undefined;
627
+ type: import("../types/rule.js").MatcherType.ObjectValue;
628
+ })[];
629
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
630
+ })[] | undefined;
631
+ name: string;
632
+ } | {
633
+ kind: import("../types/rule.js").SelectorKind.Variable;
634
+ match?: ({
635
+ type: import("../types/rule.js").MatcherType.String;
636
+ } | {
637
+ path?: string | undefined;
638
+ type: import("../types/rule.js").MatcherType.ObjectKey;
639
+ } | {
640
+ path?: string | undefined;
641
+ type: import("../types/rule.js").MatcherType.ObjectValue;
642
+ } | {
643
+ match: ({
644
+ type: import("../types/rule.js").MatcherType.String;
645
+ } | {
646
+ path?: string | undefined;
647
+ type: import("../types/rule.js").MatcherType.ObjectKey;
648
+ } | {
649
+ path?: string | undefined;
650
+ type: import("../types/rule.js").MatcherType.ObjectValue;
651
+ })[];
652
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
653
+ })[] | undefined;
654
+ name: string;
655
+ })[];
656
+ } & {
657
+ classesPerLine: number;
658
+ group: "never" | "newLine" | "emptyLine";
659
+ indent: number | "tab";
660
+ lineBreakStyle: "unix" | "windows";
661
+ preferSingleLine: boolean;
662
+ printWidth: number;
663
+ strictness: "loose" | "strict";
664
+ tabWidth: number;
665
+ vueConvertToBinding: boolean;
666
+ };
667
+ recommended: true;
668
+ rule: {
669
+ create: (ctx: import("eslint").Rule.RuleContext) => import("eslint").Rule.RuleListener;
670
+ meta: {
671
+ messages?: {
672
+ readonly missing: "Incorrect line wrapping. Expected\n\n{{ notReadable }}\n\nto be\n\n{{ readable }}";
673
+ readonly unnecessary: "Unnecessary line wrapping. Expected\n\n{{ notReadable }}\n\nto be\n\n{{ readable }}";
674
+ };
675
+ docs: {
676
+ description: string;
677
+ recommended: boolean;
678
+ url: string;
679
+ };
680
+ fixable: "code" | undefined;
681
+ schema: {
682
+ additionalProperties: false;
683
+ properties: Record<string, boolean | import("@valibot/to-json-schema").JsonSchema> | undefined;
684
+ type: "object";
685
+ }[];
686
+ type: "problem" | "layout";
687
+ };
688
+ };
689
+ }, {
690
+ category: "stylistic";
691
+ messages: {
692
+ readonly order: "Incorrect variant order. '{{ className }}' should be '{{ fix }}'.";
693
+ } | undefined;
694
+ name: "enforce-consistent-variant-order";
695
+ readonly options: {
696
+ cwd?: string | undefined;
697
+ rootFontSize?: number | undefined;
698
+ detectComponentClasses: boolean;
699
+ tsconfig?: string | undefined;
700
+ tailwindConfig?: string | undefined;
701
+ messageStyle: "visual" | "compact" | "raw";
702
+ entryPoint?: string | undefined;
703
+ tags?: (string | [string, ({
704
+ match: import("../types/rule.js").MatcherType.String;
705
+ } | {
706
+ match: import("../types/rule.js").MatcherType.ObjectKey;
707
+ pathPattern?: string | undefined;
708
+ } | {
709
+ match: import("../types/rule.js").MatcherType.ObjectValue;
710
+ pathPattern?: string | undefined;
711
+ })[]])[] | undefined;
712
+ variables?: (string | [string, ({
713
+ match: import("../types/rule.js").MatcherType.String;
714
+ } | {
715
+ match: import("../types/rule.js").MatcherType.ObjectKey;
716
+ pathPattern?: string | undefined;
717
+ } | {
718
+ match: import("../types/rule.js").MatcherType.ObjectValue;
719
+ pathPattern?: string | undefined;
720
+ })[]])[] | undefined;
721
+ attributes?: (string | [string, ({
722
+ match: import("../types/rule.js").MatcherType.String;
723
+ } | {
724
+ match: import("../types/rule.js").MatcherType.ObjectKey;
725
+ pathPattern?: string | undefined;
726
+ } | {
727
+ match: import("../types/rule.js").MatcherType.ObjectValue;
728
+ pathPattern?: string | undefined;
729
+ })[]])[] | undefined;
730
+ callees?: (string | [string, ({
731
+ match: import("../types/rule.js").MatcherType.String;
732
+ } | {
733
+ match: import("../types/rule.js").MatcherType.ObjectKey;
734
+ pathPattern?: string | undefined;
735
+ } | {
736
+ match: import("../types/rule.js").MatcherType.ObjectValue;
737
+ pathPattern?: string | undefined;
738
+ })[]])[] | undefined;
739
+ selectors: ({
740
+ callTarget?: number | "all" | "first" | "last" | undefined;
741
+ kind: import("../types/rule.js").SelectorKind.Callee;
742
+ match?: ({
743
+ type: import("../types/rule.js").MatcherType.String;
744
+ } | {
745
+ path?: string | undefined;
746
+ type: import("../types/rule.js").MatcherType.ObjectKey;
747
+ } | {
748
+ path?: string | undefined;
749
+ type: import("../types/rule.js").MatcherType.ObjectValue;
750
+ } | {
751
+ match: ({
752
+ type: import("../types/rule.js").MatcherType.String;
753
+ } | {
754
+ path?: string | undefined;
755
+ type: import("../types/rule.js").MatcherType.ObjectKey;
756
+ } | {
757
+ path?: string | undefined;
758
+ type: import("../types/rule.js").MatcherType.ObjectValue;
759
+ })[];
760
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
761
+ })[] | undefined;
762
+ name: string;
763
+ path?: string | undefined;
764
+ targetArgument?: number | "all" | "first" | "last" | undefined;
765
+ targetCall?: number | "all" | "first" | "last" | undefined;
766
+ } | {
767
+ callTarget?: number | "all" | "first" | "last" | undefined;
768
+ kind: import("../types/rule.js").SelectorKind.Callee;
769
+ match?: ({
770
+ type: import("../types/rule.js").MatcherType.String;
771
+ } | {
772
+ path?: string | undefined;
773
+ type: import("../types/rule.js").MatcherType.ObjectKey;
774
+ } | {
775
+ path?: string | undefined;
776
+ type: import("../types/rule.js").MatcherType.ObjectValue;
777
+ } | {
778
+ match: ({
779
+ type: import("../types/rule.js").MatcherType.String;
780
+ } | {
781
+ path?: string | undefined;
782
+ type: import("../types/rule.js").MatcherType.ObjectKey;
783
+ } | {
784
+ path?: string | undefined;
785
+ type: import("../types/rule.js").MatcherType.ObjectValue;
786
+ })[];
787
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
788
+ })[] | undefined;
789
+ name?: string | undefined;
790
+ path: string;
791
+ targetArgument?: number | "all" | "first" | "last" | undefined;
792
+ targetCall?: number | "all" | "first" | "last" | undefined;
793
+ } | {
794
+ kind: import("../types/rule.js").SelectorKind.Tag;
795
+ match?: ({
796
+ type: import("../types/rule.js").MatcherType.String;
797
+ } | {
798
+ path?: string | undefined;
799
+ type: import("../types/rule.js").MatcherType.ObjectKey;
800
+ } | {
801
+ path?: string | undefined;
802
+ type: import("../types/rule.js").MatcherType.ObjectValue;
803
+ } | {
804
+ match: ({
805
+ type: import("../types/rule.js").MatcherType.String;
806
+ } | {
807
+ path?: string | undefined;
808
+ type: import("../types/rule.js").MatcherType.ObjectKey;
809
+ } | {
810
+ path?: string | undefined;
811
+ type: import("../types/rule.js").MatcherType.ObjectValue;
812
+ })[];
813
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
814
+ })[] | undefined;
815
+ name: string;
816
+ path?: string | undefined;
817
+ } | {
818
+ kind: import("../types/rule.js").SelectorKind.Tag;
819
+ match?: ({
820
+ type: import("../types/rule.js").MatcherType.String;
821
+ } | {
822
+ path?: string | undefined;
823
+ type: import("../types/rule.js").MatcherType.ObjectKey;
824
+ } | {
825
+ path?: string | undefined;
826
+ type: import("../types/rule.js").MatcherType.ObjectValue;
827
+ } | {
828
+ match: ({
829
+ type: import("../types/rule.js").MatcherType.String;
830
+ } | {
831
+ path?: string | undefined;
832
+ type: import("../types/rule.js").MatcherType.ObjectKey;
833
+ } | {
834
+ path?: string | undefined;
835
+ type: import("../types/rule.js").MatcherType.ObjectValue;
836
+ })[];
837
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
838
+ })[] | undefined;
839
+ name?: string | undefined;
840
+ path: string;
841
+ } | {
842
+ kind: import("../types/rule.js").SelectorKind.Attribute;
843
+ match?: ({
844
+ type: import("../types/rule.js").MatcherType.String;
845
+ } | {
846
+ path?: string | undefined;
847
+ type: import("../types/rule.js").MatcherType.ObjectKey;
848
+ } | {
849
+ path?: string | undefined;
850
+ type: import("../types/rule.js").MatcherType.ObjectValue;
851
+ } | {
852
+ match: ({
853
+ type: import("../types/rule.js").MatcherType.String;
854
+ } | {
855
+ path?: string | undefined;
856
+ type: import("../types/rule.js").MatcherType.ObjectKey;
857
+ } | {
858
+ path?: string | undefined;
859
+ type: import("../types/rule.js").MatcherType.ObjectValue;
860
+ })[];
861
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
862
+ })[] | undefined;
863
+ name: string;
864
+ } | {
865
+ kind: import("../types/rule.js").SelectorKind.Variable;
866
+ match?: ({
867
+ type: import("../types/rule.js").MatcherType.String;
868
+ } | {
869
+ path?: string | undefined;
870
+ type: import("../types/rule.js").MatcherType.ObjectKey;
871
+ } | {
872
+ path?: string | undefined;
873
+ type: import("../types/rule.js").MatcherType.ObjectValue;
874
+ } | {
875
+ match: ({
876
+ type: import("../types/rule.js").MatcherType.String;
877
+ } | {
878
+ path?: string | undefined;
879
+ type: import("../types/rule.js").MatcherType.ObjectKey;
880
+ } | {
881
+ path?: string | undefined;
882
+ type: import("../types/rule.js").MatcherType.ObjectValue;
883
+ })[];
884
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
885
+ })[] | undefined;
886
+ name: string;
887
+ })[];
888
+ } & {
889
+ [x: string]: unknown;
890
+ };
891
+ recommended: false;
892
+ rule: {
893
+ create: (ctx: import("eslint").Rule.RuleContext) => import("eslint").Rule.RuleListener;
894
+ meta: {
895
+ messages?: {
896
+ readonly order: "Incorrect variant order. '{{ className }}' should be '{{ fix }}'.";
897
+ };
898
+ docs: {
899
+ description: string;
900
+ recommended: boolean;
901
+ url: string;
902
+ };
903
+ fixable: "code" | undefined;
904
+ schema: {
905
+ additionalProperties: false;
906
+ properties: Record<string, boolean | import("@valibot/to-json-schema").JsonSchema> | undefined;
907
+ type: "object";
908
+ }[];
909
+ type: "problem" | "layout";
910
+ };
911
+ };
912
+ }, {
913
+ category: "stylistic";
914
+ messages: {
915
+ readonly incorrect: "Incorrect variable syntax: {{ className }}.";
916
+ } | undefined;
917
+ name: "enforce-consistent-variable-syntax";
918
+ readonly options: {
919
+ cwd?: string | undefined;
920
+ rootFontSize?: number | undefined;
921
+ detectComponentClasses: boolean;
922
+ tsconfig?: string | undefined;
923
+ tailwindConfig?: string | undefined;
924
+ messageStyle: "visual" | "compact" | "raw";
925
+ entryPoint?: string | undefined;
926
+ tags?: (string | [string, ({
927
+ match: import("../types/rule.js").MatcherType.String;
928
+ } | {
929
+ match: import("../types/rule.js").MatcherType.ObjectKey;
930
+ pathPattern?: string | undefined;
931
+ } | {
932
+ match: import("../types/rule.js").MatcherType.ObjectValue;
933
+ pathPattern?: string | undefined;
934
+ })[]])[] | undefined;
935
+ variables?: (string | [string, ({
936
+ match: import("../types/rule.js").MatcherType.String;
937
+ } | {
938
+ match: import("../types/rule.js").MatcherType.ObjectKey;
939
+ pathPattern?: string | undefined;
940
+ } | {
941
+ match: import("../types/rule.js").MatcherType.ObjectValue;
942
+ pathPattern?: string | undefined;
943
+ })[]])[] | undefined;
944
+ attributes?: (string | [string, ({
945
+ match: import("../types/rule.js").MatcherType.String;
946
+ } | {
947
+ match: import("../types/rule.js").MatcherType.ObjectKey;
948
+ pathPattern?: string | undefined;
949
+ } | {
950
+ match: import("../types/rule.js").MatcherType.ObjectValue;
951
+ pathPattern?: string | undefined;
952
+ })[]])[] | undefined;
953
+ callees?: (string | [string, ({
954
+ match: import("../types/rule.js").MatcherType.String;
955
+ } | {
956
+ match: import("../types/rule.js").MatcherType.ObjectKey;
957
+ pathPattern?: string | undefined;
958
+ } | {
959
+ match: import("../types/rule.js").MatcherType.ObjectValue;
960
+ pathPattern?: string | undefined;
961
+ })[]])[] | undefined;
962
+ selectors: ({
963
+ callTarget?: number | "all" | "first" | "last" | undefined;
964
+ kind: import("../types/rule.js").SelectorKind.Callee;
965
+ match?: ({
966
+ type: import("../types/rule.js").MatcherType.String;
967
+ } | {
968
+ path?: string | undefined;
969
+ type: import("../types/rule.js").MatcherType.ObjectKey;
970
+ } | {
971
+ path?: string | undefined;
972
+ type: import("../types/rule.js").MatcherType.ObjectValue;
973
+ } | {
974
+ match: ({
975
+ type: import("../types/rule.js").MatcherType.String;
976
+ } | {
977
+ path?: string | undefined;
978
+ type: import("../types/rule.js").MatcherType.ObjectKey;
979
+ } | {
980
+ path?: string | undefined;
981
+ type: import("../types/rule.js").MatcherType.ObjectValue;
982
+ })[];
983
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
984
+ })[] | undefined;
985
+ name: string;
986
+ path?: string | undefined;
987
+ targetArgument?: number | "all" | "first" | "last" | undefined;
988
+ targetCall?: number | "all" | "first" | "last" | undefined;
989
+ } | {
990
+ callTarget?: number | "all" | "first" | "last" | undefined;
991
+ kind: import("../types/rule.js").SelectorKind.Callee;
992
+ match?: ({
993
+ type: import("../types/rule.js").MatcherType.String;
994
+ } | {
995
+ path?: string | undefined;
996
+ type: import("../types/rule.js").MatcherType.ObjectKey;
997
+ } | {
998
+ path?: string | undefined;
999
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1000
+ } | {
1001
+ match: ({
1002
+ type: import("../types/rule.js").MatcherType.String;
1003
+ } | {
1004
+ path?: string | undefined;
1005
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1006
+ } | {
1007
+ path?: string | undefined;
1008
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1009
+ })[];
1010
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
1011
+ })[] | undefined;
1012
+ name?: string | undefined;
1013
+ path: string;
1014
+ targetArgument?: number | "all" | "first" | "last" | undefined;
1015
+ targetCall?: number | "all" | "first" | "last" | undefined;
1016
+ } | {
1017
+ kind: import("../types/rule.js").SelectorKind.Tag;
1018
+ match?: ({
1019
+ type: import("../types/rule.js").MatcherType.String;
1020
+ } | {
1021
+ path?: string | undefined;
1022
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1023
+ } | {
1024
+ path?: string | undefined;
1025
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1026
+ } | {
1027
+ match: ({
1028
+ type: import("../types/rule.js").MatcherType.String;
1029
+ } | {
1030
+ path?: string | undefined;
1031
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1032
+ } | {
1033
+ path?: string | undefined;
1034
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1035
+ })[];
1036
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
1037
+ })[] | undefined;
1038
+ name: string;
1039
+ path?: string | undefined;
1040
+ } | {
1041
+ kind: import("../types/rule.js").SelectorKind.Tag;
1042
+ match?: ({
1043
+ type: import("../types/rule.js").MatcherType.String;
1044
+ } | {
1045
+ path?: string | undefined;
1046
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1047
+ } | {
1048
+ path?: string | undefined;
1049
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1050
+ } | {
1051
+ match: ({
1052
+ type: import("../types/rule.js").MatcherType.String;
1053
+ } | {
1054
+ path?: string | undefined;
1055
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1056
+ } | {
1057
+ path?: string | undefined;
1058
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1059
+ })[];
1060
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
1061
+ })[] | undefined;
1062
+ name?: string | undefined;
1063
+ path: string;
1064
+ } | {
1065
+ kind: import("../types/rule.js").SelectorKind.Attribute;
1066
+ match?: ({
1067
+ type: import("../types/rule.js").MatcherType.String;
1068
+ } | {
1069
+ path?: string | undefined;
1070
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1071
+ } | {
1072
+ path?: string | undefined;
1073
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1074
+ } | {
1075
+ match: ({
1076
+ type: import("../types/rule.js").MatcherType.String;
1077
+ } | {
1078
+ path?: string | undefined;
1079
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1080
+ } | {
1081
+ path?: string | undefined;
1082
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1083
+ })[];
1084
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
1085
+ })[] | undefined;
1086
+ name: string;
1087
+ } | {
1088
+ kind: import("../types/rule.js").SelectorKind.Variable;
1089
+ match?: ({
1090
+ type: import("../types/rule.js").MatcherType.String;
1091
+ } | {
1092
+ path?: string | undefined;
1093
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1094
+ } | {
1095
+ path?: string | undefined;
1096
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1097
+ } | {
1098
+ match: ({
1099
+ type: import("../types/rule.js").MatcherType.String;
1100
+ } | {
1101
+ path?: string | undefined;
1102
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1103
+ } | {
1104
+ path?: string | undefined;
1105
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1106
+ })[];
1107
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
1108
+ })[] | undefined;
1109
+ name: string;
1110
+ })[];
1111
+ } & {
1112
+ syntax: "variable" | "shorthand";
1113
+ };
1114
+ recommended: false;
1115
+ rule: {
1116
+ create: (ctx: import("eslint").Rule.RuleContext) => import("eslint").Rule.RuleListener;
1117
+ meta: {
1118
+ messages?: {
1119
+ readonly incorrect: "Incorrect variable syntax: {{ className }}.";
1120
+ };
1121
+ docs: {
1122
+ description: string;
1123
+ recommended: boolean;
1124
+ url: string;
1125
+ };
1126
+ fixable: "code" | undefined;
1127
+ schema: {
1128
+ additionalProperties: false;
1129
+ properties: Record<string, boolean | import("@valibot/to-json-schema").JsonSchema> | undefined;
1130
+ type: "object";
1131
+ }[];
1132
+ type: "problem" | "layout";
1133
+ };
1134
+ };
1135
+ }, {
1136
+ category: "stylistic";
1137
+ messages: {
1138
+ readonly multiple: "Physical class detected. Replace \"{{ className }}\" with logical classes \"{{fix}}\".";
1139
+ readonly single: "Physical class detected. Replace \"{{ className }}\" with logical class \"{{fix}}\".";
1140
+ } | undefined;
1141
+ name: "enforce-logical-properties";
1142
+ readonly options: {
1143
+ cwd?: string | undefined;
1144
+ rootFontSize?: number | undefined;
1145
+ detectComponentClasses: boolean;
1146
+ tsconfig?: string | undefined;
1147
+ tailwindConfig?: string | undefined;
1148
+ messageStyle: "visual" | "compact" | "raw";
1149
+ entryPoint?: string | undefined;
1150
+ tags?: (string | [string, ({
1151
+ match: import("../types/rule.js").MatcherType.String;
1152
+ } | {
1153
+ match: import("../types/rule.js").MatcherType.ObjectKey;
1154
+ pathPattern?: string | undefined;
1155
+ } | {
1156
+ match: import("../types/rule.js").MatcherType.ObjectValue;
1157
+ pathPattern?: string | undefined;
1158
+ })[]])[] | undefined;
1159
+ variables?: (string | [string, ({
1160
+ match: import("../types/rule.js").MatcherType.String;
1161
+ } | {
1162
+ match: import("../types/rule.js").MatcherType.ObjectKey;
1163
+ pathPattern?: string | undefined;
1164
+ } | {
1165
+ match: import("../types/rule.js").MatcherType.ObjectValue;
1166
+ pathPattern?: string | undefined;
1167
+ })[]])[] | undefined;
1168
+ attributes?: (string | [string, ({
1169
+ match: import("../types/rule.js").MatcherType.String;
1170
+ } | {
1171
+ match: import("../types/rule.js").MatcherType.ObjectKey;
1172
+ pathPattern?: string | undefined;
1173
+ } | {
1174
+ match: import("../types/rule.js").MatcherType.ObjectValue;
1175
+ pathPattern?: string | undefined;
1176
+ })[]])[] | undefined;
1177
+ callees?: (string | [string, ({
1178
+ match: import("../types/rule.js").MatcherType.String;
1179
+ } | {
1180
+ match: import("../types/rule.js").MatcherType.ObjectKey;
1181
+ pathPattern?: string | undefined;
1182
+ } | {
1183
+ match: import("../types/rule.js").MatcherType.ObjectValue;
1184
+ pathPattern?: string | undefined;
1185
+ })[]])[] | undefined;
1186
+ selectors: ({
1187
+ callTarget?: number | "all" | "first" | "last" | undefined;
1188
+ kind: import("../types/rule.js").SelectorKind.Callee;
1189
+ match?: ({
1190
+ type: import("../types/rule.js").MatcherType.String;
1191
+ } | {
1192
+ path?: string | undefined;
1193
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1194
+ } | {
1195
+ path?: string | undefined;
1196
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1197
+ } | {
1198
+ match: ({
1199
+ type: import("../types/rule.js").MatcherType.String;
1200
+ } | {
1201
+ path?: string | undefined;
1202
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1203
+ } | {
1204
+ path?: string | undefined;
1205
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1206
+ })[];
1207
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
1208
+ })[] | undefined;
1209
+ name: string;
1210
+ path?: string | undefined;
1211
+ targetArgument?: number | "all" | "first" | "last" | undefined;
1212
+ targetCall?: number | "all" | "first" | "last" | undefined;
1213
+ } | {
1214
+ callTarget?: number | "all" | "first" | "last" | undefined;
1215
+ kind: import("../types/rule.js").SelectorKind.Callee;
1216
+ match?: ({
1217
+ type: import("../types/rule.js").MatcherType.String;
1218
+ } | {
1219
+ path?: string | undefined;
1220
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1221
+ } | {
1222
+ path?: string | undefined;
1223
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1224
+ } | {
1225
+ match: ({
1226
+ type: import("../types/rule.js").MatcherType.String;
1227
+ } | {
1228
+ path?: string | undefined;
1229
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1230
+ } | {
1231
+ path?: string | undefined;
1232
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1233
+ })[];
1234
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
1235
+ })[] | undefined;
1236
+ name?: string | undefined;
1237
+ path: string;
1238
+ targetArgument?: number | "all" | "first" | "last" | undefined;
1239
+ targetCall?: number | "all" | "first" | "last" | undefined;
1240
+ } | {
1241
+ kind: import("../types/rule.js").SelectorKind.Tag;
1242
+ match?: ({
1243
+ type: import("../types/rule.js").MatcherType.String;
1244
+ } | {
1245
+ path?: string | undefined;
1246
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1247
+ } | {
1248
+ path?: string | undefined;
1249
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1250
+ } | {
1251
+ match: ({
1252
+ type: import("../types/rule.js").MatcherType.String;
1253
+ } | {
1254
+ path?: string | undefined;
1255
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1256
+ } | {
1257
+ path?: string | undefined;
1258
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1259
+ })[];
1260
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
1261
+ })[] | undefined;
1262
+ name: string;
1263
+ path?: string | undefined;
1264
+ } | {
1265
+ kind: import("../types/rule.js").SelectorKind.Tag;
1266
+ match?: ({
1267
+ type: import("../types/rule.js").MatcherType.String;
1268
+ } | {
1269
+ path?: string | undefined;
1270
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1271
+ } | {
1272
+ path?: string | undefined;
1273
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1274
+ } | {
1275
+ match: ({
1276
+ type: import("../types/rule.js").MatcherType.String;
1277
+ } | {
1278
+ path?: string | undefined;
1279
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1280
+ } | {
1281
+ path?: string | undefined;
1282
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1283
+ })[];
1284
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
1285
+ })[] | undefined;
1286
+ name?: string | undefined;
1287
+ path: string;
1288
+ } | {
1289
+ kind: import("../types/rule.js").SelectorKind.Attribute;
1290
+ match?: ({
1291
+ type: import("../types/rule.js").MatcherType.String;
1292
+ } | {
1293
+ path?: string | undefined;
1294
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1295
+ } | {
1296
+ path?: string | undefined;
1297
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1298
+ } | {
1299
+ match: ({
1300
+ type: import("../types/rule.js").MatcherType.String;
1301
+ } | {
1302
+ path?: string | undefined;
1303
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1304
+ } | {
1305
+ path?: string | undefined;
1306
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1307
+ })[];
1308
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
1309
+ })[] | undefined;
1310
+ name: string;
1311
+ } | {
1312
+ kind: import("../types/rule.js").SelectorKind.Variable;
1313
+ match?: ({
1314
+ type: import("../types/rule.js").MatcherType.String;
1315
+ } | {
1316
+ path?: string | undefined;
1317
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1318
+ } | {
1319
+ path?: string | undefined;
1320
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1321
+ } | {
1322
+ match: ({
1323
+ type: import("../types/rule.js").MatcherType.String;
1324
+ } | {
1325
+ path?: string | undefined;
1326
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1327
+ } | {
1328
+ path?: string | undefined;
1329
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1330
+ })[];
1331
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
1332
+ })[] | undefined;
1333
+ name: string;
1334
+ })[];
1335
+ } & {
1336
+ ignore: string[];
1337
+ };
1338
+ recommended: false;
1339
+ rule: {
1340
+ create: (ctx: import("eslint").Rule.RuleContext) => import("eslint").Rule.RuleListener;
1341
+ meta: {
1342
+ messages?: {
1343
+ readonly multiple: "Physical class detected. Replace \"{{ className }}\" with logical classes \"{{fix}}\".";
1344
+ readonly single: "Physical class detected. Replace \"{{ className }}\" with logical class \"{{fix}}\".";
1345
+ };
1346
+ docs: {
1347
+ description: string;
1348
+ recommended: boolean;
1349
+ url: string;
1350
+ };
1351
+ fixable: "code" | undefined;
1352
+ schema: {
1353
+ additionalProperties: false;
1354
+ properties: Record<string, boolean | import("@valibot/to-json-schema").JsonSchema> | undefined;
1355
+ type: "object";
1356
+ }[];
1357
+ type: "problem" | "layout";
1358
+ };
1359
+ };
1360
+ }, {
1361
+ category: "stylistic";
1362
+ messages: {
1363
+ readonly longhand: "Non shorthand class detected. Expected {{ longhands }} to be {{ shorthands }}";
1364
+ readonly unnecessary: "Unnecessary whitespace";
1365
+ } | undefined;
1366
+ name: "enforce-shorthand-classes";
1367
+ readonly options: {
1368
+ cwd?: string | undefined;
1369
+ rootFontSize?: number | undefined;
1370
+ detectComponentClasses: boolean;
1371
+ tsconfig?: string | undefined;
1372
+ tailwindConfig?: string | undefined;
1373
+ messageStyle: "visual" | "compact" | "raw";
1374
+ entryPoint?: string | undefined;
1375
+ tags?: (string | [string, ({
1376
+ match: import("../types/rule.js").MatcherType.String;
1377
+ } | {
1378
+ match: import("../types/rule.js").MatcherType.ObjectKey;
1379
+ pathPattern?: string | undefined;
1380
+ } | {
1381
+ match: import("../types/rule.js").MatcherType.ObjectValue;
1382
+ pathPattern?: string | undefined;
1383
+ })[]])[] | undefined;
1384
+ variables?: (string | [string, ({
1385
+ match: import("../types/rule.js").MatcherType.String;
1386
+ } | {
1387
+ match: import("../types/rule.js").MatcherType.ObjectKey;
1388
+ pathPattern?: string | undefined;
1389
+ } | {
1390
+ match: import("../types/rule.js").MatcherType.ObjectValue;
1391
+ pathPattern?: string | undefined;
1392
+ })[]])[] | undefined;
1393
+ attributes?: (string | [string, ({
1394
+ match: import("../types/rule.js").MatcherType.String;
1395
+ } | {
1396
+ match: import("../types/rule.js").MatcherType.ObjectKey;
1397
+ pathPattern?: string | undefined;
1398
+ } | {
1399
+ match: import("../types/rule.js").MatcherType.ObjectValue;
1400
+ pathPattern?: string | undefined;
1401
+ })[]])[] | undefined;
1402
+ callees?: (string | [string, ({
1403
+ match: import("../types/rule.js").MatcherType.String;
1404
+ } | {
1405
+ match: import("../types/rule.js").MatcherType.ObjectKey;
1406
+ pathPattern?: string | undefined;
1407
+ } | {
1408
+ match: import("../types/rule.js").MatcherType.ObjectValue;
1409
+ pathPattern?: string | undefined;
1410
+ })[]])[] | undefined;
1411
+ selectors: ({
1412
+ callTarget?: number | "all" | "first" | "last" | undefined;
1413
+ kind: import("../types/rule.js").SelectorKind.Callee;
1414
+ match?: ({
1415
+ type: import("../types/rule.js").MatcherType.String;
1416
+ } | {
1417
+ path?: string | undefined;
1418
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1419
+ } | {
1420
+ path?: string | undefined;
1421
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1422
+ } | {
1423
+ match: ({
1424
+ type: import("../types/rule.js").MatcherType.String;
1425
+ } | {
1426
+ path?: string | undefined;
1427
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1428
+ } | {
1429
+ path?: string | undefined;
1430
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1431
+ })[];
1432
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
1433
+ })[] | undefined;
1434
+ name: string;
1435
+ path?: string | undefined;
1436
+ targetArgument?: number | "all" | "first" | "last" | undefined;
1437
+ targetCall?: number | "all" | "first" | "last" | undefined;
1438
+ } | {
1439
+ callTarget?: number | "all" | "first" | "last" | undefined;
1440
+ kind: import("../types/rule.js").SelectorKind.Callee;
1441
+ match?: ({
1442
+ type: import("../types/rule.js").MatcherType.String;
1443
+ } | {
1444
+ path?: string | undefined;
1445
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1446
+ } | {
1447
+ path?: string | undefined;
1448
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1449
+ } | {
1450
+ match: ({
1451
+ type: import("../types/rule.js").MatcherType.String;
1452
+ } | {
1453
+ path?: string | undefined;
1454
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1455
+ } | {
1456
+ path?: string | undefined;
1457
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1458
+ })[];
1459
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
1460
+ })[] | undefined;
1461
+ name?: string | undefined;
1462
+ path: string;
1463
+ targetArgument?: number | "all" | "first" | "last" | undefined;
1464
+ targetCall?: number | "all" | "first" | "last" | undefined;
1465
+ } | {
1466
+ kind: import("../types/rule.js").SelectorKind.Tag;
1467
+ match?: ({
1468
+ type: import("../types/rule.js").MatcherType.String;
1469
+ } | {
1470
+ path?: string | undefined;
1471
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1472
+ } | {
1473
+ path?: string | undefined;
1474
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1475
+ } | {
1476
+ match: ({
1477
+ type: import("../types/rule.js").MatcherType.String;
1478
+ } | {
1479
+ path?: string | undefined;
1480
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1481
+ } | {
1482
+ path?: string | undefined;
1483
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1484
+ })[];
1485
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
1486
+ })[] | undefined;
1487
+ name: string;
1488
+ path?: string | undefined;
1489
+ } | {
1490
+ kind: import("../types/rule.js").SelectorKind.Tag;
1491
+ match?: ({
1492
+ type: import("../types/rule.js").MatcherType.String;
1493
+ } | {
1494
+ path?: string | undefined;
1495
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1496
+ } | {
1497
+ path?: string | undefined;
1498
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1499
+ } | {
1500
+ match: ({
1501
+ type: import("../types/rule.js").MatcherType.String;
1502
+ } | {
1503
+ path?: string | undefined;
1504
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1505
+ } | {
1506
+ path?: string | undefined;
1507
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1508
+ })[];
1509
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
1510
+ })[] | undefined;
1511
+ name?: string | undefined;
1512
+ path: string;
1513
+ } | {
1514
+ kind: import("../types/rule.js").SelectorKind.Attribute;
1515
+ match?: ({
1516
+ type: import("../types/rule.js").MatcherType.String;
1517
+ } | {
1518
+ path?: string | undefined;
1519
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1520
+ } | {
1521
+ path?: string | undefined;
1522
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1523
+ } | {
1524
+ match: ({
1525
+ type: import("../types/rule.js").MatcherType.String;
1526
+ } | {
1527
+ path?: string | undefined;
1528
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1529
+ } | {
1530
+ path?: string | undefined;
1531
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1532
+ })[];
1533
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
1534
+ })[] | undefined;
1535
+ name: string;
1536
+ } | {
1537
+ kind: import("../types/rule.js").SelectorKind.Variable;
1538
+ match?: ({
1539
+ type: import("../types/rule.js").MatcherType.String;
1540
+ } | {
1541
+ path?: string | undefined;
1542
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1543
+ } | {
1544
+ path?: string | undefined;
1545
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1546
+ } | {
1547
+ match: ({
1548
+ type: import("../types/rule.js").MatcherType.String;
1549
+ } | {
1550
+ path?: string | undefined;
1551
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1552
+ } | {
1553
+ path?: string | undefined;
1554
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1555
+ })[];
1556
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
1557
+ })[] | undefined;
1558
+ name: string;
1559
+ })[];
1560
+ } & {
1561
+ [x: string]: unknown;
1562
+ };
1563
+ recommended: false;
1564
+ rule: {
1565
+ create: (ctx: import("eslint").Rule.RuleContext) => import("eslint").Rule.RuleListener;
1566
+ meta: {
1567
+ messages?: {
1568
+ readonly longhand: "Non shorthand class detected. Expected {{ longhands }} to be {{ shorthands }}";
1569
+ readonly unnecessary: "Unnecessary whitespace";
1570
+ };
1571
+ docs: {
1572
+ description: string;
1573
+ recommended: boolean;
1574
+ url: string;
1575
+ };
1576
+ fixable: "code" | undefined;
1577
+ schema: {
1578
+ additionalProperties: false;
1579
+ properties: Record<string, boolean | import("@valibot/to-json-schema").JsonSchema> | undefined;
1580
+ type: "object";
1581
+ }[];
1582
+ type: "problem" | "layout";
1583
+ };
1584
+ };
1585
+ }, {
1586
+ category: "correctness";
1587
+ messages: {
1588
+ readonly concatenated: "Concatenated classes may be purged by Tailwind CSS. Avoid dynamic class construction.";
1589
+ } | undefined;
1590
+ name: "no-concatenated-classes";
1591
+ readonly options: {
1592
+ cwd?: string | undefined;
1593
+ rootFontSize?: number | undefined;
1594
+ detectComponentClasses: boolean;
1595
+ tsconfig?: string | undefined;
1596
+ tailwindConfig?: string | undefined;
1597
+ messageStyle: "visual" | "compact" | "raw";
1598
+ entryPoint?: string | undefined;
1599
+ tags?: (string | [string, ({
1600
+ match: import("../types/rule.js").MatcherType.String;
1601
+ } | {
1602
+ match: import("../types/rule.js").MatcherType.ObjectKey;
1603
+ pathPattern?: string | undefined;
1604
+ } | {
1605
+ match: import("../types/rule.js").MatcherType.ObjectValue;
1606
+ pathPattern?: string | undefined;
1607
+ })[]])[] | undefined;
1608
+ variables?: (string | [string, ({
1609
+ match: import("../types/rule.js").MatcherType.String;
1610
+ } | {
1611
+ match: import("../types/rule.js").MatcherType.ObjectKey;
1612
+ pathPattern?: string | undefined;
1613
+ } | {
1614
+ match: import("../types/rule.js").MatcherType.ObjectValue;
1615
+ pathPattern?: string | undefined;
1616
+ })[]])[] | undefined;
1617
+ attributes?: (string | [string, ({
1618
+ match: import("../types/rule.js").MatcherType.String;
1619
+ } | {
1620
+ match: import("../types/rule.js").MatcherType.ObjectKey;
1621
+ pathPattern?: string | undefined;
1622
+ } | {
1623
+ match: import("../types/rule.js").MatcherType.ObjectValue;
1624
+ pathPattern?: string | undefined;
1625
+ })[]])[] | undefined;
1626
+ callees?: (string | [string, ({
1627
+ match: import("../types/rule.js").MatcherType.String;
1628
+ } | {
1629
+ match: import("../types/rule.js").MatcherType.ObjectKey;
1630
+ pathPattern?: string | undefined;
1631
+ } | {
1632
+ match: import("../types/rule.js").MatcherType.ObjectValue;
1633
+ pathPattern?: string | undefined;
1634
+ })[]])[] | undefined;
1635
+ selectors: ({
1636
+ callTarget?: number | "all" | "first" | "last" | undefined;
1637
+ kind: import("../types/rule.js").SelectorKind.Callee;
1638
+ match?: ({
1639
+ type: import("../types/rule.js").MatcherType.String;
1640
+ } | {
1641
+ path?: string | undefined;
1642
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1643
+ } | {
1644
+ path?: string | undefined;
1645
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1646
+ } | {
1647
+ match: ({
1648
+ type: import("../types/rule.js").MatcherType.String;
1649
+ } | {
1650
+ path?: string | undefined;
1651
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1652
+ } | {
1653
+ path?: string | undefined;
1654
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1655
+ })[];
1656
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
1657
+ })[] | undefined;
1658
+ name: string;
1659
+ path?: string | undefined;
1660
+ targetArgument?: number | "all" | "first" | "last" | undefined;
1661
+ targetCall?: number | "all" | "first" | "last" | undefined;
1662
+ } | {
1663
+ callTarget?: number | "all" | "first" | "last" | undefined;
1664
+ kind: import("../types/rule.js").SelectorKind.Callee;
1665
+ match?: ({
1666
+ type: import("../types/rule.js").MatcherType.String;
1667
+ } | {
1668
+ path?: string | undefined;
1669
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1670
+ } | {
1671
+ path?: string | undefined;
1672
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1673
+ } | {
1674
+ match: ({
1675
+ type: import("../types/rule.js").MatcherType.String;
1676
+ } | {
1677
+ path?: string | undefined;
1678
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1679
+ } | {
1680
+ path?: string | undefined;
1681
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1682
+ })[];
1683
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
1684
+ })[] | undefined;
1685
+ name?: string | undefined;
1686
+ path: string;
1687
+ targetArgument?: number | "all" | "first" | "last" | undefined;
1688
+ targetCall?: number | "all" | "first" | "last" | undefined;
1689
+ } | {
1690
+ kind: import("../types/rule.js").SelectorKind.Tag;
1691
+ match?: ({
1692
+ type: import("../types/rule.js").MatcherType.String;
1693
+ } | {
1694
+ path?: string | undefined;
1695
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1696
+ } | {
1697
+ path?: string | undefined;
1698
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1699
+ } | {
1700
+ match: ({
1701
+ type: import("../types/rule.js").MatcherType.String;
1702
+ } | {
1703
+ path?: string | undefined;
1704
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1705
+ } | {
1706
+ path?: string | undefined;
1707
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1708
+ })[];
1709
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
1710
+ })[] | undefined;
1711
+ name: string;
1712
+ path?: string | undefined;
1713
+ } | {
1714
+ kind: import("../types/rule.js").SelectorKind.Tag;
1715
+ match?: ({
1716
+ type: import("../types/rule.js").MatcherType.String;
1717
+ } | {
1718
+ path?: string | undefined;
1719
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1720
+ } | {
1721
+ path?: string | undefined;
1722
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1723
+ } | {
1724
+ match: ({
1725
+ type: import("../types/rule.js").MatcherType.String;
1726
+ } | {
1727
+ path?: string | undefined;
1728
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1729
+ } | {
1730
+ path?: string | undefined;
1731
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1732
+ })[];
1733
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
1734
+ })[] | undefined;
1735
+ name?: string | undefined;
1736
+ path: string;
1737
+ } | {
1738
+ kind: import("../types/rule.js").SelectorKind.Attribute;
1739
+ match?: ({
1740
+ type: import("../types/rule.js").MatcherType.String;
1741
+ } | {
1742
+ path?: string | undefined;
1743
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1744
+ } | {
1745
+ path?: string | undefined;
1746
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1747
+ } | {
1748
+ match: ({
1749
+ type: import("../types/rule.js").MatcherType.String;
1750
+ } | {
1751
+ path?: string | undefined;
1752
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1753
+ } | {
1754
+ path?: string | undefined;
1755
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1756
+ })[];
1757
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
1758
+ })[] | undefined;
1759
+ name: string;
1760
+ } | {
1761
+ kind: import("../types/rule.js").SelectorKind.Variable;
1762
+ match?: ({
1763
+ type: import("../types/rule.js").MatcherType.String;
1764
+ } | {
1765
+ path?: string | undefined;
1766
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1767
+ } | {
1768
+ path?: string | undefined;
1769
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1770
+ } | {
1771
+ match: ({
1772
+ type: import("../types/rule.js").MatcherType.String;
1773
+ } | {
1774
+ path?: string | undefined;
1775
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1776
+ } | {
1777
+ path?: string | undefined;
1778
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1779
+ })[];
1780
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
1781
+ })[] | undefined;
1782
+ name: string;
1783
+ })[];
1784
+ } & {
1785
+ [x: string]: unknown;
1786
+ };
1787
+ recommended: true;
1788
+ rule: {
1789
+ create: (ctx: import("eslint").Rule.RuleContext) => import("eslint").Rule.RuleListener;
1790
+ meta: {
1791
+ messages?: {
1792
+ readonly concatenated: "Concatenated classes may be purged by Tailwind CSS. Avoid dynamic class construction.";
1793
+ };
1794
+ docs: {
1795
+ description: string;
1796
+ recommended: boolean;
1797
+ url: string;
1798
+ };
1799
+ fixable: "code" | undefined;
1800
+ schema: {
1801
+ additionalProperties: false;
1802
+ properties: Record<string, boolean | import("@valibot/to-json-schema").JsonSchema> | undefined;
1803
+ type: "object";
1804
+ }[];
1805
+ type: "problem" | "layout";
1806
+ };
1807
+ };
1808
+ }, {
1809
+ category: "correctness";
1810
+ messages: {
1811
+ readonly conflicting: "Conflicting class detected: \"{{ className }}\" and \"{{ conflictingClassString }}\" apply the same CSS properties: \"{{ conflictingPropertiesString }}\".";
1812
+ } | undefined;
1813
+ name: "no-conflicting-classes";
1814
+ readonly options: {
1815
+ cwd?: string | undefined;
1816
+ rootFontSize?: number | undefined;
1817
+ detectComponentClasses: boolean;
1818
+ tsconfig?: string | undefined;
1819
+ tailwindConfig?: string | undefined;
1820
+ messageStyle: "visual" | "compact" | "raw";
1821
+ entryPoint?: string | undefined;
1822
+ tags?: (string | [string, ({
1823
+ match: import("../types/rule.js").MatcherType.String;
1824
+ } | {
1825
+ match: import("../types/rule.js").MatcherType.ObjectKey;
1826
+ pathPattern?: string | undefined;
1827
+ } | {
1828
+ match: import("../types/rule.js").MatcherType.ObjectValue;
1829
+ pathPattern?: string | undefined;
1830
+ })[]])[] | undefined;
1831
+ variables?: (string | [string, ({
1832
+ match: import("../types/rule.js").MatcherType.String;
1833
+ } | {
1834
+ match: import("../types/rule.js").MatcherType.ObjectKey;
1835
+ pathPattern?: string | undefined;
1836
+ } | {
1837
+ match: import("../types/rule.js").MatcherType.ObjectValue;
1838
+ pathPattern?: string | undefined;
1839
+ })[]])[] | undefined;
1840
+ attributes?: (string | [string, ({
1841
+ match: import("../types/rule.js").MatcherType.String;
1842
+ } | {
1843
+ match: import("../types/rule.js").MatcherType.ObjectKey;
1844
+ pathPattern?: string | undefined;
1845
+ } | {
1846
+ match: import("../types/rule.js").MatcherType.ObjectValue;
1847
+ pathPattern?: string | undefined;
1848
+ })[]])[] | undefined;
1849
+ callees?: (string | [string, ({
1850
+ match: import("../types/rule.js").MatcherType.String;
1851
+ } | {
1852
+ match: import("../types/rule.js").MatcherType.ObjectKey;
1853
+ pathPattern?: string | undefined;
1854
+ } | {
1855
+ match: import("../types/rule.js").MatcherType.ObjectValue;
1856
+ pathPattern?: string | undefined;
1857
+ })[]])[] | undefined;
1858
+ selectors: ({
1859
+ callTarget?: number | "all" | "first" | "last" | undefined;
1860
+ kind: import("../types/rule.js").SelectorKind.Callee;
1861
+ match?: ({
1862
+ type: import("../types/rule.js").MatcherType.String;
1863
+ } | {
1864
+ path?: string | undefined;
1865
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1866
+ } | {
1867
+ path?: string | undefined;
1868
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1869
+ } | {
1870
+ match: ({
1871
+ type: import("../types/rule.js").MatcherType.String;
1872
+ } | {
1873
+ path?: string | undefined;
1874
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1875
+ } | {
1876
+ path?: string | undefined;
1877
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1878
+ })[];
1879
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
1880
+ })[] | undefined;
1881
+ name: string;
1882
+ path?: string | undefined;
1883
+ targetArgument?: number | "all" | "first" | "last" | undefined;
1884
+ targetCall?: number | "all" | "first" | "last" | undefined;
1885
+ } | {
1886
+ callTarget?: number | "all" | "first" | "last" | undefined;
1887
+ kind: import("../types/rule.js").SelectorKind.Callee;
1888
+ match?: ({
1889
+ type: import("../types/rule.js").MatcherType.String;
1890
+ } | {
1891
+ path?: string | undefined;
1892
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1893
+ } | {
1894
+ path?: string | undefined;
1895
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1896
+ } | {
1897
+ match: ({
1898
+ type: import("../types/rule.js").MatcherType.String;
1899
+ } | {
1900
+ path?: string | undefined;
1901
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1902
+ } | {
1903
+ path?: string | undefined;
1904
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1905
+ })[];
1906
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
1907
+ })[] | undefined;
1908
+ name?: string | undefined;
1909
+ path: string;
1910
+ targetArgument?: number | "all" | "first" | "last" | undefined;
1911
+ targetCall?: number | "all" | "first" | "last" | undefined;
1912
+ } | {
1913
+ kind: import("../types/rule.js").SelectorKind.Tag;
1914
+ match?: ({
1915
+ type: import("../types/rule.js").MatcherType.String;
1916
+ } | {
1917
+ path?: string | undefined;
1918
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1919
+ } | {
1920
+ path?: string | undefined;
1921
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1922
+ } | {
1923
+ match: ({
1924
+ type: import("../types/rule.js").MatcherType.String;
1925
+ } | {
1926
+ path?: string | undefined;
1927
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1928
+ } | {
1929
+ path?: string | undefined;
1930
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1931
+ })[];
1932
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
1933
+ })[] | undefined;
1934
+ name: string;
1935
+ path?: string | undefined;
1936
+ } | {
1937
+ kind: import("../types/rule.js").SelectorKind.Tag;
1938
+ match?: ({
1939
+ type: import("../types/rule.js").MatcherType.String;
1940
+ } | {
1941
+ path?: string | undefined;
1942
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1943
+ } | {
1944
+ path?: string | undefined;
1945
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1946
+ } | {
1947
+ match: ({
1948
+ type: import("../types/rule.js").MatcherType.String;
1949
+ } | {
1950
+ path?: string | undefined;
1951
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1952
+ } | {
1953
+ path?: string | undefined;
1954
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1955
+ })[];
1956
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
1957
+ })[] | undefined;
1958
+ name?: string | undefined;
1959
+ path: string;
1960
+ } | {
1961
+ kind: import("../types/rule.js").SelectorKind.Attribute;
1962
+ match?: ({
1963
+ type: import("../types/rule.js").MatcherType.String;
1964
+ } | {
1965
+ path?: string | undefined;
1966
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1967
+ } | {
1968
+ path?: string | undefined;
1969
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1970
+ } | {
1971
+ match: ({
1972
+ type: import("../types/rule.js").MatcherType.String;
1973
+ } | {
1974
+ path?: string | undefined;
1975
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1976
+ } | {
1977
+ path?: string | undefined;
1978
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1979
+ })[];
1980
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
1981
+ })[] | undefined;
1982
+ name: string;
1983
+ } | {
1984
+ kind: import("../types/rule.js").SelectorKind.Variable;
1985
+ match?: ({
1986
+ type: import("../types/rule.js").MatcherType.String;
1987
+ } | {
1988
+ path?: string | undefined;
1989
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1990
+ } | {
1991
+ path?: string | undefined;
1992
+ type: import("../types/rule.js").MatcherType.ObjectValue;
1993
+ } | {
1994
+ match: ({
1995
+ type: import("../types/rule.js").MatcherType.String;
1996
+ } | {
1997
+ path?: string | undefined;
1998
+ type: import("../types/rule.js").MatcherType.ObjectKey;
1999
+ } | {
2000
+ path?: string | undefined;
2001
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2002
+ })[];
2003
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
2004
+ })[] | undefined;
2005
+ name: string;
2006
+ })[];
2007
+ } & {
2008
+ [x: string]: unknown;
2009
+ };
2010
+ recommended: true;
2011
+ rule: {
2012
+ create: (ctx: import("eslint").Rule.RuleContext) => import("eslint").Rule.RuleListener;
2013
+ meta: {
2014
+ messages?: {
2015
+ readonly conflicting: "Conflicting class detected: \"{{ className }}\" and \"{{ conflictingClassString }}\" apply the same CSS properties: \"{{ conflictingPropertiesString }}\".";
2016
+ };
2017
+ docs: {
2018
+ description: string;
2019
+ recommended: boolean;
2020
+ url: string;
2021
+ };
2022
+ fixable: "code" | undefined;
2023
+ schema: {
2024
+ additionalProperties: false;
2025
+ properties: Record<string, boolean | import("@valibot/to-json-schema").JsonSchema> | undefined;
2026
+ type: "object";
2027
+ }[];
2028
+ type: "problem" | "layout";
2029
+ };
2030
+ };
2031
+ }, {
2032
+ category: "stylistic";
2033
+ messages: {
2034
+ readonly irreplaceable: "Class \"{{ className }}\" is deprecated. Check the tailwindcss documentation for more information: https://tailwindcss.com/docs/upgrade-guide#removed-deprecated-utilities";
2035
+ readonly replaceable: "Deprecated class detected. Replace \"{{ className }}\" with \"{{fix}}\".";
2036
+ } | undefined;
2037
+ name: "no-deprecated-classes";
2038
+ readonly options: {
2039
+ cwd?: string | undefined;
2040
+ rootFontSize?: number | undefined;
2041
+ detectComponentClasses: boolean;
2042
+ tsconfig?: string | undefined;
2043
+ tailwindConfig?: string | undefined;
2044
+ messageStyle: "visual" | "compact" | "raw";
2045
+ entryPoint?: string | undefined;
2046
+ tags?: (string | [string, ({
2047
+ match: import("../types/rule.js").MatcherType.String;
2048
+ } | {
2049
+ match: import("../types/rule.js").MatcherType.ObjectKey;
2050
+ pathPattern?: string | undefined;
2051
+ } | {
2052
+ match: import("../types/rule.js").MatcherType.ObjectValue;
2053
+ pathPattern?: string | undefined;
2054
+ })[]])[] | undefined;
2055
+ variables?: (string | [string, ({
2056
+ match: import("../types/rule.js").MatcherType.String;
2057
+ } | {
2058
+ match: import("../types/rule.js").MatcherType.ObjectKey;
2059
+ pathPattern?: string | undefined;
2060
+ } | {
2061
+ match: import("../types/rule.js").MatcherType.ObjectValue;
2062
+ pathPattern?: string | undefined;
2063
+ })[]])[] | undefined;
2064
+ attributes?: (string | [string, ({
2065
+ match: import("../types/rule.js").MatcherType.String;
2066
+ } | {
2067
+ match: import("../types/rule.js").MatcherType.ObjectKey;
2068
+ pathPattern?: string | undefined;
2069
+ } | {
2070
+ match: import("../types/rule.js").MatcherType.ObjectValue;
2071
+ pathPattern?: string | undefined;
2072
+ })[]])[] | undefined;
2073
+ callees?: (string | [string, ({
2074
+ match: import("../types/rule.js").MatcherType.String;
2075
+ } | {
2076
+ match: import("../types/rule.js").MatcherType.ObjectKey;
2077
+ pathPattern?: string | undefined;
2078
+ } | {
2079
+ match: import("../types/rule.js").MatcherType.ObjectValue;
2080
+ pathPattern?: string | undefined;
2081
+ })[]])[] | undefined;
2082
+ selectors: ({
2083
+ callTarget?: number | "all" | "first" | "last" | undefined;
2084
+ kind: import("../types/rule.js").SelectorKind.Callee;
2085
+ match?: ({
2086
+ type: import("../types/rule.js").MatcherType.String;
2087
+ } | {
2088
+ path?: string | undefined;
2089
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2090
+ } | {
2091
+ path?: string | undefined;
2092
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2093
+ } | {
2094
+ match: ({
2095
+ type: import("../types/rule.js").MatcherType.String;
2096
+ } | {
2097
+ path?: string | undefined;
2098
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2099
+ } | {
2100
+ path?: string | undefined;
2101
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2102
+ })[];
2103
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
2104
+ })[] | undefined;
2105
+ name: string;
2106
+ path?: string | undefined;
2107
+ targetArgument?: number | "all" | "first" | "last" | undefined;
2108
+ targetCall?: number | "all" | "first" | "last" | undefined;
2109
+ } | {
2110
+ callTarget?: number | "all" | "first" | "last" | undefined;
2111
+ kind: import("../types/rule.js").SelectorKind.Callee;
2112
+ match?: ({
2113
+ type: import("../types/rule.js").MatcherType.String;
2114
+ } | {
2115
+ path?: string | undefined;
2116
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2117
+ } | {
2118
+ path?: string | undefined;
2119
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2120
+ } | {
2121
+ match: ({
2122
+ type: import("../types/rule.js").MatcherType.String;
2123
+ } | {
2124
+ path?: string | undefined;
2125
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2126
+ } | {
2127
+ path?: string | undefined;
2128
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2129
+ })[];
2130
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
2131
+ })[] | undefined;
2132
+ name?: string | undefined;
2133
+ path: string;
2134
+ targetArgument?: number | "all" | "first" | "last" | undefined;
2135
+ targetCall?: number | "all" | "first" | "last" | undefined;
2136
+ } | {
2137
+ kind: import("../types/rule.js").SelectorKind.Tag;
2138
+ match?: ({
2139
+ type: import("../types/rule.js").MatcherType.String;
2140
+ } | {
2141
+ path?: string | undefined;
2142
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2143
+ } | {
2144
+ path?: string | undefined;
2145
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2146
+ } | {
2147
+ match: ({
2148
+ type: import("../types/rule.js").MatcherType.String;
2149
+ } | {
2150
+ path?: string | undefined;
2151
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2152
+ } | {
2153
+ path?: string | undefined;
2154
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2155
+ })[];
2156
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
2157
+ })[] | undefined;
2158
+ name: string;
2159
+ path?: string | undefined;
2160
+ } | {
2161
+ kind: import("../types/rule.js").SelectorKind.Tag;
2162
+ match?: ({
2163
+ type: import("../types/rule.js").MatcherType.String;
2164
+ } | {
2165
+ path?: string | undefined;
2166
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2167
+ } | {
2168
+ path?: string | undefined;
2169
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2170
+ } | {
2171
+ match: ({
2172
+ type: import("../types/rule.js").MatcherType.String;
2173
+ } | {
2174
+ path?: string | undefined;
2175
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2176
+ } | {
2177
+ path?: string | undefined;
2178
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2179
+ })[];
2180
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
2181
+ })[] | undefined;
2182
+ name?: string | undefined;
2183
+ path: string;
2184
+ } | {
2185
+ kind: import("../types/rule.js").SelectorKind.Attribute;
2186
+ match?: ({
2187
+ type: import("../types/rule.js").MatcherType.String;
2188
+ } | {
2189
+ path?: string | undefined;
2190
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2191
+ } | {
2192
+ path?: string | undefined;
2193
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2194
+ } | {
2195
+ match: ({
2196
+ type: import("../types/rule.js").MatcherType.String;
2197
+ } | {
2198
+ path?: string | undefined;
2199
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2200
+ } | {
2201
+ path?: string | undefined;
2202
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2203
+ })[];
2204
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
2205
+ })[] | undefined;
2206
+ name: string;
2207
+ } | {
2208
+ kind: import("../types/rule.js").SelectorKind.Variable;
2209
+ match?: ({
2210
+ type: import("../types/rule.js").MatcherType.String;
2211
+ } | {
2212
+ path?: string | undefined;
2213
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2214
+ } | {
2215
+ path?: string | undefined;
2216
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2217
+ } | {
2218
+ match: ({
2219
+ type: import("../types/rule.js").MatcherType.String;
2220
+ } | {
2221
+ path?: string | undefined;
2222
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2223
+ } | {
2224
+ path?: string | undefined;
2225
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2226
+ })[];
2227
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
2228
+ })[] | undefined;
2229
+ name: string;
2230
+ })[];
2231
+ } & {
2232
+ [x: string]: unknown;
2233
+ };
2234
+ recommended: true;
2235
+ rule: {
2236
+ create: (ctx: import("eslint").Rule.RuleContext) => import("eslint").Rule.RuleListener;
2237
+ meta: {
2238
+ messages?: {
2239
+ readonly irreplaceable: "Class \"{{ className }}\" is deprecated. Check the tailwindcss documentation for more information: https://tailwindcss.com/docs/upgrade-guide#removed-deprecated-utilities";
2240
+ readonly replaceable: "Deprecated class detected. Replace \"{{ className }}\" with \"{{fix}}\".";
2241
+ };
2242
+ docs: {
2243
+ description: string;
2244
+ recommended: boolean;
2245
+ url: string;
2246
+ };
2247
+ fixable: "code" | undefined;
2248
+ schema: {
2249
+ additionalProperties: false;
2250
+ properties: Record<string, boolean | import("@valibot/to-json-schema").JsonSchema> | undefined;
2251
+ type: "object";
2252
+ }[];
2253
+ type: "problem" | "layout";
2254
+ };
2255
+ };
2256
+ }, {
2257
+ category: "stylistic";
2258
+ messages: {
2259
+ readonly duplicate: "Duplicate classname: \"{{ className }}\".";
2260
+ } | undefined;
2261
+ name: "no-duplicate-classes";
2262
+ readonly options: {
2263
+ cwd?: string | undefined;
2264
+ rootFontSize?: number | undefined;
2265
+ detectComponentClasses: boolean;
2266
+ tsconfig?: string | undefined;
2267
+ tailwindConfig?: string | undefined;
2268
+ messageStyle: "visual" | "compact" | "raw";
2269
+ entryPoint?: string | undefined;
2270
+ tags?: (string | [string, ({
2271
+ match: import("../types/rule.js").MatcherType.String;
2272
+ } | {
2273
+ match: import("../types/rule.js").MatcherType.ObjectKey;
2274
+ pathPattern?: string | undefined;
2275
+ } | {
2276
+ match: import("../types/rule.js").MatcherType.ObjectValue;
2277
+ pathPattern?: string | undefined;
2278
+ })[]])[] | undefined;
2279
+ variables?: (string | [string, ({
2280
+ match: import("../types/rule.js").MatcherType.String;
2281
+ } | {
2282
+ match: import("../types/rule.js").MatcherType.ObjectKey;
2283
+ pathPattern?: string | undefined;
2284
+ } | {
2285
+ match: import("../types/rule.js").MatcherType.ObjectValue;
2286
+ pathPattern?: string | undefined;
2287
+ })[]])[] | undefined;
2288
+ attributes?: (string | [string, ({
2289
+ match: import("../types/rule.js").MatcherType.String;
2290
+ } | {
2291
+ match: import("../types/rule.js").MatcherType.ObjectKey;
2292
+ pathPattern?: string | undefined;
2293
+ } | {
2294
+ match: import("../types/rule.js").MatcherType.ObjectValue;
2295
+ pathPattern?: string | undefined;
2296
+ })[]])[] | undefined;
2297
+ callees?: (string | [string, ({
2298
+ match: import("../types/rule.js").MatcherType.String;
2299
+ } | {
2300
+ match: import("../types/rule.js").MatcherType.ObjectKey;
2301
+ pathPattern?: string | undefined;
2302
+ } | {
2303
+ match: import("../types/rule.js").MatcherType.ObjectValue;
2304
+ pathPattern?: string | undefined;
2305
+ })[]])[] | undefined;
2306
+ selectors: ({
2307
+ callTarget?: number | "all" | "first" | "last" | undefined;
2308
+ kind: import("../types/rule.js").SelectorKind.Callee;
2309
+ match?: ({
2310
+ type: import("../types/rule.js").MatcherType.String;
2311
+ } | {
2312
+ path?: string | undefined;
2313
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2314
+ } | {
2315
+ path?: string | undefined;
2316
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2317
+ } | {
2318
+ match: ({
2319
+ type: import("../types/rule.js").MatcherType.String;
2320
+ } | {
2321
+ path?: string | undefined;
2322
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2323
+ } | {
2324
+ path?: string | undefined;
2325
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2326
+ })[];
2327
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
2328
+ })[] | undefined;
2329
+ name: string;
2330
+ path?: string | undefined;
2331
+ targetArgument?: number | "all" | "first" | "last" | undefined;
2332
+ targetCall?: number | "all" | "first" | "last" | undefined;
2333
+ } | {
2334
+ callTarget?: number | "all" | "first" | "last" | undefined;
2335
+ kind: import("../types/rule.js").SelectorKind.Callee;
2336
+ match?: ({
2337
+ type: import("../types/rule.js").MatcherType.String;
2338
+ } | {
2339
+ path?: string | undefined;
2340
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2341
+ } | {
2342
+ path?: string | undefined;
2343
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2344
+ } | {
2345
+ match: ({
2346
+ type: import("../types/rule.js").MatcherType.String;
2347
+ } | {
2348
+ path?: string | undefined;
2349
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2350
+ } | {
2351
+ path?: string | undefined;
2352
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2353
+ })[];
2354
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
2355
+ })[] | undefined;
2356
+ name?: string | undefined;
2357
+ path: string;
2358
+ targetArgument?: number | "all" | "first" | "last" | undefined;
2359
+ targetCall?: number | "all" | "first" | "last" | undefined;
2360
+ } | {
2361
+ kind: import("../types/rule.js").SelectorKind.Tag;
2362
+ match?: ({
2363
+ type: import("../types/rule.js").MatcherType.String;
2364
+ } | {
2365
+ path?: string | undefined;
2366
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2367
+ } | {
2368
+ path?: string | undefined;
2369
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2370
+ } | {
2371
+ match: ({
2372
+ type: import("../types/rule.js").MatcherType.String;
2373
+ } | {
2374
+ path?: string | undefined;
2375
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2376
+ } | {
2377
+ path?: string | undefined;
2378
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2379
+ })[];
2380
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
2381
+ })[] | undefined;
2382
+ name: string;
2383
+ path?: string | undefined;
2384
+ } | {
2385
+ kind: import("../types/rule.js").SelectorKind.Tag;
2386
+ match?: ({
2387
+ type: import("../types/rule.js").MatcherType.String;
2388
+ } | {
2389
+ path?: string | undefined;
2390
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2391
+ } | {
2392
+ path?: string | undefined;
2393
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2394
+ } | {
2395
+ match: ({
2396
+ type: import("../types/rule.js").MatcherType.String;
2397
+ } | {
2398
+ path?: string | undefined;
2399
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2400
+ } | {
2401
+ path?: string | undefined;
2402
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2403
+ })[];
2404
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
2405
+ })[] | undefined;
2406
+ name?: string | undefined;
2407
+ path: string;
2408
+ } | {
2409
+ kind: import("../types/rule.js").SelectorKind.Attribute;
2410
+ match?: ({
2411
+ type: import("../types/rule.js").MatcherType.String;
2412
+ } | {
2413
+ path?: string | undefined;
2414
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2415
+ } | {
2416
+ path?: string | undefined;
2417
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2418
+ } | {
2419
+ match: ({
2420
+ type: import("../types/rule.js").MatcherType.String;
2421
+ } | {
2422
+ path?: string | undefined;
2423
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2424
+ } | {
2425
+ path?: string | undefined;
2426
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2427
+ })[];
2428
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
2429
+ })[] | undefined;
2430
+ name: string;
2431
+ } | {
2432
+ kind: import("../types/rule.js").SelectorKind.Variable;
2433
+ match?: ({
2434
+ type: import("../types/rule.js").MatcherType.String;
2435
+ } | {
2436
+ path?: string | undefined;
2437
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2438
+ } | {
2439
+ path?: string | undefined;
2440
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2441
+ } | {
2442
+ match: ({
2443
+ type: import("../types/rule.js").MatcherType.String;
2444
+ } | {
2445
+ path?: string | undefined;
2446
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2447
+ } | {
2448
+ path?: string | undefined;
2449
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2450
+ })[];
2451
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
2452
+ })[] | undefined;
2453
+ name: string;
2454
+ })[];
2455
+ } & {
2456
+ [x: string]: unknown;
2457
+ };
2458
+ recommended: true;
2459
+ rule: {
2460
+ create: (ctx: import("eslint").Rule.RuleContext) => import("eslint").Rule.RuleListener;
2461
+ meta: {
2462
+ messages?: {
2463
+ readonly duplicate: "Duplicate classname: \"{{ className }}\".";
2464
+ };
2465
+ docs: {
2466
+ description: string;
2467
+ recommended: boolean;
2468
+ url: string;
2469
+ };
2470
+ fixable: "code" | undefined;
2471
+ schema: {
2472
+ additionalProperties: false;
2473
+ properties: Record<string, boolean | import("@valibot/to-json-schema").JsonSchema> | undefined;
2474
+ type: "object";
2475
+ }[];
2476
+ type: "problem" | "layout";
2477
+ };
2478
+ };
2479
+ }, {
2480
+ category: "correctness";
2481
+ messages: Record<string, string> | undefined;
2482
+ name: "no-restricted-classes";
2483
+ readonly options: {
2484
+ cwd?: string | undefined;
2485
+ rootFontSize?: number | undefined;
2486
+ detectComponentClasses: boolean;
2487
+ tsconfig?: string | undefined;
2488
+ tailwindConfig?: string | undefined;
2489
+ messageStyle: "visual" | "compact" | "raw";
2490
+ entryPoint?: string | undefined;
2491
+ tags?: (string | [string, ({
2492
+ match: import("../types/rule.js").MatcherType.String;
2493
+ } | {
2494
+ match: import("../types/rule.js").MatcherType.ObjectKey;
2495
+ pathPattern?: string | undefined;
2496
+ } | {
2497
+ match: import("../types/rule.js").MatcherType.ObjectValue;
2498
+ pathPattern?: string | undefined;
2499
+ })[]])[] | undefined;
2500
+ variables?: (string | [string, ({
2501
+ match: import("../types/rule.js").MatcherType.String;
2502
+ } | {
2503
+ match: import("../types/rule.js").MatcherType.ObjectKey;
2504
+ pathPattern?: string | undefined;
2505
+ } | {
2506
+ match: import("../types/rule.js").MatcherType.ObjectValue;
2507
+ pathPattern?: string | undefined;
2508
+ })[]])[] | undefined;
2509
+ attributes?: (string | [string, ({
2510
+ match: import("../types/rule.js").MatcherType.String;
2511
+ } | {
2512
+ match: import("../types/rule.js").MatcherType.ObjectKey;
2513
+ pathPattern?: string | undefined;
2514
+ } | {
2515
+ match: import("../types/rule.js").MatcherType.ObjectValue;
2516
+ pathPattern?: string | undefined;
2517
+ })[]])[] | undefined;
2518
+ callees?: (string | [string, ({
2519
+ match: import("../types/rule.js").MatcherType.String;
2520
+ } | {
2521
+ match: import("../types/rule.js").MatcherType.ObjectKey;
2522
+ pathPattern?: string | undefined;
2523
+ } | {
2524
+ match: import("../types/rule.js").MatcherType.ObjectValue;
2525
+ pathPattern?: string | undefined;
2526
+ })[]])[] | undefined;
2527
+ selectors: ({
2528
+ callTarget?: number | "all" | "first" | "last" | undefined;
2529
+ kind: import("../types/rule.js").SelectorKind.Callee;
2530
+ match?: ({
2531
+ type: import("../types/rule.js").MatcherType.String;
2532
+ } | {
2533
+ path?: string | undefined;
2534
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2535
+ } | {
2536
+ path?: string | undefined;
2537
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2538
+ } | {
2539
+ match: ({
2540
+ type: import("../types/rule.js").MatcherType.String;
2541
+ } | {
2542
+ path?: string | undefined;
2543
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2544
+ } | {
2545
+ path?: string | undefined;
2546
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2547
+ })[];
2548
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
2549
+ })[] | undefined;
2550
+ name: string;
2551
+ path?: string | undefined;
2552
+ targetArgument?: number | "all" | "first" | "last" | undefined;
2553
+ targetCall?: number | "all" | "first" | "last" | undefined;
2554
+ } | {
2555
+ callTarget?: number | "all" | "first" | "last" | undefined;
2556
+ kind: import("../types/rule.js").SelectorKind.Callee;
2557
+ match?: ({
2558
+ type: import("../types/rule.js").MatcherType.String;
2559
+ } | {
2560
+ path?: string | undefined;
2561
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2562
+ } | {
2563
+ path?: string | undefined;
2564
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2565
+ } | {
2566
+ match: ({
2567
+ type: import("../types/rule.js").MatcherType.String;
2568
+ } | {
2569
+ path?: string | undefined;
2570
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2571
+ } | {
2572
+ path?: string | undefined;
2573
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2574
+ })[];
2575
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
2576
+ })[] | undefined;
2577
+ name?: string | undefined;
2578
+ path: string;
2579
+ targetArgument?: number | "all" | "first" | "last" | undefined;
2580
+ targetCall?: number | "all" | "first" | "last" | undefined;
2581
+ } | {
2582
+ kind: import("../types/rule.js").SelectorKind.Tag;
2583
+ match?: ({
2584
+ type: import("../types/rule.js").MatcherType.String;
2585
+ } | {
2586
+ path?: string | undefined;
2587
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2588
+ } | {
2589
+ path?: string | undefined;
2590
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2591
+ } | {
2592
+ match: ({
2593
+ type: import("../types/rule.js").MatcherType.String;
2594
+ } | {
2595
+ path?: string | undefined;
2596
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2597
+ } | {
2598
+ path?: string | undefined;
2599
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2600
+ })[];
2601
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
2602
+ })[] | undefined;
2603
+ name: string;
2604
+ path?: string | undefined;
2605
+ } | {
2606
+ kind: import("../types/rule.js").SelectorKind.Tag;
2607
+ match?: ({
2608
+ type: import("../types/rule.js").MatcherType.String;
2609
+ } | {
2610
+ path?: string | undefined;
2611
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2612
+ } | {
2613
+ path?: string | undefined;
2614
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2615
+ } | {
2616
+ match: ({
2617
+ type: import("../types/rule.js").MatcherType.String;
2618
+ } | {
2619
+ path?: string | undefined;
2620
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2621
+ } | {
2622
+ path?: string | undefined;
2623
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2624
+ })[];
2625
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
2626
+ })[] | undefined;
2627
+ name?: string | undefined;
2628
+ path: string;
2629
+ } | {
2630
+ kind: import("../types/rule.js").SelectorKind.Attribute;
2631
+ match?: ({
2632
+ type: import("../types/rule.js").MatcherType.String;
2633
+ } | {
2634
+ path?: string | undefined;
2635
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2636
+ } | {
2637
+ path?: string | undefined;
2638
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2639
+ } | {
2640
+ match: ({
2641
+ type: import("../types/rule.js").MatcherType.String;
2642
+ } | {
2643
+ path?: string | undefined;
2644
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2645
+ } | {
2646
+ path?: string | undefined;
2647
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2648
+ })[];
2649
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
2650
+ })[] | undefined;
2651
+ name: string;
2652
+ } | {
2653
+ kind: import("../types/rule.js").SelectorKind.Variable;
2654
+ match?: ({
2655
+ type: import("../types/rule.js").MatcherType.String;
2656
+ } | {
2657
+ path?: string | undefined;
2658
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2659
+ } | {
2660
+ path?: string | undefined;
2661
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2662
+ } | {
2663
+ match: ({
2664
+ type: import("../types/rule.js").MatcherType.String;
2665
+ } | {
2666
+ path?: string | undefined;
2667
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2668
+ } | {
2669
+ path?: string | undefined;
2670
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2671
+ })[];
2672
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
2673
+ })[] | undefined;
2674
+ name: string;
2675
+ })[];
2676
+ } & {
2677
+ restrict: (string | {
2678
+ fix?: string | undefined;
2679
+ message?: string | undefined;
2680
+ pattern: string;
2681
+ })[];
2682
+ };
2683
+ recommended: false;
2684
+ rule: {
2685
+ create: (ctx: import("eslint").Rule.RuleContext) => import("eslint").Rule.RuleListener;
2686
+ meta: {
2687
+ messages?: Record<string, string>;
2688
+ docs: {
2689
+ description: string;
2690
+ recommended: boolean;
2691
+ url: string;
2692
+ };
2693
+ fixable: "code" | undefined;
2694
+ schema: {
2695
+ additionalProperties: false;
2696
+ properties: Record<string, boolean | import("@valibot/to-json-schema").JsonSchema> | undefined;
2697
+ type: "object";
2698
+ }[];
2699
+ type: "problem" | "layout";
2700
+ };
2701
+ };
2702
+ }, {
2703
+ category: "stylistic";
2704
+ messages: {
2705
+ readonly unnecessary: "Unnecessary whitespace.";
2706
+ } | undefined;
2707
+ name: "no-unnecessary-whitespace";
2708
+ readonly options: {
2709
+ cwd?: string | undefined;
2710
+ rootFontSize?: number | undefined;
2711
+ detectComponentClasses: boolean;
2712
+ tsconfig?: string | undefined;
2713
+ tailwindConfig?: string | undefined;
2714
+ messageStyle: "visual" | "compact" | "raw";
2715
+ entryPoint?: string | undefined;
2716
+ tags?: (string | [string, ({
2717
+ match: import("../types/rule.js").MatcherType.String;
2718
+ } | {
2719
+ match: import("../types/rule.js").MatcherType.ObjectKey;
2720
+ pathPattern?: string | undefined;
2721
+ } | {
2722
+ match: import("../types/rule.js").MatcherType.ObjectValue;
2723
+ pathPattern?: string | undefined;
2724
+ })[]])[] | undefined;
2725
+ variables?: (string | [string, ({
2726
+ match: import("../types/rule.js").MatcherType.String;
2727
+ } | {
2728
+ match: import("../types/rule.js").MatcherType.ObjectKey;
2729
+ pathPattern?: string | undefined;
2730
+ } | {
2731
+ match: import("../types/rule.js").MatcherType.ObjectValue;
2732
+ pathPattern?: string | undefined;
2733
+ })[]])[] | undefined;
2734
+ attributes?: (string | [string, ({
2735
+ match: import("../types/rule.js").MatcherType.String;
2736
+ } | {
2737
+ match: import("../types/rule.js").MatcherType.ObjectKey;
2738
+ pathPattern?: string | undefined;
2739
+ } | {
2740
+ match: import("../types/rule.js").MatcherType.ObjectValue;
2741
+ pathPattern?: string | undefined;
2742
+ })[]])[] | undefined;
2743
+ callees?: (string | [string, ({
2744
+ match: import("../types/rule.js").MatcherType.String;
2745
+ } | {
2746
+ match: import("../types/rule.js").MatcherType.ObjectKey;
2747
+ pathPattern?: string | undefined;
2748
+ } | {
2749
+ match: import("../types/rule.js").MatcherType.ObjectValue;
2750
+ pathPattern?: string | undefined;
2751
+ })[]])[] | undefined;
2752
+ selectors: ({
2753
+ callTarget?: number | "all" | "first" | "last" | undefined;
2754
+ kind: import("../types/rule.js").SelectorKind.Callee;
2755
+ match?: ({
2756
+ type: import("../types/rule.js").MatcherType.String;
2757
+ } | {
2758
+ path?: string | undefined;
2759
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2760
+ } | {
2761
+ path?: string | undefined;
2762
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2763
+ } | {
2764
+ match: ({
2765
+ type: import("../types/rule.js").MatcherType.String;
2766
+ } | {
2767
+ path?: string | undefined;
2768
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2769
+ } | {
2770
+ path?: string | undefined;
2771
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2772
+ })[];
2773
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
2774
+ })[] | undefined;
2775
+ name: string;
2776
+ path?: string | undefined;
2777
+ targetArgument?: number | "all" | "first" | "last" | undefined;
2778
+ targetCall?: number | "all" | "first" | "last" | undefined;
2779
+ } | {
2780
+ callTarget?: number | "all" | "first" | "last" | undefined;
2781
+ kind: import("../types/rule.js").SelectorKind.Callee;
2782
+ match?: ({
2783
+ type: import("../types/rule.js").MatcherType.String;
2784
+ } | {
2785
+ path?: string | undefined;
2786
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2787
+ } | {
2788
+ path?: string | undefined;
2789
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2790
+ } | {
2791
+ match: ({
2792
+ type: import("../types/rule.js").MatcherType.String;
2793
+ } | {
2794
+ path?: string | undefined;
2795
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2796
+ } | {
2797
+ path?: string | undefined;
2798
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2799
+ })[];
2800
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
2801
+ })[] | undefined;
2802
+ name?: string | undefined;
2803
+ path: string;
2804
+ targetArgument?: number | "all" | "first" | "last" | undefined;
2805
+ targetCall?: number | "all" | "first" | "last" | undefined;
2806
+ } | {
2807
+ kind: import("../types/rule.js").SelectorKind.Tag;
2808
+ match?: ({
2809
+ type: import("../types/rule.js").MatcherType.String;
2810
+ } | {
2811
+ path?: string | undefined;
2812
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2813
+ } | {
2814
+ path?: string | undefined;
2815
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2816
+ } | {
2817
+ match: ({
2818
+ type: import("../types/rule.js").MatcherType.String;
2819
+ } | {
2820
+ path?: string | undefined;
2821
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2822
+ } | {
2823
+ path?: string | undefined;
2824
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2825
+ })[];
2826
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
2827
+ })[] | undefined;
2828
+ name: string;
2829
+ path?: string | undefined;
2830
+ } | {
2831
+ kind: import("../types/rule.js").SelectorKind.Tag;
2832
+ match?: ({
2833
+ type: import("../types/rule.js").MatcherType.String;
2834
+ } | {
2835
+ path?: string | undefined;
2836
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2837
+ } | {
2838
+ path?: string | undefined;
2839
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2840
+ } | {
2841
+ match: ({
2842
+ type: import("../types/rule.js").MatcherType.String;
2843
+ } | {
2844
+ path?: string | undefined;
2845
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2846
+ } | {
2847
+ path?: string | undefined;
2848
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2849
+ })[];
2850
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
2851
+ })[] | undefined;
2852
+ name?: string | undefined;
2853
+ path: string;
2854
+ } | {
2855
+ kind: import("../types/rule.js").SelectorKind.Attribute;
2856
+ match?: ({
2857
+ type: import("../types/rule.js").MatcherType.String;
2858
+ } | {
2859
+ path?: string | undefined;
2860
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2861
+ } | {
2862
+ path?: string | undefined;
2863
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2864
+ } | {
2865
+ match: ({
2866
+ type: import("../types/rule.js").MatcherType.String;
2867
+ } | {
2868
+ path?: string | undefined;
2869
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2870
+ } | {
2871
+ path?: string | undefined;
2872
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2873
+ })[];
2874
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
2875
+ })[] | undefined;
2876
+ name: string;
2877
+ } | {
2878
+ kind: import("../types/rule.js").SelectorKind.Variable;
2879
+ match?: ({
2880
+ type: import("../types/rule.js").MatcherType.String;
2881
+ } | {
2882
+ path?: string | undefined;
2883
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2884
+ } | {
2885
+ path?: string | undefined;
2886
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2887
+ } | {
2888
+ match: ({
2889
+ type: import("../types/rule.js").MatcherType.String;
2890
+ } | {
2891
+ path?: string | undefined;
2892
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2893
+ } | {
2894
+ path?: string | undefined;
2895
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2896
+ })[];
2897
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
2898
+ })[] | undefined;
2899
+ name: string;
2900
+ })[];
2901
+ } & {
2902
+ allowMultiline: boolean;
2903
+ };
2904
+ recommended: true;
2905
+ rule: {
2906
+ create: (ctx: import("eslint").Rule.RuleContext) => import("eslint").Rule.RuleListener;
2907
+ meta: {
2908
+ messages?: {
2909
+ readonly unnecessary: "Unnecessary whitespace.";
2910
+ };
2911
+ docs: {
2912
+ description: string;
2913
+ recommended: boolean;
2914
+ url: string;
2915
+ };
2916
+ fixable: "code" | undefined;
2917
+ schema: {
2918
+ additionalProperties: false;
2919
+ properties: Record<string, boolean | import("@valibot/to-json-schema").JsonSchema> | undefined;
2920
+ type: "object";
2921
+ }[];
2922
+ type: "problem" | "layout";
2923
+ };
2924
+ };
2925
+ }, {
2926
+ category: "correctness";
2927
+ messages: {
2928
+ readonly unknown: "Unknown class detected: {{ className }}";
2929
+ } | undefined;
2930
+ name: "no-unknown-classes";
2931
+ readonly options: {
2932
+ cwd?: string | undefined;
2933
+ rootFontSize?: number | undefined;
2934
+ detectComponentClasses: boolean;
2935
+ tsconfig?: string | undefined;
2936
+ tailwindConfig?: string | undefined;
2937
+ messageStyle: "visual" | "compact" | "raw";
2938
+ entryPoint?: string | undefined;
2939
+ tags?: (string | [string, ({
2940
+ match: import("../types/rule.js").MatcherType.String;
2941
+ } | {
2942
+ match: import("../types/rule.js").MatcherType.ObjectKey;
2943
+ pathPattern?: string | undefined;
2944
+ } | {
2945
+ match: import("../types/rule.js").MatcherType.ObjectValue;
2946
+ pathPattern?: string | undefined;
2947
+ })[]])[] | undefined;
2948
+ variables?: (string | [string, ({
2949
+ match: import("../types/rule.js").MatcherType.String;
2950
+ } | {
2951
+ match: import("../types/rule.js").MatcherType.ObjectKey;
2952
+ pathPattern?: string | undefined;
2953
+ } | {
2954
+ match: import("../types/rule.js").MatcherType.ObjectValue;
2955
+ pathPattern?: string | undefined;
2956
+ })[]])[] | undefined;
2957
+ attributes?: (string | [string, ({
2958
+ match: import("../types/rule.js").MatcherType.String;
2959
+ } | {
2960
+ match: import("../types/rule.js").MatcherType.ObjectKey;
2961
+ pathPattern?: string | undefined;
2962
+ } | {
2963
+ match: import("../types/rule.js").MatcherType.ObjectValue;
2964
+ pathPattern?: string | undefined;
2965
+ })[]])[] | undefined;
2966
+ callees?: (string | [string, ({
2967
+ match: import("../types/rule.js").MatcherType.String;
2968
+ } | {
2969
+ match: import("../types/rule.js").MatcherType.ObjectKey;
2970
+ pathPattern?: string | undefined;
2971
+ } | {
2972
+ match: import("../types/rule.js").MatcherType.ObjectValue;
2973
+ pathPattern?: string | undefined;
2974
+ })[]])[] | undefined;
2975
+ selectors: ({
2976
+ callTarget?: number | "all" | "first" | "last" | undefined;
2977
+ kind: import("../types/rule.js").SelectorKind.Callee;
2978
+ match?: ({
2979
+ type: import("../types/rule.js").MatcherType.String;
2980
+ } | {
2981
+ path?: string | undefined;
2982
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2983
+ } | {
2984
+ path?: string | undefined;
2985
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2986
+ } | {
2987
+ match: ({
2988
+ type: import("../types/rule.js").MatcherType.String;
2989
+ } | {
2990
+ path?: string | undefined;
2991
+ type: import("../types/rule.js").MatcherType.ObjectKey;
2992
+ } | {
2993
+ path?: string | undefined;
2994
+ type: import("../types/rule.js").MatcherType.ObjectValue;
2995
+ })[];
2996
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
2997
+ })[] | undefined;
2998
+ name: string;
2999
+ path?: string | undefined;
3000
+ targetArgument?: number | "all" | "first" | "last" | undefined;
3001
+ targetCall?: number | "all" | "first" | "last" | undefined;
3002
+ } | {
3003
+ callTarget?: number | "all" | "first" | "last" | undefined;
3004
+ kind: import("../types/rule.js").SelectorKind.Callee;
3005
+ match?: ({
3006
+ type: import("../types/rule.js").MatcherType.String;
3007
+ } | {
3008
+ path?: string | undefined;
3009
+ type: import("../types/rule.js").MatcherType.ObjectKey;
3010
+ } | {
3011
+ path?: string | undefined;
3012
+ type: import("../types/rule.js").MatcherType.ObjectValue;
3013
+ } | {
3014
+ match: ({
3015
+ type: import("../types/rule.js").MatcherType.String;
3016
+ } | {
3017
+ path?: string | undefined;
3018
+ type: import("../types/rule.js").MatcherType.ObjectKey;
3019
+ } | {
3020
+ path?: string | undefined;
3021
+ type: import("../types/rule.js").MatcherType.ObjectValue;
3022
+ })[];
3023
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
3024
+ })[] | undefined;
3025
+ name?: string | undefined;
3026
+ path: string;
3027
+ targetArgument?: number | "all" | "first" | "last" | undefined;
3028
+ targetCall?: number | "all" | "first" | "last" | undefined;
3029
+ } | {
3030
+ kind: import("../types/rule.js").SelectorKind.Tag;
3031
+ match?: ({
3032
+ type: import("../types/rule.js").MatcherType.String;
3033
+ } | {
3034
+ path?: string | undefined;
3035
+ type: import("../types/rule.js").MatcherType.ObjectKey;
3036
+ } | {
3037
+ path?: string | undefined;
3038
+ type: import("../types/rule.js").MatcherType.ObjectValue;
3039
+ } | {
3040
+ match: ({
3041
+ type: import("../types/rule.js").MatcherType.String;
3042
+ } | {
3043
+ path?: string | undefined;
3044
+ type: import("../types/rule.js").MatcherType.ObjectKey;
3045
+ } | {
3046
+ path?: string | undefined;
3047
+ type: import("../types/rule.js").MatcherType.ObjectValue;
3048
+ })[];
3049
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
3050
+ })[] | undefined;
3051
+ name: string;
3052
+ path?: string | undefined;
3053
+ } | {
3054
+ kind: import("../types/rule.js").SelectorKind.Tag;
3055
+ match?: ({
3056
+ type: import("../types/rule.js").MatcherType.String;
3057
+ } | {
3058
+ path?: string | undefined;
3059
+ type: import("../types/rule.js").MatcherType.ObjectKey;
3060
+ } | {
3061
+ path?: string | undefined;
3062
+ type: import("../types/rule.js").MatcherType.ObjectValue;
3063
+ } | {
3064
+ match: ({
3065
+ type: import("../types/rule.js").MatcherType.String;
3066
+ } | {
3067
+ path?: string | undefined;
3068
+ type: import("../types/rule.js").MatcherType.ObjectKey;
3069
+ } | {
3070
+ path?: string | undefined;
3071
+ type: import("../types/rule.js").MatcherType.ObjectValue;
3072
+ })[];
3073
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
3074
+ })[] | undefined;
3075
+ name?: string | undefined;
3076
+ path: string;
3077
+ } | {
3078
+ kind: import("../types/rule.js").SelectorKind.Attribute;
3079
+ match?: ({
3080
+ type: import("../types/rule.js").MatcherType.String;
3081
+ } | {
3082
+ path?: string | undefined;
3083
+ type: import("../types/rule.js").MatcherType.ObjectKey;
3084
+ } | {
3085
+ path?: string | undefined;
3086
+ type: import("../types/rule.js").MatcherType.ObjectValue;
3087
+ } | {
3088
+ match: ({
3089
+ type: import("../types/rule.js").MatcherType.String;
3090
+ } | {
3091
+ path?: string | undefined;
3092
+ type: import("../types/rule.js").MatcherType.ObjectKey;
3093
+ } | {
3094
+ path?: string | undefined;
3095
+ type: import("../types/rule.js").MatcherType.ObjectValue;
3096
+ })[];
3097
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
3098
+ })[] | undefined;
3099
+ name: string;
3100
+ } | {
3101
+ kind: import("../types/rule.js").SelectorKind.Variable;
3102
+ match?: ({
3103
+ type: import("../types/rule.js").MatcherType.String;
3104
+ } | {
3105
+ path?: string | undefined;
3106
+ type: import("../types/rule.js").MatcherType.ObjectKey;
3107
+ } | {
3108
+ path?: string | undefined;
3109
+ type: import("../types/rule.js").MatcherType.ObjectValue;
3110
+ } | {
3111
+ match: ({
3112
+ type: import("../types/rule.js").MatcherType.String;
3113
+ } | {
3114
+ path?: string | undefined;
3115
+ type: import("../types/rule.js").MatcherType.ObjectKey;
3116
+ } | {
3117
+ path?: string | undefined;
3118
+ type: import("../types/rule.js").MatcherType.ObjectValue;
3119
+ })[];
3120
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
3121
+ })[] | undefined;
3122
+ name: string;
3123
+ })[];
3124
+ } & {
3125
+ ignore: string[];
3126
+ };
3127
+ recommended: true;
3128
+ rule: {
3129
+ create: (ctx: import("eslint").Rule.RuleContext) => import("eslint").Rule.RuleListener;
3130
+ meta: {
3131
+ messages?: {
3132
+ readonly unknown: "Unknown class detected: {{ className }}";
3133
+ };
3134
+ docs: {
3135
+ description: string;
3136
+ recommended: boolean;
3137
+ url: string;
3138
+ };
3139
+ fixable: "code" | undefined;
3140
+ schema: {
3141
+ additionalProperties: false;
3142
+ properties: Record<string, boolean | import("@valibot/to-json-schema").JsonSchema> | undefined;
3143
+ type: "object";
3144
+ }[];
3145
+ type: "problem" | "layout";
3146
+ };
3147
+ };
3148
+ }, {
3149
+ category: "stylistic";
3150
+ messages: {
3151
+ readonly multiple: "The classes: \"{{ classNames }}\" can be simplified to \"{{canonicalClass}}\".";
3152
+ readonly single: "The class: \"{{ className }}\" can be simplified to \"{{canonicalClass}}\".";
3153
+ } | undefined;
3154
+ name: "enforce-canonical-classes";
3155
+ readonly options: {
3156
+ cwd?: string | undefined;
3157
+ rootFontSize?: number | undefined;
3158
+ detectComponentClasses: boolean;
3159
+ tsconfig?: string | undefined;
3160
+ tailwindConfig?: string | undefined;
3161
+ messageStyle: "visual" | "compact" | "raw";
3162
+ entryPoint?: string | undefined;
3163
+ tags?: (string | [string, ({
3164
+ match: import("../types/rule.js").MatcherType.String;
3165
+ } | {
3166
+ match: import("../types/rule.js").MatcherType.ObjectKey;
3167
+ pathPattern?: string | undefined;
3168
+ } | {
3169
+ match: import("../types/rule.js").MatcherType.ObjectValue;
3170
+ pathPattern?: string | undefined;
3171
+ })[]])[] | undefined;
3172
+ variables?: (string | [string, ({
3173
+ match: import("../types/rule.js").MatcherType.String;
3174
+ } | {
3175
+ match: import("../types/rule.js").MatcherType.ObjectKey;
3176
+ pathPattern?: string | undefined;
3177
+ } | {
3178
+ match: import("../types/rule.js").MatcherType.ObjectValue;
3179
+ pathPattern?: string | undefined;
3180
+ })[]])[] | undefined;
3181
+ attributes?: (string | [string, ({
3182
+ match: import("../types/rule.js").MatcherType.String;
3183
+ } | {
3184
+ match: import("../types/rule.js").MatcherType.ObjectKey;
3185
+ pathPattern?: string | undefined;
3186
+ } | {
3187
+ match: import("../types/rule.js").MatcherType.ObjectValue;
3188
+ pathPattern?: string | undefined;
3189
+ })[]])[] | undefined;
3190
+ callees?: (string | [string, ({
3191
+ match: import("../types/rule.js").MatcherType.String;
3192
+ } | {
3193
+ match: import("../types/rule.js").MatcherType.ObjectKey;
3194
+ pathPattern?: string | undefined;
3195
+ } | {
3196
+ match: import("../types/rule.js").MatcherType.ObjectValue;
3197
+ pathPattern?: string | undefined;
3198
+ })[]])[] | undefined;
3199
+ selectors: ({
3200
+ callTarget?: number | "all" | "first" | "last" | undefined;
3201
+ kind: import("../types/rule.js").SelectorKind.Callee;
3202
+ match?: ({
3203
+ type: import("../types/rule.js").MatcherType.String;
3204
+ } | {
3205
+ path?: string | undefined;
3206
+ type: import("../types/rule.js").MatcherType.ObjectKey;
3207
+ } | {
3208
+ path?: string | undefined;
3209
+ type: import("../types/rule.js").MatcherType.ObjectValue;
3210
+ } | {
3211
+ match: ({
3212
+ type: import("../types/rule.js").MatcherType.String;
3213
+ } | {
3214
+ path?: string | undefined;
3215
+ type: import("../types/rule.js").MatcherType.ObjectKey;
3216
+ } | {
3217
+ path?: string | undefined;
3218
+ type: import("../types/rule.js").MatcherType.ObjectValue;
3219
+ })[];
3220
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
3221
+ })[] | undefined;
3222
+ name: string;
3223
+ path?: string | undefined;
3224
+ targetArgument?: number | "all" | "first" | "last" | undefined;
3225
+ targetCall?: number | "all" | "first" | "last" | undefined;
3226
+ } | {
3227
+ callTarget?: number | "all" | "first" | "last" | undefined;
3228
+ kind: import("../types/rule.js").SelectorKind.Callee;
3229
+ match?: ({
3230
+ type: import("../types/rule.js").MatcherType.String;
3231
+ } | {
3232
+ path?: string | undefined;
3233
+ type: import("../types/rule.js").MatcherType.ObjectKey;
3234
+ } | {
3235
+ path?: string | undefined;
3236
+ type: import("../types/rule.js").MatcherType.ObjectValue;
3237
+ } | {
3238
+ match: ({
3239
+ type: import("../types/rule.js").MatcherType.String;
3240
+ } | {
3241
+ path?: string | undefined;
3242
+ type: import("../types/rule.js").MatcherType.ObjectKey;
3243
+ } | {
3244
+ path?: string | undefined;
3245
+ type: import("../types/rule.js").MatcherType.ObjectValue;
3246
+ })[];
3247
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
3248
+ })[] | undefined;
3249
+ name?: string | undefined;
3250
+ path: string;
3251
+ targetArgument?: number | "all" | "first" | "last" | undefined;
3252
+ targetCall?: number | "all" | "first" | "last" | undefined;
3253
+ } | {
3254
+ kind: import("../types/rule.js").SelectorKind.Tag;
3255
+ match?: ({
3256
+ type: import("../types/rule.js").MatcherType.String;
3257
+ } | {
3258
+ path?: string | undefined;
3259
+ type: import("../types/rule.js").MatcherType.ObjectKey;
3260
+ } | {
3261
+ path?: string | undefined;
3262
+ type: import("../types/rule.js").MatcherType.ObjectValue;
3263
+ } | {
3264
+ match: ({
3265
+ type: import("../types/rule.js").MatcherType.String;
3266
+ } | {
3267
+ path?: string | undefined;
3268
+ type: import("../types/rule.js").MatcherType.ObjectKey;
3269
+ } | {
3270
+ path?: string | undefined;
3271
+ type: import("../types/rule.js").MatcherType.ObjectValue;
3272
+ })[];
3273
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
3274
+ })[] | undefined;
3275
+ name: string;
3276
+ path?: string | undefined;
3277
+ } | {
3278
+ kind: import("../types/rule.js").SelectorKind.Tag;
3279
+ match?: ({
3280
+ type: import("../types/rule.js").MatcherType.String;
3281
+ } | {
3282
+ path?: string | undefined;
3283
+ type: import("../types/rule.js").MatcherType.ObjectKey;
3284
+ } | {
3285
+ path?: string | undefined;
3286
+ type: import("../types/rule.js").MatcherType.ObjectValue;
3287
+ } | {
3288
+ match: ({
3289
+ type: import("../types/rule.js").MatcherType.String;
3290
+ } | {
3291
+ path?: string | undefined;
3292
+ type: import("../types/rule.js").MatcherType.ObjectKey;
3293
+ } | {
3294
+ path?: string | undefined;
3295
+ type: import("../types/rule.js").MatcherType.ObjectValue;
3296
+ })[];
3297
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
3298
+ })[] | undefined;
3299
+ name?: string | undefined;
3300
+ path: string;
3301
+ } | {
3302
+ kind: import("../types/rule.js").SelectorKind.Attribute;
3303
+ match?: ({
3304
+ type: import("../types/rule.js").MatcherType.String;
3305
+ } | {
3306
+ path?: string | undefined;
3307
+ type: import("../types/rule.js").MatcherType.ObjectKey;
3308
+ } | {
3309
+ path?: string | undefined;
3310
+ type: import("../types/rule.js").MatcherType.ObjectValue;
3311
+ } | {
3312
+ match: ({
3313
+ type: import("../types/rule.js").MatcherType.String;
3314
+ } | {
3315
+ path?: string | undefined;
3316
+ type: import("../types/rule.js").MatcherType.ObjectKey;
3317
+ } | {
3318
+ path?: string | undefined;
3319
+ type: import("../types/rule.js").MatcherType.ObjectValue;
3320
+ })[];
3321
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
3322
+ })[] | undefined;
3323
+ name: string;
3324
+ } | {
3325
+ kind: import("../types/rule.js").SelectorKind.Variable;
3326
+ match?: ({
3327
+ type: import("../types/rule.js").MatcherType.String;
3328
+ } | {
3329
+ path?: string | undefined;
3330
+ type: import("../types/rule.js").MatcherType.ObjectKey;
3331
+ } | {
3332
+ path?: string | undefined;
3333
+ type: import("../types/rule.js").MatcherType.ObjectValue;
3334
+ } | {
3335
+ match: ({
3336
+ type: import("../types/rule.js").MatcherType.String;
3337
+ } | {
3338
+ path?: string | undefined;
3339
+ type: import("../types/rule.js").MatcherType.ObjectKey;
3340
+ } | {
3341
+ path?: string | undefined;
3342
+ type: import("../types/rule.js").MatcherType.ObjectValue;
3343
+ })[];
3344
+ type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
3345
+ })[] | undefined;
3346
+ name: string;
3347
+ })[];
3348
+ } & {
3349
+ collapse: boolean;
3350
+ ignore: string[];
3351
+ logical: boolean;
3352
+ };
3353
+ recommended: true;
3354
+ rule: {
3355
+ create: (ctx: import("eslint").Rule.RuleContext) => import("eslint").Rule.RuleListener;
3356
+ meta: {
3357
+ messages?: {
3358
+ readonly multiple: "The classes: \"{{ classNames }}\" can be simplified to \"{{canonicalClass}}\".";
3359
+ readonly single: "The class: \"{{ className }}\" can be simplified to \"{{canonicalClass}}\".";
3360
+ };
3361
+ docs: {
3362
+ description: string;
3363
+ recommended: boolean;
3364
+ url: string;
3365
+ };
3366
+ fixable: "code" | undefined;
3367
+ schema: {
3368
+ additionalProperties: false;
3369
+ properties: Record<string, boolean | import("@valibot/to-json-schema").JsonSchema> | undefined;
3370
+ type: "object";
3371
+ }[];
3372
+ type: "problem" | "layout";
3373
+ };
3374
+ };
3375
+ }];
3376
+ declare const config: {
3377
+ configs: {
3378
+ "legacy-recommended": {
3379
+ plugins: "better-tailwindcss"[];
3380
+ rules: Record<"better-tailwindcss/enforce-canonical-classes" | "better-tailwindcss/enforce-consistent-class-order" | "better-tailwindcss/enforce-consistent-line-wrapping" | "better-tailwindcss/no-deprecated-classes" | "better-tailwindcss/no-duplicate-classes" | "better-tailwindcss/no-unnecessary-whitespace" | "better-tailwindcss/no-concatenated-classes" | "better-tailwindcss/no-conflicting-classes" | "better-tailwindcss/no-unknown-classes", Severity>;
3381
+ };
3382
+ "legacy-recommended-error": {
3383
+ plugins: "better-tailwindcss"[];
3384
+ rules: Record<"better-tailwindcss/enforce-canonical-classes" | "better-tailwindcss/enforce-consistent-class-order" | "better-tailwindcss/enforce-consistent-line-wrapping" | "better-tailwindcss/no-deprecated-classes" | "better-tailwindcss/no-duplicate-classes" | "better-tailwindcss/no-unnecessary-whitespace" | "better-tailwindcss/no-concatenated-classes" | "better-tailwindcss/no-conflicting-classes" | "better-tailwindcss/no-unknown-classes", "error">;
3385
+ };
3386
+ "legacy-recommended-warn": {
3387
+ plugins: "better-tailwindcss"[];
3388
+ rules: Record<"better-tailwindcss/enforce-canonical-classes" | "better-tailwindcss/enforce-consistent-class-order" | "better-tailwindcss/enforce-consistent-line-wrapping" | "better-tailwindcss/no-deprecated-classes" | "better-tailwindcss/no-duplicate-classes" | "better-tailwindcss/no-unnecessary-whitespace" | "better-tailwindcss/no-concatenated-classes" | "better-tailwindcss/no-conflicting-classes" | "better-tailwindcss/no-unknown-classes", "warn">;
3389
+ };
3390
+ recommended: {
3391
+ plugins: {
3392
+ "better-tailwindcss": {
3393
+ readonly meta: {
3394
+ readonly name: "better-tailwindcss";
3395
+ };
3396
+ readonly rules: RuleObject;
3397
+ };
3398
+ };
3399
+ rules: Record<"better-tailwindcss/enforce-canonical-classes" | "better-tailwindcss/enforce-consistent-class-order" | "better-tailwindcss/enforce-consistent-line-wrapping" | "better-tailwindcss/no-deprecated-classes" | "better-tailwindcss/no-duplicate-classes" | "better-tailwindcss/no-unnecessary-whitespace" | "better-tailwindcss/no-concatenated-classes" | "better-tailwindcss/no-conflicting-classes" | "better-tailwindcss/no-unknown-classes", Severity>;
3400
+ };
3401
+ "recommended-error": {
3402
+ plugins: {
3403
+ "better-tailwindcss": {
3404
+ readonly meta: {
3405
+ readonly name: "better-tailwindcss";
3406
+ };
3407
+ readonly rules: RuleObject;
3408
+ };
3409
+ };
3410
+ rules: Record<"better-tailwindcss/enforce-canonical-classes" | "better-tailwindcss/enforce-consistent-class-order" | "better-tailwindcss/enforce-consistent-line-wrapping" | "better-tailwindcss/no-deprecated-classes" | "better-tailwindcss/no-duplicate-classes" | "better-tailwindcss/no-unnecessary-whitespace" | "better-tailwindcss/no-concatenated-classes" | "better-tailwindcss/no-conflicting-classes" | "better-tailwindcss/no-unknown-classes", "error">;
3411
+ };
3412
+ "recommended-warn": {
3413
+ plugins: {
3414
+ "better-tailwindcss": {
3415
+ readonly meta: {
3416
+ readonly name: "better-tailwindcss";
3417
+ };
3418
+ readonly rules: RuleObject;
3419
+ };
3420
+ };
3421
+ rules: Record<"better-tailwindcss/enforce-canonical-classes" | "better-tailwindcss/enforce-consistent-class-order" | "better-tailwindcss/enforce-consistent-line-wrapping" | "better-tailwindcss/no-deprecated-classes" | "better-tailwindcss/no-duplicate-classes" | "better-tailwindcss/no-unnecessary-whitespace" | "better-tailwindcss/no-concatenated-classes" | "better-tailwindcss/no-conflicting-classes" | "better-tailwindcss/no-unknown-classes", "warn">;
3422
+ };
3423
+ "legacy-correctness": {
3424
+ plugins: "better-tailwindcss"[];
3425
+ rules: Record<"better-tailwindcss/no-concatenated-classes" | "better-tailwindcss/no-conflicting-classes" | "better-tailwindcss/no-unknown-classes", Severity>;
3426
+ };
3427
+ "legacy-correctness-error": {
3428
+ plugins: "better-tailwindcss"[];
3429
+ rules: Record<"better-tailwindcss/no-concatenated-classes" | "better-tailwindcss/no-conflicting-classes" | "better-tailwindcss/no-unknown-classes", "error">;
3430
+ };
3431
+ "legacy-correctness-warn": {
3432
+ plugins: "better-tailwindcss"[];
3433
+ rules: Record<"better-tailwindcss/no-concatenated-classes" | "better-tailwindcss/no-conflicting-classes" | "better-tailwindcss/no-unknown-classes", "warn">;
3434
+ };
3435
+ correctness: {
3436
+ plugins: {
3437
+ "better-tailwindcss": {
3438
+ readonly meta: {
3439
+ readonly name: "better-tailwindcss";
3440
+ };
3441
+ readonly rules: RuleObject;
3442
+ };
3443
+ };
3444
+ rules: Record<"better-tailwindcss/no-concatenated-classes" | "better-tailwindcss/no-conflicting-classes" | "better-tailwindcss/no-unknown-classes", Severity>;
3445
+ };
3446
+ "correctness-error": {
3447
+ plugins: {
3448
+ "better-tailwindcss": {
3449
+ readonly meta: {
3450
+ readonly name: "better-tailwindcss";
3451
+ };
3452
+ readonly rules: RuleObject;
3453
+ };
3454
+ };
3455
+ rules: Record<"better-tailwindcss/no-concatenated-classes" | "better-tailwindcss/no-conflicting-classes" | "better-tailwindcss/no-unknown-classes", "error">;
3456
+ };
3457
+ "correctness-warn": {
3458
+ plugins: {
3459
+ "better-tailwindcss": {
3460
+ readonly meta: {
3461
+ readonly name: "better-tailwindcss";
3462
+ };
3463
+ readonly rules: RuleObject;
3464
+ };
3465
+ };
3466
+ rules: Record<"better-tailwindcss/no-concatenated-classes" | "better-tailwindcss/no-conflicting-classes" | "better-tailwindcss/no-unknown-classes", "warn">;
3467
+ };
3468
+ "legacy-stylistic": {
3469
+ plugins: "better-tailwindcss"[];
3470
+ rules: Record<"better-tailwindcss/enforce-canonical-classes" | "better-tailwindcss/enforce-consistent-class-order" | "better-tailwindcss/enforce-consistent-line-wrapping" | "better-tailwindcss/no-deprecated-classes" | "better-tailwindcss/no-duplicate-classes" | "better-tailwindcss/no-unnecessary-whitespace", Severity>;
3471
+ };
3472
+ "legacy-stylistic-error": {
3473
+ plugins: "better-tailwindcss"[];
3474
+ rules: Record<"better-tailwindcss/enforce-canonical-classes" | "better-tailwindcss/enforce-consistent-class-order" | "better-tailwindcss/enforce-consistent-line-wrapping" | "better-tailwindcss/no-deprecated-classes" | "better-tailwindcss/no-duplicate-classes" | "better-tailwindcss/no-unnecessary-whitespace", "error">;
3475
+ };
3476
+ "legacy-stylistic-warn": {
3477
+ plugins: "better-tailwindcss"[];
3478
+ rules: Record<"better-tailwindcss/enforce-canonical-classes" | "better-tailwindcss/enforce-consistent-class-order" | "better-tailwindcss/enforce-consistent-line-wrapping" | "better-tailwindcss/no-deprecated-classes" | "better-tailwindcss/no-duplicate-classes" | "better-tailwindcss/no-unnecessary-whitespace", "warn">;
3479
+ };
3480
+ stylistic: {
3481
+ plugins: {
3482
+ "better-tailwindcss": {
3483
+ readonly meta: {
3484
+ readonly name: "better-tailwindcss";
3485
+ };
3486
+ readonly rules: RuleObject;
3487
+ };
3488
+ };
3489
+ rules: Record<"better-tailwindcss/enforce-canonical-classes" | "better-tailwindcss/enforce-consistent-class-order" | "better-tailwindcss/enforce-consistent-line-wrapping" | "better-tailwindcss/no-deprecated-classes" | "better-tailwindcss/no-duplicate-classes" | "better-tailwindcss/no-unnecessary-whitespace", Severity>;
3490
+ };
3491
+ "stylistic-error": {
3492
+ plugins: {
3493
+ "better-tailwindcss": {
3494
+ readonly meta: {
3495
+ readonly name: "better-tailwindcss";
3496
+ };
3497
+ readonly rules: RuleObject;
3498
+ };
3499
+ };
3500
+ rules: Record<"better-tailwindcss/enforce-canonical-classes" | "better-tailwindcss/enforce-consistent-class-order" | "better-tailwindcss/enforce-consistent-line-wrapping" | "better-tailwindcss/no-deprecated-classes" | "better-tailwindcss/no-duplicate-classes" | "better-tailwindcss/no-unnecessary-whitespace", "error">;
3501
+ };
3502
+ "stylistic-warn": {
3503
+ plugins: {
3504
+ "better-tailwindcss": {
3505
+ readonly meta: {
3506
+ readonly name: "better-tailwindcss";
3507
+ };
3508
+ readonly rules: RuleObject;
3509
+ };
3510
+ };
3511
+ rules: Record<"better-tailwindcss/enforce-canonical-classes" | "better-tailwindcss/enforce-consistent-class-order" | "better-tailwindcss/enforce-consistent-line-wrapping" | "better-tailwindcss/no-deprecated-classes" | "better-tailwindcss/no-duplicate-classes" | "better-tailwindcss/no-unnecessary-whitespace", "warn">;
3512
+ };
3513
+ };
3514
+ meta: {
3515
+ readonly name: "better-tailwindcss";
3516
+ };
3517
+ rules: RuleObject;
3518
+ };
3519
+ export default config;
3520
+ export { config as "module.exports" };
3521
+ //# sourceMappingURL=config.d.ts.map