@eslinted/defaults 14.0.0-rc.0 → 14.0.0

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 (305) hide show
  1. package/dist/_scope/index.d.ts +1 -1
  2. package/dist/_scope/index.d.ts.map +1 -1
  3. package/dist/_scope/index.js +16 -4
  4. package/dist/_scope/index.js.map +1 -1
  5. package/dist/files/index.d.ts +1 -1
  6. package/dist/files/index.d.ts.map +1 -1
  7. package/dist/files/index.js +32 -20
  8. package/dist/files/index.js.map +1 -1
  9. package/dist/{files/css.d.ts → ignores/global.d.ts} +1 -1
  10. package/dist/ignores/global.d.ts.map +1 -0
  11. package/dist/ignores/global.js +21 -0
  12. package/dist/ignores/global.js.map +1 -0
  13. package/dist/ignores/index.d.ts.map +1 -1
  14. package/dist/ignores/index.js +15 -40
  15. package/dist/ignores/index.js.map +1 -1
  16. package/dist/index.d.ts +1332 -858
  17. package/dist/rules/base.d.ts +740 -406
  18. package/dist/rules/base.eslint.d.ts +305 -211
  19. package/dist/rules/base.eslint.d.ts.map +1 -1
  20. package/dist/rules/base.eslint.js +161 -162
  21. package/dist/rules/base.eslint.js.map +1 -1
  22. package/dist/rules/base.stylistic.d.ts +438 -196
  23. package/dist/rules/base.stylistic.d.ts.map +1 -1
  24. package/dist/rules/base.stylistic.js +109 -110
  25. package/dist/rules/base.stylistic.js.map +1 -1
  26. package/dist/rules/css/enable.d.ts +14 -13
  27. package/dist/rules/css/enable.d.ts.map +1 -1
  28. package/dist/rules/css/enable.js +13 -14
  29. package/dist/rules/css/enable.js.map +1 -1
  30. package/dist/rules/css/index.d.ts +13 -13
  31. package/dist/rules/html/enable.d.ts +74 -54
  32. package/dist/rules/html/enable.d.ts.map +1 -1
  33. package/dist/rules/html/enable.js +48 -49
  34. package/dist/rules/html/enable.js.map +1 -1
  35. package/dist/rules/html/index.d.ts +73 -54
  36. package/dist/rules/index.d.ts +1331 -857
  37. package/dist/rules/json/enable.d.ts +7 -6
  38. package/dist/rules/json/enable.d.ts.map +1 -1
  39. package/dist/rules/json/enable.js +6 -7
  40. package/dist/rules/json/enable.js.map +1 -1
  41. package/dist/rules/json/index.d.ts +71 -56
  42. package/dist/rules/json/plugin/extension.d.ts +47 -31
  43. package/dist/rules/json/plugin/extension.d.ts.map +1 -1
  44. package/dist/rules/json/plugin/extension.js +23 -24
  45. package/dist/rules/json/plugin/extension.js.map +1 -1
  46. package/dist/rules/json/plugin/index.d.ts +22 -21
  47. package/dist/rules/json/plugin/index.d.ts.map +1 -1
  48. package/dist/rules/json/plugin/index.js +21 -22
  49. package/dist/rules/json/plugin/index.js.map +1 -1
  50. package/dist/rules/jsonc/index.d.ts +3 -3
  51. package/dist/rules/jsonc/index.js +1 -1
  52. package/dist/rules/jsonc/index.js.map +1 -1
  53. package/dist/rules/jsonc/override.d.ts +9 -0
  54. package/dist/rules/jsonc/override.d.ts.map +1 -0
  55. package/dist/rules/jsonc/override.js +7 -0
  56. package/dist/rules/jsonc/override.js.map +1 -0
  57. package/dist/rules/jsoncc/index.d.ts +6 -3
  58. package/dist/rules/jsoncc/index.js +1 -1
  59. package/dist/rules/jsoncc/index.js.map +1 -1
  60. package/dist/rules/jsoncc/override.d.ts +12 -0
  61. package/dist/rules/jsoncc/override.d.ts.map +1 -0
  62. package/dist/rules/jsoncc/override.js +10 -0
  63. package/dist/rules/jsoncc/override.js.map +1 -0
  64. package/dist/rules/mocha/chai/expect.d.ts +5 -4
  65. package/dist/rules/mocha/chai/expect.d.ts.map +1 -1
  66. package/dist/rules/mocha/chai/expect.js +5 -6
  67. package/dist/rules/mocha/chai/expect.js.map +1 -1
  68. package/dist/rules/mocha/chai/index.d.ts +9 -5
  69. package/dist/rules/mocha/chai/index.d.ts.map +1 -1
  70. package/dist/rules/mocha/chai/index.js +3 -4
  71. package/dist/rules/mocha/chai/index.js.map +1 -1
  72. package/dist/rules/mocha/disable.d.ts +5 -4
  73. package/dist/rules/mocha/disable.d.ts.map +1 -1
  74. package/dist/rules/mocha/disable.js +4 -5
  75. package/dist/rules/mocha/disable.js.map +1 -1
  76. package/dist/rules/mocha/enable.d.ts +19 -18
  77. package/dist/rules/mocha/enable.d.ts.map +1 -1
  78. package/dist/rules/mocha/enable.js +18 -19
  79. package/dist/rules/mocha/enable.js.map +1 -1
  80. package/dist/rules/mocha/index.d.ts +31 -28
  81. package/dist/rules/state.d.ts +6 -0
  82. package/dist/rules/state.d.ts.map +1 -0
  83. package/dist/rules/state.js +2 -0
  84. package/dist/rules/state.js.map +1 -0
  85. package/dist/rules/svelte/disable.d.ts +10 -9
  86. package/dist/rules/svelte/disable.d.ts.map +1 -1
  87. package/dist/rules/svelte/disable.js +9 -10
  88. package/dist/rules/svelte/disable.js.map +1 -1
  89. package/dist/rules/svelte/enable.d.ts +109 -83
  90. package/dist/rules/svelte/enable.d.ts.map +1 -1
  91. package/dist/rules/svelte/enable.js +71 -72
  92. package/dist/rules/svelte/enable.js.map +1 -1
  93. package/dist/rules/svelte/extension/disable.d.ts +6 -5
  94. package/dist/rules/svelte/extension/disable.d.ts.map +1 -1
  95. package/dist/rules/svelte/extension/disable.js +5 -6
  96. package/dist/rules/svelte/extension/disable.js.map +1 -1
  97. package/dist/rules/svelte/extension/index.d.ts +8 -4
  98. package/dist/rules/svelte/extension/index.d.ts.map +1 -1
  99. package/dist/rules/svelte/extension/index.js +5 -6
  100. package/dist/rules/svelte/extension/index.js.map +1 -1
  101. package/dist/rules/svelte/index.d.ts +126 -98
  102. package/dist/rules/ts/disable.d.ts +22 -21
  103. package/dist/rules/ts/disable.d.ts.map +1 -1
  104. package/dist/rules/ts/disable.js +21 -22
  105. package/dist/rules/ts/disable.js.map +1 -1
  106. package/dist/rules/ts/enable.d.ts +159 -122
  107. package/dist/rules/ts/enable.d.ts.map +1 -1
  108. package/dist/rules/ts/enable.js +88 -89
  109. package/dist/rules/ts/enable.js.map +1 -1
  110. package/dist/rules/ts/extension/disable.d.ts +11 -10
  111. package/dist/rules/ts/extension/disable.d.ts.map +1 -1
  112. package/dist/rules/ts/extension/disable.js +10 -11
  113. package/dist/rules/ts/extension/disable.js.map +1 -1
  114. package/dist/rules/ts/extension/index.d.ts +35 -22
  115. package/dist/rules/ts/extension/index.d.ts.map +1 -1
  116. package/dist/rules/ts/extension/index.js +9 -10
  117. package/dist/rules/ts/extension/index.js.map +1 -1
  118. package/dist/rules/ts/index.d.ts +220 -172
  119. package/dist/rules/yml/enable.d.ts +14 -13
  120. package/dist/rules/yml/enable.d.ts.map +1 -1
  121. package/dist/rules/yml/enable.js +13 -14
  122. package/dist/rules/yml/enable.js.map +1 -1
  123. package/dist/rules/yml/extension.d.ts +46 -21
  124. package/dist/rules/yml/extension.d.ts.map +1 -1
  125. package/dist/rules/yml/extension.js +12 -13
  126. package/dist/rules/yml/extension.js.map +1 -1
  127. package/dist/rules/yml/index.d.ts +57 -33
  128. package/dist/settings/settings/html.js +1 -1
  129. package/dist/settings/settings/html.js.map +1 -1
  130. package/package.json +1 -1
  131. package/src/_scope/index.ts +19 -7
  132. package/src/files/index.ts +38 -20
  133. package/src/ignores/global.ts +25 -0
  134. package/src/ignores/index.ts +15 -44
  135. package/src/rules/base.eslint.ts +214 -223
  136. package/src/rules/base.stylistic.ts +116 -131
  137. package/src/rules/css/enable.ts +17 -21
  138. package/src/rules/html/enable.ts +63 -66
  139. package/src/rules/json/enable.ts +9 -13
  140. package/src/rules/json/plugin/extension.ts +26 -32
  141. package/src/rules/json/plugin/index.ts +26 -30
  142. package/src/rules/jsonc/index.ts +1 -1
  143. package/src/rules/jsonc/override.ts +8 -0
  144. package/src/rules/jsoncc/index.ts +1 -1
  145. package/src/rules/jsoncc/override.ts +11 -0
  146. package/src/rules/mocha/chai/expect.ts +7 -11
  147. package/src/rules/mocha/chai/index.ts +4 -7
  148. package/src/rules/mocha/disable.ts +5 -8
  149. package/src/rules/mocha/enable.ts +27 -31
  150. package/src/rules/state.ts +5 -0
  151. package/src/rules/svelte/disable.ts +9 -12
  152. package/src/rules/svelte/enable.ts +76 -82
  153. package/src/rules/svelte/extension/disable.ts +5 -9
  154. package/src/rules/svelte/extension/index.ts +6 -10
  155. package/src/rules/ts/disable.ts +21 -24
  156. package/src/rules/ts/enable.ts +106 -111
  157. package/src/rules/ts/extension/disable.ts +26 -30
  158. package/src/rules/ts/extension/index.ts +27 -31
  159. package/src/rules/yml/enable.ts +23 -27
  160. package/src/rules/yml/extension.ts +13 -17
  161. package/src/settings/settings/html.ts +1 -1
  162. package/dist/_scope/const/index.d.ts +0 -3
  163. package/dist/_scope/const/index.d.ts.map +0 -1
  164. package/dist/_scope/const/index.js +0 -3
  165. package/dist/_scope/const/index.js.map +0 -1
  166. package/dist/_scope/const/roots.d.ts +0 -2
  167. package/dist/_scope/const/roots.d.ts.map +0 -1
  168. package/dist/_scope/const/roots.js +0 -5
  169. package/dist/_scope/const/roots.js.map +0 -1
  170. package/dist/_scope/const/subroots.d.ts +0 -2
  171. package/dist/_scope/const/subroots.d.ts.map +0 -1
  172. package/dist/_scope/const/subroots.js +0 -10
  173. package/dist/_scope/const/subroots.js.map +0 -1
  174. package/dist/files/css.d.ts.map +0 -1
  175. package/dist/files/css.js +0 -3
  176. package/dist/files/css.js.map +0 -1
  177. package/dist/files/html.d.ts +0 -3
  178. package/dist/files/html.d.ts.map +0 -1
  179. package/dist/files/html.js +0 -3
  180. package/dist/files/html.js.map +0 -1
  181. package/dist/files/js.d.ts +0 -3
  182. package/dist/files/js.d.ts.map +0 -1
  183. package/dist/files/js.js +0 -7
  184. package/dist/files/js.js.map +0 -1
  185. package/dist/files/json.d.ts +0 -3
  186. package/dist/files/json.d.ts.map +0 -1
  187. package/dist/files/json.js +0 -3
  188. package/dist/files/json.js.map +0 -1
  189. package/dist/files/jsonc.d.ts +0 -3
  190. package/dist/files/jsonc.d.ts.map +0 -1
  191. package/dist/files/jsonc.js +0 -3
  192. package/dist/files/jsonc.js.map +0 -1
  193. package/dist/files/jsoncc.d.ts +0 -3
  194. package/dist/files/jsoncc.d.ts.map +0 -1
  195. package/dist/files/jsoncc.js +0 -10
  196. package/dist/files/jsoncc.js.map +0 -1
  197. package/dist/files/mocha.d.ts +0 -3
  198. package/dist/files/mocha.d.ts.map +0 -1
  199. package/dist/files/mocha.js +0 -7
  200. package/dist/files/mocha.js.map +0 -1
  201. package/dist/files/svelte.d.ts +0 -3
  202. package/dist/files/svelte.d.ts.map +0 -1
  203. package/dist/files/svelte.js +0 -3
  204. package/dist/files/svelte.js.map +0 -1
  205. package/dist/files/ts.d.ts +0 -3
  206. package/dist/files/ts.d.ts.map +0 -1
  207. package/dist/files/ts.js +0 -7
  208. package/dist/files/ts.js.map +0 -1
  209. package/dist/files/yml.d.ts +0 -3
  210. package/dist/files/yml.d.ts.map +0 -1
  211. package/dist/files/yml.js +0 -8
  212. package/dist/files/yml.js.map +0 -1
  213. package/dist/ignores/css.d.ts +0 -3
  214. package/dist/ignores/css.d.ts.map +0 -1
  215. package/dist/ignores/css.js +0 -2
  216. package/dist/ignores/css.js.map +0 -1
  217. package/dist/ignores/html.d.ts +0 -3
  218. package/dist/ignores/html.d.ts.map +0 -1
  219. package/dist/ignores/html.js +0 -2
  220. package/dist/ignores/html.js.map +0 -1
  221. package/dist/ignores/js.d.ts +0 -3
  222. package/dist/ignores/js.d.ts.map +0 -1
  223. package/dist/ignores/js.js +0 -2
  224. package/dist/ignores/js.js.map +0 -1
  225. package/dist/ignores/json.d.ts +0 -3
  226. package/dist/ignores/json.d.ts.map +0 -1
  227. package/dist/ignores/json.js +0 -2
  228. package/dist/ignores/json.js.map +0 -1
  229. package/dist/ignores/jsonc.d.ts +0 -3
  230. package/dist/ignores/jsonc.d.ts.map +0 -1
  231. package/dist/ignores/jsonc.js +0 -2
  232. package/dist/ignores/jsonc.js.map +0 -1
  233. package/dist/ignores/jsoncc.d.ts +0 -3
  234. package/dist/ignores/jsoncc.d.ts.map +0 -1
  235. package/dist/ignores/jsoncc.js +0 -2
  236. package/dist/ignores/jsoncc.js.map +0 -1
  237. package/dist/ignores/mocha.d.ts +0 -3
  238. package/dist/ignores/mocha.d.ts.map +0 -1
  239. package/dist/ignores/mocha.js +0 -2
  240. package/dist/ignores/mocha.js.map +0 -1
  241. package/dist/ignores/svelte.d.ts +0 -3
  242. package/dist/ignores/svelte.d.ts.map +0 -1
  243. package/dist/ignores/svelte.js +0 -2
  244. package/dist/ignores/svelte.js.map +0 -1
  245. package/dist/ignores/ts.d.ts +0 -3
  246. package/dist/ignores/ts.d.ts.map +0 -1
  247. package/dist/ignores/ts.js +0 -2
  248. package/dist/ignores/ts.js.map +0 -1
  249. package/dist/ignores/yml.d.ts +0 -3
  250. package/dist/ignores/yml.d.ts.map +0 -1
  251. package/dist/ignores/yml.js +0 -2
  252. package/dist/ignores/yml.js.map +0 -1
  253. package/dist/rules/_strings/id.d.ts +0 -19
  254. package/dist/rules/_strings/id.d.ts.map +0 -1
  255. package/dist/rules/_strings/id.js +0 -19
  256. package/dist/rules/_strings/id.js.map +0 -1
  257. package/dist/rules/_strings/index.d.ts +0 -4
  258. package/dist/rules/_strings/index.d.ts.map +0 -1
  259. package/dist/rules/_strings/index.js +0 -4
  260. package/dist/rules/_strings/index.js.map +0 -1
  261. package/dist/rules/_strings/option.d.ts +0 -2
  262. package/dist/rules/_strings/option.d.ts.map +0 -1
  263. package/dist/rules/_strings/option.js +0 -2
  264. package/dist/rules/_strings/option.js.map +0 -1
  265. package/dist/rules/_strings/state.d.ts +0 -2
  266. package/dist/rules/_strings/state.d.ts.map +0 -1
  267. package/dist/rules/_strings/state.js +0 -2
  268. package/dist/rules/_strings/state.js.map +0 -1
  269. package/dist/rules/jsonc/plugin/index.d.ts +0 -8
  270. package/dist/rules/jsonc/plugin/index.d.ts.map +0 -1
  271. package/dist/rules/jsonc/plugin/index.js +0 -8
  272. package/dist/rules/jsonc/plugin/index.js.map +0 -1
  273. package/dist/rules/jsoncc/plugin/index.d.ts +0 -8
  274. package/dist/rules/jsoncc/plugin/index.d.ts.map +0 -1
  275. package/dist/rules/jsoncc/plugin/index.js +0 -11
  276. package/dist/rules/jsoncc/plugin/index.js.map +0 -1
  277. package/src/_scope/const/index.ts +0 -2
  278. package/src/_scope/const/roots.ts +0 -4
  279. package/src/_scope/const/subroots.ts +0 -9
  280. package/src/files/css.ts +0 -5
  281. package/src/files/html.ts +0 -5
  282. package/src/files/js.ts +0 -9
  283. package/src/files/json.ts +0 -5
  284. package/src/files/jsonc.ts +0 -5
  285. package/src/files/jsoncc.ts +0 -16
  286. package/src/files/mocha.ts +0 -9
  287. package/src/files/svelte.ts +0 -5
  288. package/src/files/ts.ts +0 -9
  289. package/src/files/yml.ts +0 -11
  290. package/src/ignores/css.ts +0 -1
  291. package/src/ignores/html.ts +0 -1
  292. package/src/ignores/js.ts +0 -1
  293. package/src/ignores/json.ts +0 -1
  294. package/src/ignores/jsonc.ts +0 -1
  295. package/src/ignores/jsoncc.ts +0 -1
  296. package/src/ignores/mocha.ts +0 -1
  297. package/src/ignores/svelte.ts +0 -1
  298. package/src/ignores/ts.ts +0 -1
  299. package/src/ignores/yml.ts +0 -1
  300. package/src/rules/_strings/id.ts +0 -21
  301. package/src/rules/_strings/index.ts +0 -3
  302. package/src/rules/_strings/option.ts +0 -29
  303. package/src/rules/_strings/state.ts +0 -4
  304. package/src/rules/jsonc/plugin/index.ts +0 -12
  305. package/src/rules/jsoncc/plugin/index.ts +0 -16
@@ -1,216 +1,310 @@
1
+ import { State } from "./state.js";
1
2
  declare const _default: {
2
- id: "enable";
3
+ id: string;
3
4
  rules: {
4
- readonly "array-callback-return": readonly [2, {
5
- readonly checkForEach: true;
6
- readonly allowVoid: true;
7
- }];
8
- readonly "constructor-super": 2;
9
- readonly "for-direction": 2;
10
- readonly "getter-return": 2;
11
- readonly "no-async-promise-executor": 2;
12
- readonly "no-await-in-loop": 2;
13
- readonly "no-class-assign": 2;
14
- readonly "no-compare-neg-zero": 2;
15
- readonly "no-cond-assign": 2;
16
- readonly "no-const-assign": 2;
17
- readonly "no-constant-binary-expression": 2;
18
- readonly "no-constant-condition": readonly [2, {
19
- readonly checkLoops: "all";
20
- }];
21
- readonly "no-constructor-return": 2;
22
- readonly "no-control-regex": 2;
23
- readonly "no-debugger": 2;
24
- readonly "no-dupe-args": 2;
25
- readonly "no-dupe-class-members": 2;
26
- readonly "no-dupe-else-if": 2;
27
- readonly "no-dupe-keys": 2;
28
- readonly "no-duplicate-case": 2;
29
- readonly "no-duplicate-imports": readonly [2, {
30
- readonly includeExports: true;
31
- readonly allowSeparateTypeImports: true;
32
- }];
33
- readonly "no-empty-character-class": 2;
34
- readonly "no-empty-pattern": 2;
35
- readonly "no-ex-assign": 2;
36
- readonly "no-fallthrough": 2;
37
- readonly "no-func-assign": 2;
38
- readonly "no-import-assign": 2;
39
- readonly "no-inner-declarations": readonly [2, "both"];
40
- readonly "no-invalid-regexp": 2;
41
- readonly "no-irregular-whitespace": 2;
42
- readonly "no-loss-of-precision": 2;
43
- readonly "no-misleading-character-class": 2;
44
- readonly "no-new-native-nonconstructor": 2;
45
- readonly "no-obj-calls": 2;
46
- readonly "no-promise-executor-return": readonly [2, {
47
- readonly allowVoid: true;
48
- }];
49
- readonly "no-prototype-builtins": 2;
50
- readonly "no-self-assign": 2;
51
- readonly "no-self-compare": 2;
52
- readonly "no-setter-return": 2;
53
- readonly "no-sparse-arrays": 2;
54
- readonly "no-template-curly-in-string": 2;
55
- readonly "no-this-before-super": 2;
56
- readonly "no-unassigned-vars": 2;
57
- readonly "no-undef": 2;
58
- readonly "no-unexpected-multiline": 2;
59
- readonly "no-unmodified-loop-condition": 2;
60
- readonly "no-unreachable": 2;
61
- readonly "no-unreachable-loop": 2;
62
- readonly "no-unsafe-finally": 2;
63
- readonly "no-unsafe-negation": readonly [2, {
64
- readonly enforceForOrderingRelations: true;
65
- }];
66
- readonly "no-unsafe-optional-chaining": readonly [2, {
67
- readonly disallowArithmeticOperators: true;
68
- }];
69
- readonly "no-unused-private-class-members": 2;
70
- readonly "no-unused-vars": 2;
71
- readonly "no-use-before-define": readonly [2, {
72
- readonly typedefs: false;
73
- }];
74
- readonly "no-useless-assignment": 2;
75
- readonly "no-useless-backreference": 2;
76
- readonly "require-atomic-updates": 2;
77
- readonly "use-isnan": readonly [2, {
78
- readonly enforceForIndexOf: true;
79
- }];
80
- readonly "valid-typeof": readonly [2, {
81
- readonly requireStringLiterals: true;
82
- }];
83
- readonly "accessor-pairs": readonly [2, {
84
- readonly enforceForTSTypes: true;
85
- }];
86
- readonly "arrow-body-style": 2;
87
- readonly "block-scoped-var": 2;
88
- readonly "consistent-return": 2;
89
- readonly "consistent-this": 2;
90
- readonly curly: readonly [2, "multi"];
91
- readonly "default-case-last": 2;
92
- readonly "default-param-last": 2;
93
- readonly "dot-notation": 2;
94
- readonly eqeqeq: 2;
95
- readonly "init-declarations": 2;
96
- readonly "logical-assignment-operators": readonly [2, "always", {
97
- readonly enforceForIfStatements: true;
98
- }];
99
- readonly "no-alert": 2;
100
- readonly "no-array-constructor": 2;
101
- readonly "no-bitwise": 2;
102
- readonly "no-caller": 2;
103
- readonly "no-case-declarations": 2;
104
- readonly "no-continue": 2;
105
- readonly "no-delete-var": 2;
106
- readonly "no-div-regex": 2;
107
- readonly "no-empty": 2;
108
- readonly "no-empty-function": readonly [2, {
109
- readonly allow: readonly ["constructors", "privateConstructors", "protectedConstructors", "decoratedFunctions", "overrideMethods"];
110
- }];
111
- readonly "no-empty-static-block": 2;
112
- readonly "no-eq-null": 2;
113
- readonly "no-eval": 2;
114
- readonly "no-extend-native": 2;
115
- readonly "no-extra-bind": 2;
116
- readonly "no-extra-boolean-cast": readonly [2, {
117
- readonly enforceForLogicalOperands: true;
118
- }];
119
- readonly "no-extra-label": 2;
120
- readonly "no-global-assign": 2;
121
- readonly "no-implicit-coercion": readonly [2, {
122
- readonly disallowTemplateShorthand: true;
123
- }];
124
- readonly "no-implied-eval": 2;
125
- readonly "no-invalid-this": readonly [2, {
126
- readonly capIsConstructor: false;
127
- }];
128
- readonly "no-iterator": 2;
129
- readonly "no-label-var": 2;
130
- readonly "no-lone-blocks": 2;
131
- readonly "no-loop-func": 2;
132
- readonly "no-multi-assign": 2;
133
- readonly "no-multi-str": 2;
134
- readonly "no-new": 2;
135
- readonly "no-new-func": 2;
136
- readonly "no-new-wrappers": 2;
137
- readonly "no-nonoctal-decimal-escape": 2;
138
- readonly "no-object-constructor": 2;
139
- readonly "no-octal": 2;
140
- readonly "no-octal-escape": 2;
141
- readonly "no-param-reassign": readonly [2, {
142
- readonly props: true;
143
- }];
144
- readonly "no-plusplus": readonly [2, {
145
- readonly allowForLoopAfterthoughts: true;
146
- }];
147
- readonly "no-proto": 2;
148
- readonly "no-script-url": 2;
149
- readonly "no-sequences": 2;
150
- readonly "no-shadow-restricted-names": 2;
151
- readonly "no-throw-literal": 2;
152
- readonly "no-undef-init": 2;
153
- readonly "no-unneeded-ternary": 2;
154
- readonly "no-unused-expressions": readonly [2, {
155
- readonly allowShortCircuit: true;
156
- readonly allowTernary: true;
157
- }];
158
- readonly "no-unused-labels": 2;
159
- readonly "no-useless-call": 2;
160
- readonly "no-useless-catch": 2;
161
- readonly "no-useless-computed-key": 2;
162
- readonly "no-useless-concat": 2;
163
- readonly "no-useless-constructor": 2;
164
- readonly "no-useless-escape": readonly [2, {
165
- readonly allowRegexCharacters: readonly ["-"];
166
- }];
167
- readonly "no-useless-rename": 2;
168
- readonly "no-useless-return": 2;
169
- readonly "no-var": 2;
170
- readonly "no-void": readonly [2, {
171
- readonly allowAsStatement: true;
172
- }];
173
- readonly "no-with": 2;
174
- readonly "object-shorthand": 2;
175
- readonly "one-var": readonly [2, {
176
- readonly var: "consecutive";
177
- readonly let: "consecutive";
178
- readonly const: "consecutive";
179
- readonly using: "consecutive";
180
- readonly awaitUsing: "consecutive";
181
- readonly separateRequires: true;
182
- }];
183
- readonly "operator-assignment": 2;
184
- readonly "prefer-arrow-callback": 2;
185
- readonly "prefer-const": readonly [2, {
186
- readonly destructuring: "all";
187
- }];
188
- readonly "prefer-destructuring": readonly [2, {
189
- readonly AssignmentExpression: {
190
- readonly array: false;
191
- readonly object: false;
192
- };
193
- }];
194
- readonly "prefer-exponentiation-operator": 2;
195
- readonly "prefer-numeric-literals": 2;
196
- readonly "prefer-object-has-own": 2;
197
- readonly "prefer-object-spread": 2;
198
- readonly "prefer-promise-reject-errors": 2;
199
- readonly "prefer-regex-literals": readonly [2, {
200
- readonly disallowRedundantWrapping: true;
201
- }];
202
- readonly "prefer-rest-params": 2;
203
- readonly "prefer-spread": 2;
204
- readonly "preserve-caught-error": readonly [2, {
205
- readonly requireCatchParameter: true;
206
- }];
207
- readonly radix: readonly [2, "as-needed"];
208
- readonly "require-await": 2;
209
- readonly "require-unicode-regexp": 2;
210
- readonly "require-yield": 2;
211
- readonly "vars-on-top": 2;
212
- readonly yoda: 2;
5
+ readonly "array-callback-return": readonly [
6
+ State.ON,
7
+ {
8
+ readonly checkForEach: true;
9
+ readonly allowVoid: true;
10
+ }
11
+ ];
12
+ readonly "constructor-super": State.ON;
13
+ readonly "for-direction": State.ON;
14
+ readonly "getter-return": State.ON;
15
+ readonly "no-async-promise-executor": State.ON;
16
+ readonly "no-await-in-loop": State.ON;
17
+ readonly "no-class-assign": State.ON;
18
+ readonly "no-compare-neg-zero": State.ON;
19
+ readonly "no-cond-assign": State.ON;
20
+ readonly "no-const-assign": State.ON;
21
+ readonly "no-constant-binary-expression": State.ON;
22
+ readonly "no-constant-condition": readonly [
23
+ State.ON,
24
+ {
25
+ readonly checkLoops: "all";
26
+ }
27
+ ];
28
+ readonly "no-constructor-return": State.ON;
29
+ readonly "no-control-regex": State.ON;
30
+ readonly "no-debugger": State.ON;
31
+ readonly "no-dupe-args": State.ON;
32
+ readonly "no-dupe-class-members": State.ON;
33
+ readonly "no-dupe-else-if": State.ON;
34
+ readonly "no-dupe-keys": State.ON;
35
+ readonly "no-duplicate-case": State.ON;
36
+ readonly "no-duplicate-imports": readonly [
37
+ State.ON,
38
+ {
39
+ readonly includeExports: true;
40
+ readonly allowSeparateTypeImports: true;
41
+ }
42
+ ];
43
+ readonly "no-empty-character-class": State.ON;
44
+ readonly "no-empty-pattern": State.ON;
45
+ readonly "no-ex-assign": State.ON;
46
+ readonly "no-fallthrough": State.ON;
47
+ readonly "no-func-assign": State.ON;
48
+ readonly "no-import-assign": State.ON;
49
+ readonly "no-inner-declarations": readonly [
50
+ State.ON,
51
+ "both"
52
+ ];
53
+ readonly "no-invalid-regexp": State.ON;
54
+ readonly "no-irregular-whitespace": State.ON;
55
+ readonly "no-loss-of-precision": State.ON;
56
+ readonly "no-misleading-character-class": State.ON;
57
+ readonly "no-new-native-nonconstructor": State.ON;
58
+ readonly "no-obj-calls": State.ON;
59
+ readonly "no-promise-executor-return": readonly [
60
+ State.ON,
61
+ {
62
+ readonly allowVoid: true;
63
+ }
64
+ ];
65
+ readonly "no-prototype-builtins": State.ON;
66
+ readonly "no-self-assign": State.ON;
67
+ readonly "no-self-compare": State.ON;
68
+ readonly "no-setter-return": State.ON;
69
+ readonly "no-sparse-arrays": State.ON;
70
+ readonly "no-template-curly-in-string": State.ON;
71
+ readonly "no-this-before-super": State.ON;
72
+ readonly "no-unassigned-vars": State.ON;
73
+ readonly "no-undef": State.ON;
74
+ readonly "no-unexpected-multiline": State.ON;
75
+ readonly "no-unmodified-loop-condition": State.ON;
76
+ readonly "no-unreachable": State.ON;
77
+ readonly "no-unreachable-loop": State.ON;
78
+ readonly "no-unsafe-finally": State.ON;
79
+ readonly "no-unsafe-negation": readonly [
80
+ State.ON,
81
+ {
82
+ readonly enforceForOrderingRelations: true;
83
+ }
84
+ ];
85
+ readonly "no-unsafe-optional-chaining": readonly [
86
+ State.ON,
87
+ {
88
+ readonly disallowArithmeticOperators: true;
89
+ }
90
+ ];
91
+ readonly "no-unused-private-class-members": State.ON;
92
+ readonly "no-unused-vars": State.ON;
93
+ readonly "no-use-before-define": readonly [
94
+ State.ON,
95
+ {
96
+ readonly typedefs: false;
97
+ }
98
+ ];
99
+ readonly "no-useless-assignment": State.ON;
100
+ readonly "no-useless-backreference": State.ON;
101
+ readonly "require-atomic-updates": State.ON;
102
+ readonly "use-isnan": readonly [
103
+ State.ON,
104
+ {
105
+ readonly enforceForIndexOf: true;
106
+ }
107
+ ];
108
+ readonly "valid-typeof": readonly [
109
+ State.ON,
110
+ {
111
+ readonly requireStringLiterals: true;
112
+ }
113
+ ];
114
+ readonly "accessor-pairs": readonly [
115
+ State.ON,
116
+ {
117
+ readonly enforceForTSTypes: true;
118
+ }
119
+ ];
120
+ readonly "arrow-body-style": State.ON;
121
+ readonly "block-scoped-var": State.ON;
122
+ readonly "consistent-return": State.ON;
123
+ readonly "consistent-this": State.ON;
124
+ readonly curly: readonly [
125
+ State.ON,
126
+ "multi"
127
+ ];
128
+ readonly "default-case-last": State.ON;
129
+ readonly "default-param-last": State.ON;
130
+ readonly "dot-notation": State.ON;
131
+ readonly eqeqeq: State.ON;
132
+ readonly "init-declarations": State.ON;
133
+ readonly "logical-assignment-operators": readonly [
134
+ State.ON,
135
+ "always",
136
+ {
137
+ readonly enforceForIfStatements: true;
138
+ }
139
+ ];
140
+ readonly "no-alert": State.ON;
141
+ readonly "no-array-constructor": State.ON;
142
+ readonly "no-bitwise": State.ON;
143
+ readonly "no-caller": State.ON;
144
+ readonly "no-case-declarations": State.ON;
145
+ readonly "no-continue": State.ON;
146
+ readonly "no-delete-var": State.ON;
147
+ readonly "no-div-regex": State.ON;
148
+ readonly "no-empty": State.ON;
149
+ readonly "no-empty-function": readonly [
150
+ State.ON,
151
+ {
152
+ readonly allow: readonly [
153
+ "constructors",
154
+ "privateConstructors",
155
+ "protectedConstructors",
156
+ "decoratedFunctions",
157
+ "overrideMethods"
158
+ ];
159
+ }
160
+ ];
161
+ readonly "no-empty-static-block": State.ON;
162
+ readonly "no-eq-null": State.ON;
163
+ readonly "no-eval": State.ON;
164
+ readonly "no-extend-native": State.ON;
165
+ readonly "no-extra-bind": State.ON;
166
+ readonly "no-extra-boolean-cast": readonly [
167
+ State.ON,
168
+ {
169
+ readonly enforceForLogicalOperands: true;
170
+ }
171
+ ];
172
+ readonly "no-extra-label": State.ON;
173
+ readonly "no-global-assign": State.ON;
174
+ readonly "no-implicit-coercion": readonly [
175
+ State.ON,
176
+ {
177
+ readonly disallowTemplateShorthand: true;
178
+ }
179
+ ];
180
+ readonly "no-implied-eval": State.ON;
181
+ readonly "no-invalid-this": readonly [
182
+ State.ON,
183
+ {
184
+ readonly capIsConstructor: false;
185
+ }
186
+ ];
187
+ readonly "no-iterator": State.ON;
188
+ readonly "no-label-var": State.ON;
189
+ readonly "no-lone-blocks": State.ON;
190
+ readonly "no-loop-func": State.ON;
191
+ readonly "no-multi-assign": State.ON;
192
+ readonly "no-multi-str": State.ON;
193
+ readonly "no-new": State.ON;
194
+ readonly "no-new-func": State.ON;
195
+ readonly "no-new-wrappers": State.ON;
196
+ readonly "no-nonoctal-decimal-escape": State.ON;
197
+ readonly "no-object-constructor": State.ON;
198
+ readonly "no-octal": State.ON;
199
+ readonly "no-octal-escape": State.ON;
200
+ readonly "no-param-reassign": readonly [
201
+ State.ON,
202
+ {
203
+ readonly props: true;
204
+ }
205
+ ];
206
+ readonly "no-plusplus": readonly [
207
+ State.ON,
208
+ {
209
+ readonly allowForLoopAfterthoughts: true;
210
+ }
211
+ ];
212
+ readonly "no-proto": State.ON;
213
+ readonly "no-script-url": State.ON;
214
+ readonly "no-sequences": State.ON;
215
+ readonly "no-shadow-restricted-names": State.ON;
216
+ readonly "no-throw-literal": State.ON;
217
+ readonly "no-undef-init": State.ON;
218
+ readonly "no-unneeded-ternary": State.ON;
219
+ readonly "no-unused-expressions": readonly [
220
+ State.ON,
221
+ {
222
+ readonly allowShortCircuit: true;
223
+ readonly allowTernary: true;
224
+ }
225
+ ];
226
+ readonly "no-unused-labels": State.ON;
227
+ readonly "no-useless-call": State.ON;
228
+ readonly "no-useless-catch": State.ON;
229
+ readonly "no-useless-computed-key": State.ON;
230
+ readonly "no-useless-concat": State.ON;
231
+ readonly "no-useless-constructor": State.ON;
232
+ readonly "no-useless-escape": readonly [
233
+ State.ON,
234
+ {
235
+ readonly allowRegexCharacters: readonly [
236
+ "-"
237
+ ];
238
+ }
239
+ ];
240
+ readonly "no-useless-rename": State.ON;
241
+ readonly "no-useless-return": State.ON;
242
+ readonly "no-var": State.ON;
243
+ readonly "no-void": readonly [
244
+ State.ON,
245
+ {
246
+ readonly allowAsStatement: true;
247
+ }
248
+ ];
249
+ readonly "no-with": State.ON;
250
+ readonly "object-shorthand": State.ON;
251
+ readonly "one-var": readonly [
252
+ State.ON,
253
+ {
254
+ readonly var: "consecutive";
255
+ readonly let: "consecutive";
256
+ readonly const: "consecutive";
257
+ readonly using: "consecutive";
258
+ readonly awaitUsing: "consecutive";
259
+ readonly separateRequires: true;
260
+ }
261
+ ];
262
+ readonly "operator-assignment": State.ON;
263
+ readonly "prefer-arrow-callback": State.ON;
264
+ readonly "prefer-const": readonly [
265
+ State.ON,
266
+ {
267
+ readonly destructuring: "all";
268
+ }
269
+ ];
270
+ readonly "prefer-destructuring": readonly [
271
+ State.ON,
272
+ {
273
+ readonly AssignmentExpression: {
274
+ readonly array: false;
275
+ readonly object: false;
276
+ };
277
+ }
278
+ ];
279
+ readonly "prefer-exponentiation-operator": State.ON;
280
+ readonly "prefer-numeric-literals": State.ON;
281
+ readonly "prefer-object-has-own": State.ON;
282
+ readonly "prefer-object-spread": State.ON;
283
+ readonly "prefer-promise-reject-errors": State.ON;
284
+ readonly "prefer-regex-literals": readonly [
285
+ State.ON,
286
+ {
287
+ readonly disallowRedundantWrapping: true;
288
+ }
289
+ ];
290
+ readonly "prefer-rest-params": State.ON;
291
+ readonly "prefer-spread": State.ON;
292
+ readonly "preserve-caught-error": readonly [
293
+ State.ON,
294
+ {
295
+ readonly requireCatchParameter: true;
296
+ }
297
+ ];
298
+ readonly radix: readonly [
299
+ State.ON,
300
+ "as-needed"
301
+ ];
302
+ readonly "require-await": State.ON;
303
+ readonly "require-unicode-regexp": State.ON;
304
+ readonly "require-yield": State.ON;
305
+ readonly "vars-on-top": State.ON;
306
+ readonly yoda: State.ON;
213
307
  };
214
308
  };
215
309
  export default _default;
216
- //# sourceMappingURL=base.eslint.d.ts.map
310
+ //# sourceMappingURL=base.eslint.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"base.eslint.d.ts","sourceRoot":"","sources":["../../src/rules/base.eslint.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,wBA+XE"}
1
+ {"version":3,"file":"base.eslint.d.ts","sourceRoot":"","sources":["../../src/rules/base.eslint.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGhC,wBA+XE"}