linted 22.0.0 → 22.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (287) hide show
  1. package/dist/{imports/index.d.ts → imports.d.ts} +1 -1
  2. package/dist/imports.d.ts.map +1 -0
  3. package/dist/imports.js +7 -0
  4. package/dist/imports.js.map +1 -0
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +5 -13
  7. package/dist/index.js.map +1 -1
  8. package/dist/{imports/parsers.d.ts → parsers/index.d.ts} +1 -1
  9. package/dist/parsers/index.d.ts.map +1 -0
  10. package/dist/{imports/parsers.js → parsers/index.js} +1 -1
  11. package/dist/parsers/index.js.map +1 -0
  12. package/dist/{imports/plugins.d.ts → plugins/index.d.ts} +1 -1
  13. package/dist/plugins/index.d.ts.map +1 -0
  14. package/dist/{imports/plugins.js → plugins/index.js} +1 -1
  15. package/dist/plugins/index.js.map +1 -0
  16. package/package.json +2 -1
  17. package/src/index.ts +10 -18
  18. package/dist/_strings/id.d.ts +0 -2
  19. package/dist/_strings/id.d.ts.map +0 -1
  20. package/dist/_strings/id.js +0 -2
  21. package/dist/_strings/id.js.map +0 -1
  22. package/dist/_strings/index.d.ts +0 -7
  23. package/dist/_strings/index.d.ts.map +0 -1
  24. package/dist/_strings/index.js +0 -7
  25. package/dist/_strings/index.js.map +0 -1
  26. package/dist/_strings/level.d.ts +0 -2
  27. package/dist/_strings/level.d.ts.map +0 -1
  28. package/dist/_strings/level.js +0 -2
  29. package/dist/_strings/level.js.map +0 -1
  30. package/dist/_strings/level.spec.d.ts +0 -2
  31. package/dist/_strings/level.spec.d.ts.map +0 -1
  32. package/dist/_strings/level.spec.js +0 -31
  33. package/dist/_strings/level.spec.js.map +0 -1
  34. package/dist/_strings/state.d.ts +0 -2
  35. package/dist/_strings/state.d.ts.map +0 -1
  36. package/dist/_strings/state.js +0 -2
  37. package/dist/_strings/state.js.map +0 -1
  38. package/dist/files/index.d.ts +0 -13
  39. package/dist/files/index.d.ts.map +0 -1
  40. package/dist/files/index.js +0 -20
  41. package/dist/files/index.js.map +0 -1
  42. package/dist/files/scopes/html.d.ts +0 -3
  43. package/dist/files/scopes/html.d.ts.map +0 -1
  44. package/dist/files/scopes/html.js +0 -2
  45. package/dist/files/scopes/html.js.map +0 -1
  46. package/dist/files/scopes/js.d.ts +0 -3
  47. package/dist/files/scopes/js.d.ts.map +0 -1
  48. package/dist/files/scopes/js.js +0 -5
  49. package/dist/files/scopes/js.js.map +0 -1
  50. package/dist/files/scopes/json.d.ts +0 -3
  51. package/dist/files/scopes/json.d.ts.map +0 -1
  52. package/dist/files/scopes/json.js +0 -2
  53. package/dist/files/scopes/json.js.map +0 -1
  54. package/dist/files/scopes/jsonc.d.ts +0 -3
  55. package/dist/files/scopes/jsonc.d.ts.map +0 -1
  56. package/dist/files/scopes/jsonc.js +0 -6
  57. package/dist/files/scopes/jsonc.js.map +0 -1
  58. package/dist/files/scopes/mocha.d.ts +0 -3
  59. package/dist/files/scopes/mocha.d.ts.map +0 -1
  60. package/dist/files/scopes/mocha.js +0 -5
  61. package/dist/files/scopes/mocha.js.map +0 -1
  62. package/dist/files/scopes/svelte.d.ts +0 -3
  63. package/dist/files/scopes/svelte.d.ts.map +0 -1
  64. package/dist/files/scopes/svelte.js +0 -2
  65. package/dist/files/scopes/svelte.js.map +0 -1
  66. package/dist/files/scopes/ts.d.ts +0 -3
  67. package/dist/files/scopes/ts.d.ts.map +0 -1
  68. package/dist/files/scopes/ts.js +0 -2
  69. package/dist/files/scopes/ts.js.map +0 -1
  70. package/dist/files/scopes/yml.d.ts +0 -3
  71. package/dist/files/scopes/yml.d.ts.map +0 -1
  72. package/dist/files/scopes/yml.js +0 -2
  73. package/dist/files/scopes/yml.js.map +0 -1
  74. package/dist/ignores/index.d.ts +0 -13
  75. package/dist/ignores/index.d.ts.map +0 -1
  76. package/dist/ignores/index.js +0 -29
  77. package/dist/ignores/index.js.map +0 -1
  78. package/dist/ignores/scopes/html.d.ts +0 -3
  79. package/dist/ignores/scopes/html.d.ts.map +0 -1
  80. package/dist/ignores/scopes/html.js +0 -2
  81. package/dist/ignores/scopes/html.js.map +0 -1
  82. package/dist/ignores/scopes/js.d.ts +0 -3
  83. package/dist/ignores/scopes/js.d.ts.map +0 -1
  84. package/dist/ignores/scopes/js.js +0 -2
  85. package/dist/ignores/scopes/js.js.map +0 -1
  86. package/dist/ignores/scopes/json.d.ts +0 -3
  87. package/dist/ignores/scopes/json.d.ts.map +0 -1
  88. package/dist/ignores/scopes/json.js +0 -2
  89. package/dist/ignores/scopes/json.js.map +0 -1
  90. package/dist/ignores/scopes/jsonc.d.ts +0 -3
  91. package/dist/ignores/scopes/jsonc.d.ts.map +0 -1
  92. package/dist/ignores/scopes/jsonc.js +0 -2
  93. package/dist/ignores/scopes/jsonc.js.map +0 -1
  94. package/dist/ignores/scopes/mocha.d.ts +0 -3
  95. package/dist/ignores/scopes/mocha.d.ts.map +0 -1
  96. package/dist/ignores/scopes/mocha.js +0 -2
  97. package/dist/ignores/scopes/mocha.js.map +0 -1
  98. package/dist/ignores/scopes/svelte.d.ts +0 -3
  99. package/dist/ignores/scopes/svelte.d.ts.map +0 -1
  100. package/dist/ignores/scopes/svelte.js +0 -2
  101. package/dist/ignores/scopes/svelte.js.map +0 -1
  102. package/dist/ignores/scopes/ts.d.ts +0 -3
  103. package/dist/ignores/scopes/ts.d.ts.map +0 -1
  104. package/dist/ignores/scopes/ts.js +0 -2
  105. package/dist/ignores/scopes/ts.js.map +0 -1
  106. package/dist/ignores/scopes/yml.d.ts +0 -3
  107. package/dist/ignores/scopes/yml.d.ts.map +0 -1
  108. package/dist/ignores/scopes/yml.js +0 -2
  109. package/dist/ignores/scopes/yml.js.map +0 -1
  110. package/dist/imports/index.d.ts.map +0 -1
  111. package/dist/imports/index.js +0 -7
  112. package/dist/imports/index.js.map +0 -1
  113. package/dist/imports/parsers.d.ts.map +0 -1
  114. package/dist/imports/parsers.js.map +0 -1
  115. package/dist/imports/plugins.d.ts.map +0 -1
  116. package/dist/imports/plugins.js.map +0 -1
  117. package/dist/rules/html/enable.d.ts +0 -3
  118. package/dist/rules/html/enable.d.ts.map +0 -1
  119. package/dist/rules/html/enable.js +0 -94
  120. package/dist/rules/html/enable.js.map +0 -1
  121. package/dist/rules/html/index.d.ts +0 -3
  122. package/dist/rules/html/index.d.ts.map +0 -1
  123. package/dist/rules/html/index.js +0 -3
  124. package/dist/rules/html/index.js.map +0 -1
  125. package/dist/rules/index.d.ts +0 -4563
  126. package/dist/rules/index.d.ts.map +0 -1
  127. package/dist/rules/index.js +0 -19
  128. package/dist/rules/index.js.map +0 -1
  129. package/dist/rules/js/enable.d.ts +0 -348
  130. package/dist/rules/js/enable.d.ts.map +0 -1
  131. package/dist/rules/js/enable.js +0 -519
  132. package/dist/rules/js/enable.js.map +0 -1
  133. package/dist/rules/js/index.d.ts +0 -766
  134. package/dist/rules/js/index.d.ts.map +0 -1
  135. package/dist/rules/js/index.js +0 -7
  136. package/dist/rules/js/index.js.map +0 -1
  137. package/dist/rules/js/stylistic.d.ts +0 -421
  138. package/dist/rules/js/stylistic.d.ts.map +0 -1
  139. package/dist/rules/js/stylistic.js +0 -641
  140. package/dist/rules/js/stylistic.js.map +0 -1
  141. package/dist/rules/json/enable.d.ts +0 -27
  142. package/dist/rules/json/enable.d.ts.map +0 -1
  143. package/dist/rules/json/enable.js +0 -30
  144. package/dist/rules/json/enable.js.map +0 -1
  145. package/dist/rules/json/enable_x.d.ts +0 -50
  146. package/dist/rules/json/enable_x.d.ts.map +0 -1
  147. package/dist/rules/json/enable_x.js +0 -80
  148. package/dist/rules/json/enable_x.js.map +0 -1
  149. package/dist/rules/json/index.d.ts +0 -74
  150. package/dist/rules/json/index.d.ts.map +0 -1
  151. package/dist/rules/json/index.js +0 -7
  152. package/dist/rules/json/index.js.map +0 -1
  153. package/dist/rules/jsonc/index.d.ts +0 -77
  154. package/dist/rules/jsonc/index.d.ts.map +0 -1
  155. package/dist/rules/jsonc/index.js +0 -7
  156. package/dist/rules/jsonc/index.js.map +0 -1
  157. package/dist/rules/jsonc/override.d.ts +0 -6
  158. package/dist/rules/jsonc/override.d.ts.map +0 -1
  159. package/dist/rules/jsonc/override.js +0 -12
  160. package/dist/rules/jsonc/override.js.map +0 -1
  161. package/dist/rules/mocha/disable.d.ts +0 -5
  162. package/dist/rules/mocha/disable.d.ts.map +0 -1
  163. package/dist/rules/mocha/disable.js +0 -8
  164. package/dist/rules/mocha/disable.js.map +0 -1
  165. package/dist/rules/mocha/enable.d.ts +0 -35
  166. package/dist/rules/mocha/enable.d.ts.map +0 -1
  167. package/dist/rules/mocha/enable.js +0 -47
  168. package/dist/rules/mocha/enable.js.map +0 -1
  169. package/dist/rules/mocha/index.d.ts +0 -1171
  170. package/dist/rules/mocha/index.d.ts.map +0 -1
  171. package/dist/rules/mocha/index.js +0 -9
  172. package/dist/rules/mocha/index.js.map +0 -1
  173. package/dist/rules/svelte/disable.d.ts +0 -5
  174. package/dist/rules/svelte/disable.d.ts.map +0 -1
  175. package/dist/rules/svelte/disable.js +0 -8
  176. package/dist/rules/svelte/disable.js.map +0 -1
  177. package/dist/rules/svelte/disable_js.d.ts +0 -6
  178. package/dist/rules/svelte/disable_js.d.ts.map +0 -1
  179. package/dist/rules/svelte/disable_js.js +0 -9
  180. package/dist/rules/svelte/disable_js.js.map +0 -1
  181. package/dist/rules/svelte/disable_ts.d.ts +0 -6
  182. package/dist/rules/svelte/disable_ts.d.ts.map +0 -1
  183. package/dist/rules/svelte/disable_ts.js +0 -9
  184. package/dist/rules/svelte/disable_ts.js.map +0 -1
  185. package/dist/rules/svelte/enable.d.ts +0 -127
  186. package/dist/rules/svelte/enable.d.ts.map +0 -1
  187. package/dist/rules/svelte/enable.js +0 -193
  188. package/dist/rules/svelte/enable.js.map +0 -1
  189. package/dist/rules/svelte/enable_x.d.ts +0 -8
  190. package/dist/rules/svelte/enable_x.d.ts.map +0 -1
  191. package/dist/rules/svelte/enable_x.js +0 -15
  192. package/dist/rules/svelte/enable_x.js.map +0 -1
  193. package/dist/rules/svelte/index.d.ts +0 -1274
  194. package/dist/rules/svelte/index.d.ts.map +0 -1
  195. package/dist/rules/svelte/index.js +0 -15
  196. package/dist/rules/svelte/index.js.map +0 -1
  197. package/dist/rules/ts/disable.d.ts +0 -18
  198. package/dist/rules/ts/disable.d.ts.map +0 -1
  199. package/dist/rules/ts/disable.js +0 -21
  200. package/dist/rules/ts/disable.js.map +0 -1
  201. package/dist/rules/ts/disable_x.d.ts +0 -28
  202. package/dist/rules/ts/disable_x.d.ts.map +0 -1
  203. package/dist/rules/ts/disable_x.js +0 -31
  204. package/dist/rules/ts/disable_x.js.map +0 -1
  205. package/dist/rules/ts/enable.d.ts +0 -265
  206. package/dist/rules/ts/enable.d.ts.map +0 -1
  207. package/dist/rules/ts/enable.js +0 -520
  208. package/dist/rules/ts/enable.js.map +0 -1
  209. package/dist/rules/ts/enable_x.d.ts +0 -72
  210. package/dist/rules/ts/enable_x.d.ts.map +0 -1
  211. package/dist/rules/ts/enable_x.js +0 -108
  212. package/dist/rules/ts/enable_x.js.map +0 -1
  213. package/dist/rules/ts/index.d.ts +0 -1137
  214. package/dist/rules/ts/index.d.ts.map +0 -1
  215. package/dist/rules/ts/index.js +0 -13
  216. package/dist/rules/ts/index.js.map +0 -1
  217. package/dist/rules/yml/enable.d.ts +0 -39
  218. package/dist/rules/yml/enable.d.ts.map +0 -1
  219. package/dist/rules/yml/enable.js +0 -68
  220. package/dist/rules/yml/enable.js.map +0 -1
  221. package/dist/rules/yml/enable_x.d.ts +0 -37
  222. package/dist/rules/yml/enable_x.d.ts.map +0 -1
  223. package/dist/rules/yml/enable_x.js +0 -66
  224. package/dist/rules/yml/enable_x.js.map +0 -1
  225. package/dist/rules/yml/index.d.ts +0 -73
  226. package/dist/rules/yml/index.d.ts.map +0 -1
  227. package/dist/rules/yml/index.js +0 -7
  228. package/dist/rules/yml/index.js.map +0 -1
  229. package/dist/settings.d.ts +0 -7
  230. package/dist/settings.d.ts.map +0 -1
  231. package/dist/settings.js +0 -7
  232. package/dist/settings.js.map +0 -1
  233. package/src/_strings/id.ts +0 -8
  234. package/src/_strings/index.ts +0 -6
  235. package/src/_strings/level.spec.ts +0 -31
  236. package/src/_strings/level.ts +0 -4
  237. package/src/_strings/state.ts +0 -28
  238. package/src/files/index.ts +0 -20
  239. package/src/files/scopes/html.ts +0 -1
  240. package/src/files/scopes/js.ts +0 -4
  241. package/src/files/scopes/json.ts +0 -1
  242. package/src/files/scopes/jsonc.ts +0 -5
  243. package/src/files/scopes/mocha.ts +0 -4
  244. package/src/files/scopes/svelte.ts +0 -1
  245. package/src/files/scopes/ts.ts +0 -1
  246. package/src/files/scopes/yml.ts +0 -1
  247. package/src/ignores/index.ts +0 -31
  248. package/src/ignores/scopes/html.ts +0 -1
  249. package/src/ignores/scopes/js.ts +0 -1
  250. package/src/ignores/scopes/json.ts +0 -1
  251. package/src/ignores/scopes/jsonc.ts +0 -1
  252. package/src/ignores/scopes/mocha.ts +0 -1
  253. package/src/ignores/scopes/svelte.ts +0 -1
  254. package/src/ignores/scopes/ts.ts +0 -1
  255. package/src/ignores/scopes/yml.ts +0 -1
  256. package/src/rules/html/enable.ts +0 -121
  257. package/src/rules/html/index.ts +0 -3
  258. package/src/rules/index.ts +0 -19
  259. package/src/rules/js/enable.ts +0 -547
  260. package/src/rules/js/index.ts +0 -7
  261. package/src/rules/js/stylistic.ts +0 -664
  262. package/src/rules/json/enable.ts +0 -35
  263. package/src/rules/json/enable_x.ts +0 -91
  264. package/src/rules/json/index.ts +0 -7
  265. package/src/rules/jsonc/index.ts +0 -7
  266. package/src/rules/jsonc/override.ts +0 -18
  267. package/src/rules/mocha/disable.ts +0 -11
  268. package/src/rules/mocha/enable.ts +0 -53
  269. package/src/rules/mocha/index.ts +0 -9
  270. package/src/rules/svelte/disable.ts +0 -12
  271. package/src/rules/svelte/disable_js.ts +0 -11
  272. package/src/rules/svelte/disable_ts.ts +0 -9
  273. package/src/rules/svelte/enable.ts +0 -232
  274. package/src/rules/svelte/enable_x.ts +0 -22
  275. package/src/rules/svelte/index.ts +0 -15
  276. package/src/rules/ts/disable.ts +0 -25
  277. package/src/rules/ts/disable_x.ts +0 -35
  278. package/src/rules/ts/enable.ts +0 -569
  279. package/src/rules/ts/enable_x.ts +0 -117
  280. package/src/rules/ts/index.ts +0 -13
  281. package/src/rules/yml/enable.ts +0 -76
  282. package/src/rules/yml/enable_x.ts +0 -73
  283. package/src/rules/yml/index.ts +0 -7
  284. package/src/settings.ts +0 -6
  285. /package/src/{imports/index.ts → imports.ts} +0 -0
  286. /package/src/{imports/parsers.ts → parsers/index.ts} +0 -0
  287. /package/src/{imports/plugins.ts → plugins/index.ts} +0 -0
@@ -1,520 +0,0 @@
1
- import { enable, ERROR, OFF, Never, Explicit, } from "../../_strings/index.js";
2
- export default [
3
- enable,
4
- {
5
- "@typescript-eslint/adjacent-overload-signatures": OFF,
6
- "@typescript-eslint/array-type": [
7
- ERROR,
8
- {
9
- "default": "array",
10
- readonly: "array",
11
- },
12
- ],
13
- "@typescript-eslint/await-thenable": ERROR,
14
- "@typescript-eslint/ban-ts-comment": [
15
- ERROR,
16
- {
17
- "ts-check": false,
18
- "ts-expect-error": {
19
- descriptionFormat: "^: BUG: .+$",
20
- },
21
- "ts-ignore": true,
22
- "ts-nocheck": true,
23
- minimumDescriptionLength: 32,
24
- },
25
- ],
26
- "@typescript-eslint/ban-tslint-comment": ERROR,
27
- "@typescript-eslint/class-literal-property-style": [
28
- ERROR,
29
- "fields",
30
- ],
31
- "@typescript-eslint/consistent-generic-constructors": [
32
- ERROR,
33
- "constructor",
34
- ],
35
- "@typescript-eslint/consistent-indexed-object-style": [
36
- ERROR,
37
- "record",
38
- ],
39
- "@typescript-eslint/consistent-type-assertions": [
40
- ERROR,
41
- {
42
- assertionStyle: "as",
43
- objectLiteralTypeAssertions: Never,
44
- },
45
- ],
46
- "@typescript-eslint/consistent-type-definitions": OFF,
47
- "@typescript-eslint/consistent-type-exports": [
48
- ERROR,
49
- {
50
- fixMixedExportsWithInlineTypeSpecifier: false,
51
- },
52
- ],
53
- "@typescript-eslint/consistent-type-imports": [
54
- ERROR,
55
- {
56
- disallowTypeAnnotations: true,
57
- fixStyle: "separate-type-imports",
58
- prefer: "type-imports",
59
- },
60
- ],
61
- "@typescript-eslint/explicit-function-return-type": OFF,
62
- "@typescript-eslint/explicit-member-accessibility": [
63
- ERROR,
64
- {
65
- accessibility: Explicit,
66
- ignoredMethodNames: [],
67
- overrides: {
68
- properties: Explicit,
69
- constructors: "no-public",
70
- accessors: Explicit,
71
- methods: Explicit,
72
- parameterProperties: Explicit,
73
- },
74
- },
75
- ],
76
- "@typescript-eslint/explicit-module-boundary-types": OFF,
77
- "@typescript-eslint/member-ordering": [
78
- ERROR,
79
- {
80
- "default": {
81
- memberTypes: [
82
- "signature",
83
- "call-signature",
84
- "public-static-field",
85
- "protected-static-field",
86
- "private-static-field",
87
- "#private-static-field",
88
- "public-decorated-field",
89
- "protected-decorated-field",
90
- "private-decorated-field",
91
- "public-instance-field",
92
- "protected-instance-field",
93
- "private-instance-field",
94
- "#private-instance-field",
95
- "public-abstract-field",
96
- "protected-abstract-field",
97
- "public-field",
98
- "protected-field",
99
- "private-field",
100
- "#private-field",
101
- "static-field",
102
- "instance-field",
103
- "abstract-field",
104
- "decorated-field",
105
- "field",
106
- "static-initialization",
107
- "public-constructor",
108
- "protected-constructor",
109
- "private-constructor",
110
- "constructor",
111
- "public-static-accessor",
112
- "protected-static-accessor",
113
- "private-static-accessor",
114
- "#private-static-accessor",
115
- "public-decorated-accessor",
116
- "protected-decorated-accessor",
117
- "private-decorated-accessor",
118
- "public-instance-accessor",
119
- "protected-instance-accessor",
120
- "private-instance-accessor",
121
- "#private-instance-accessor",
122
- "public-abstract-accessor",
123
- "protected-abstract-accessor",
124
- "public-accessor",
125
- "protected-accessor",
126
- "private-accessor",
127
- "#private-accessor",
128
- "static-accessor",
129
- "instance-accessor",
130
- "abstract-accessor",
131
- "decorated-accessor",
132
- "accessor",
133
- "public-static-get",
134
- "protected-static-get",
135
- "private-static-get",
136
- "#private-static-get",
137
- "public-decorated-get",
138
- "protected-decorated-get",
139
- "private-decorated-get",
140
- "public-instance-get",
141
- "protected-instance-get",
142
- "private-instance-get",
143
- "#private-instance-get",
144
- "public-abstract-get",
145
- "protected-abstract-get",
146
- "public-get",
147
- "protected-get",
148
- "private-get",
149
- "#private-get",
150
- "static-get",
151
- "instance-get",
152
- "abstract-get",
153
- "decorated-get",
154
- "get",
155
- "public-static-set",
156
- "protected-static-set",
157
- "private-static-set",
158
- "#private-static-set",
159
- "public-decorated-set",
160
- "protected-decorated-set",
161
- "private-decorated-set",
162
- "public-instance-set",
163
- "protected-instance-set",
164
- "private-instance-set",
165
- "#private-instance-set",
166
- "public-abstract-set",
167
- "protected-abstract-set",
168
- "public-set",
169
- "protected-set",
170
- "private-set",
171
- "#private-set",
172
- "static-set",
173
- "instance-set",
174
- "abstract-set",
175
- "decorated-set",
176
- "set",
177
- "public-static-method",
178
- "protected-static-method",
179
- "private-static-method",
180
- "#private-static-method",
181
- "public-decorated-method",
182
- "protected-decorated-method",
183
- "private-decorated-method",
184
- "public-instance-method",
185
- "protected-instance-method",
186
- "private-instance-method",
187
- "#private-instance-method",
188
- "public-abstract-method",
189
- "protected-abstract-method",
190
- "public-method",
191
- "protected-method",
192
- "private-method",
193
- "#private-method",
194
- "static-method",
195
- "instance-method",
196
- "abstract-method",
197
- "decorated-method",
198
- "method",
199
- ],
200
- optionalityOrder: "required-first",
201
- order: "as-written",
202
- },
203
- },
204
- ],
205
- "@typescript-eslint/method-signature-style": [
206
- ERROR,
207
- "property",
208
- ],
209
- "@typescript-eslint/naming-convention": OFF,
210
- "@typescript-eslint/no-array-delete": ERROR,
211
- "@typescript-eslint/no-base-to-string": [
212
- ERROR,
213
- {
214
- ignoredTypeNames: [
215
- "Error",
216
- "RegExp",
217
- "URL",
218
- "URLSearchParams",
219
- ],
220
- },
221
- ],
222
- "@typescript-eslint/no-confusing-non-null-assertion": ERROR,
223
- "@typescript-eslint/no-confusing-void-expression": [
224
- ERROR,
225
- {
226
- ignoreArrowShorthand: true,
227
- ignoreVoidOperator: true,
228
- ignoreVoidReturningFunctions: true,
229
- },
230
- ],
231
- "@typescript-eslint/no-duplicate-enum-values": ERROR,
232
- "@typescript-eslint/no-duplicate-type-constituents": [
233
- ERROR,
234
- {
235
- ignoreIntersections: false,
236
- ignoreUnions: false,
237
- },
238
- ],
239
- "@typescript-eslint/no-dynamic-delete": ERROR,
240
- "@typescript-eslint/no-empty-object-type": [
241
- ERROR,
242
- {
243
- allowInterfaces: Never,
244
- allowObjectTypes: Never,
245
- },
246
- ],
247
- "@typescript-eslint/no-explicit-any": [
248
- ERROR,
249
- {
250
- fixToUnknown: true,
251
- ignoreRestArgs: false,
252
- },
253
- ],
254
- "@typescript-eslint/no-extra-non-null-assertion": ERROR,
255
- "@typescript-eslint/no-extraneous-class": [
256
- ERROR,
257
- {
258
- allowConstructorOnly: false,
259
- allowEmpty: true,
260
- allowStaticOnly: false,
261
- allowWithDecorator: false,
262
- },
263
- ],
264
- "@typescript-eslint/no-floating-promises": [
265
- ERROR,
266
- {
267
- checkThenables: true,
268
- ignoreVoid: true,
269
- ignoreIIFE: false,
270
- },
271
- ],
272
- "@typescript-eslint/no-for-in-array": ERROR,
273
- "@typescript-eslint/no-import-type-side-effects": ERROR,
274
- "@typescript-eslint/no-inferrable-types": [
275
- ERROR,
276
- {
277
- ignoreParameters: false,
278
- ignoreProperties: false,
279
- },
280
- ],
281
- "@typescript-eslint/no-invalid-void-type": [
282
- ERROR,
283
- {
284
- allowInGenericTypeArguments: true,
285
- allowAsThisParameter: false,
286
- },
287
- ],
288
- "@typescript-eslint/no-meaningless-void-operator": [
289
- ERROR,
290
- {
291
- checkNever: true,
292
- },
293
- ],
294
- "@typescript-eslint/no-misused-new": ERROR,
295
- "@typescript-eslint/no-misused-promises": [
296
- ERROR,
297
- {
298
- checksConditionals: true,
299
- checksSpreads: true,
300
- checksVoidReturn: {
301
- arguments: true,
302
- attributes: true,
303
- properties: true,
304
- returns: true,
305
- variables: true,
306
- },
307
- },
308
- ],
309
- "@typescript-eslint/no-mixed-enums": ERROR,
310
- "@typescript-eslint/no-namespace": OFF,
311
- "@typescript-eslint/no-non-null-asserted-nullish-coalescing": ERROR,
312
- "@typescript-eslint/no-non-null-asserted-optional-chain": ERROR,
313
- "@typescript-eslint/no-non-null-assertion": ERROR,
314
- "@typescript-eslint/no-redundant-type-constituents": ERROR,
315
- "@typescript-eslint/no-restricted-types": OFF,
316
- "@typescript-eslint/no-require-imports": [
317
- ERROR,
318
- {
319
- allow: [],
320
- },
321
- ],
322
- "@typescript-eslint/no-this-alias": [
323
- ERROR,
324
- {
325
- allowDestructuring: true,
326
- allowedNames: [],
327
- },
328
- ],
329
- "@typescript-eslint/no-unnecessary-boolean-literal-compare": [
330
- ERROR,
331
- {
332
- allowComparingNullableBooleansToTrue: true,
333
- allowComparingNullableBooleansToFalse: true,
334
- },
335
- ],
336
- "@typescript-eslint/no-unnecessary-condition": [
337
- ERROR,
338
- {
339
- allowConstantLoopConditions: false,
340
- allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false,
341
- },
342
- ],
343
- "@typescript-eslint/no-unnecessary-qualifier": ERROR,
344
- "@typescript-eslint/no-unnecessary-template-expression": ERROR,
345
- "@typescript-eslint/no-unnecessary-type-arguments": ERROR,
346
- "@typescript-eslint/no-unnecessary-type-assertion": [
347
- ERROR,
348
- {
349
- typesToIgnore: [],
350
- },
351
- ],
352
- "@typescript-eslint/no-unnecessary-type-constraint": ERROR,
353
- "@typescript-eslint/no-unnecessary-type-parameters": ERROR,
354
- "@typescript-eslint/no-unsafe-argument": ERROR,
355
- "@typescript-eslint/no-unsafe-assignment": ERROR,
356
- "@typescript-eslint/no-unsafe-call": ERROR,
357
- "@typescript-eslint/no-unsafe-declaration-merging": ERROR,
358
- "@typescript-eslint/no-unsafe-enum-comparison": ERROR,
359
- "@typescript-eslint/no-unsafe-function-type": ERROR,
360
- "@typescript-eslint/no-unsafe-member-access": ERROR,
361
- "@typescript-eslint/no-unsafe-return": ERROR,
362
- "@typescript-eslint/no-unsafe-unary-minus": ERROR,
363
- "@typescript-eslint/no-useless-empty-export": ERROR,
364
- "@typescript-eslint/no-wrapper-object-types": ERROR,
365
- "@typescript-eslint/non-nullable-type-assertion-style": OFF,
366
- "@typescript-eslint/parameter-properties": [
367
- ERROR,
368
- {
369
- prefer: "parameter-property",
370
- },
371
- ],
372
- "@typescript-eslint/prefer-as-const": ERROR,
373
- "@typescript-eslint/prefer-enum-initializers": ERROR,
374
- "@typescript-eslint/prefer-find": ERROR,
375
- "@typescript-eslint/prefer-for-of": ERROR,
376
- "@typescript-eslint/prefer-function-type": ERROR,
377
- "@typescript-eslint/prefer-includes": ERROR,
378
- "@typescript-eslint/prefer-literal-enum-member": [
379
- ERROR,
380
- {
381
- allowBitwiseExpressions: false,
382
- },
383
- ],
384
- "@typescript-eslint/prefer-namespace-keyword": ERROR,
385
- "@typescript-eslint/prefer-nullish-coalescing": [
386
- ERROR,
387
- {
388
- allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false,
389
- ignoreBooleanCoercion: false,
390
- ignoreConditionalTests: false,
391
- ignoreMixedLogicalExpressions: false,
392
- ignorePrimitives: {
393
- bigint: false,
394
- "boolean": false,
395
- number: false,
396
- string: false,
397
- },
398
- ignoreTernaryTests: false,
399
- },
400
- ],
401
- "@typescript-eslint/prefer-optional-chain": [
402
- ERROR,
403
- {
404
- allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing: false,
405
- checkAny: true,
406
- checkBigInt: true,
407
- checkBoolean: true,
408
- checkNumber: true,
409
- checkString: true,
410
- checkUnknown: true,
411
- requireNullish: false,
412
- },
413
- ],
414
- "@typescript-eslint/prefer-readonly": [
415
- ERROR,
416
- {
417
- onlyInlineLambdas: false,
418
- },
419
- ],
420
- "@typescript-eslint/prefer-readonly-parameter-types": OFF,
421
- "@typescript-eslint/prefer-reduce-type-parameter": ERROR,
422
- "@typescript-eslint/prefer-regexp-exec": ERROR,
423
- "@typescript-eslint/prefer-return-this-type": ERROR,
424
- "@typescript-eslint/prefer-string-starts-ends-with": [
425
- ERROR,
426
- {
427
- allowSingleElementEquality: Never,
428
- },
429
- ],
430
- "@typescript-eslint/promise-function-async": [
431
- ERROR,
432
- {
433
- allowAny: false,
434
- allowedPromiseNames: [],
435
- checkArrowFunctions: true,
436
- checkFunctionDeclarations: true,
437
- checkFunctionExpressions: true,
438
- checkMethodDeclarations: true,
439
- },
440
- ],
441
- "@typescript-eslint/require-array-sort-compare": [
442
- ERROR,
443
- {
444
- ignoreStringArrays: true,
445
- },
446
- ],
447
- "@typescript-eslint/restrict-plus-operands": [
448
- ERROR,
449
- {
450
- allowAny: false,
451
- allowBoolean: false,
452
- allowNullish: false,
453
- allowNumberAndString: false,
454
- allowRegExp: false,
455
- skipCompoundAssignments: false,
456
- },
457
- ],
458
- "@typescript-eslint/restrict-template-expressions": [
459
- ERROR,
460
- {
461
- allowAny: true,
462
- allowArray: true,
463
- allowBoolean: true,
464
- allowNullish: false,
465
- allowNumber: true,
466
- allowNever: false,
467
- allowRegExp: false,
468
- },
469
- ],
470
- "@typescript-eslint/return-await": [
471
- ERROR,
472
- "in-try-catch",
473
- ],
474
- "@typescript-eslint/strict-boolean-expressions": [
475
- ERROR,
476
- {
477
- allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false,
478
- allowAny: false,
479
- allowNumber: true,
480
- allowString: false,
481
- allowNullableBoolean: false,
482
- allowNullableEnum: false,
483
- allowNullableNumber: false,
484
- allowNullableObject: false,
485
- allowNullableString: false,
486
- },
487
- ],
488
- "@typescript-eslint/switch-exhaustiveness-check": [
489
- ERROR,
490
- {
491
- allowDefaultCaseForExhaustiveSwitch: false,
492
- considerDefaultExhaustiveForUnions: true,
493
- requireDefaultForNonUnion: true,
494
- },
495
- ],
496
- "@typescript-eslint/triple-slash-reference": [
497
- ERROR,
498
- {
499
- lib: Never,
500
- path: Never,
501
- types: Never,
502
- },
503
- ],
504
- "@typescript-eslint/typedef": OFF,
505
- "@typescript-eslint/unbound-method": [
506
- ERROR,
507
- {
508
- ignoreStatic: false,
509
- },
510
- ],
511
- "@typescript-eslint/unified-signatures": [
512
- ERROR,
513
- {
514
- ignoreDifferentlyNamedParameters: false,
515
- },
516
- ],
517
- "@typescript-eslint/use-unknown-in-catch-callback-variable": ERROR,
518
- },
519
- ];
520
- //# sourceMappingURL=enable.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/ts/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,KAAK,EACL,GAAG,EACH,KAAK,EACL,QAAQ,GACT,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb,MAAM;IACN;QAEE,iDAAiD,EAAE,GAAG;QACtD,+BAA+B,EAAE;YAC/B,KAAK;YACL;gBACE,SAAS,EAAE,OAAO;gBAClB,QAAQ,EAAE,OAAO;aAClB;SACF;QACD,mCAAmC,EAAE,KAAK;QAC1C,mCAAmC,EAAE;YACnC,KAAK;YACL;gBACE,UAAU,EAAE,KAAK;gBACjB,iBAAiB,EAAE;oBACjB,iBAAiB,EAAE,aAAa;iBACjC;gBACD,WAAW,EAAE,IAAI;gBACjB,YAAY,EAAE,IAAI;gBAClB,wBAAwB,EAAE,EAAE;aAC7B;SACF;QACD,uCAAuC,EAAE,KAAK;QAC9C,iDAAiD,EAAE;YACjD,KAAK;YACL,QAAQ;SACT;QACD,oDAAoD,EAAE;YACpD,KAAK;YACL,aAAa;SACd;QACD,oDAAoD,EAAE;YACpD,KAAK;YACL,QAAQ;SACT;QACD,+CAA+C,EAAE;YAC/C,KAAK;YACL;gBACE,cAAc,EAAE,IAAI;gBACpB,2BAA2B,EAAE,KAAK;aACnC;SACF;QACD,gDAAgD,EAAE,GAAG;QACrD,4CAA4C,EAAE;YAC5C,KAAK;YACL;gBACE,sCAAsC,EAAE,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,mCAAmC,EAAE,KAAK;gBAC1C,kCAAkC,EAAE,IAAI;gBACxC,yBAAyB,EAAE,IAAI;aAChC;SACF;QACD,2CAA2C,EAAE;YAC3C,KAAK;YACL;gBACE,GAAG,EAAE,KAAK;gBACV,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;aACb;SACF;QACD,4BAA4B,EAAE,GAAG;QACjC,mCAAmC,EAAE;YACnC,KAAK;YACL;gBACE,YAAY,EAAE,KAAK;aACpB;SACF;QACD,uCAAuC,EAAE;YACvC,KAAK;YACL;gBACE,gCAAgC,EAAE,KAAK;aACxC;SACF;QACD,2DAA2D,EAAE,KAAK;KACnE;CACO,CAAC"}
@@ -1,72 +0,0 @@
1
- declare const _default: readonly ["enable-extend", {
2
- readonly "@typescript-eslint/class-methods-use-this": "off";
3
- readonly "@typescript-eslint/consistent-return": "off";
4
- readonly "@typescript-eslint/default-param-last": "error";
5
- readonly "@typescript-eslint/dot-notation": readonly ["error", {
6
- readonly allowKeywords: true;
7
- readonly allowPrivateClassPropertyAccess: true;
8
- readonly allowProtectedClassPropertyAccess: true;
9
- readonly allowIndexSignaturePropertyAccess: true;
10
- }];
11
- readonly "@typescript-eslint/init-declarations": readonly ["error", "always"];
12
- readonly "@typescript-eslint/max-params": "off";
13
- readonly "@typescript-eslint/no-array-constructor": "error";
14
- readonly "@typescript-eslint/no-dupe-class-members": "off";
15
- readonly "@typescript-eslint/no-empty-function": readonly ["error", {
16
- readonly allow: readonly ["constructors", "private-constructors", "protected-constructors", "decoratedFunctions"];
17
- }];
18
- readonly "@typescript-eslint/no-implied-eval": "error";
19
- readonly "@typescript-eslint/no-invalid-this": "off";
20
- readonly "@typescript-eslint/no-loop-func": "error";
21
- readonly "@typescript-eslint/no-magic-numbers": "off";
22
- readonly "@typescript-eslint/no-redeclare": "off";
23
- readonly "@typescript-eslint/no-restricted-imports": "off";
24
- readonly "@typescript-eslint/no-shadow": "off";
25
- readonly "@typescript-eslint/no-unused-expressions": readonly ["error", {
26
- readonly allowShortCircuit: true;
27
- readonly allowTernary: true;
28
- readonly allowTaggedTemplates: true;
29
- readonly enforceForJSX: false;
30
- }];
31
- readonly "@typescript-eslint/no-unused-vars": readonly ["error", {
32
- readonly vars: "all";
33
- readonly args: "all";
34
- readonly caughtErrors: "all";
35
- readonly ignoreRestSiblings: false;
36
- readonly ignoreClassWithStaticInitBlock: false;
37
- readonly reportUsedIgnorePattern: true;
38
- }];
39
- readonly "@typescript-eslint/no-use-before-define": readonly ["error", {
40
- readonly functions: true;
41
- readonly classes: true;
42
- readonly variables: true;
43
- readonly allowNamedExports: false;
44
- readonly enums: true;
45
- readonly typedefs: false;
46
- readonly ignoreTypeReferences: true;
47
- }];
48
- readonly "@typescript-eslint/no-useless-constructor": "error";
49
- readonly "@typescript-eslint/only-throw-error": readonly ["error", {
50
- readonly allowThrowingAny: false;
51
- readonly allowThrowingUnknown: false;
52
- }];
53
- readonly "@typescript-eslint/prefer-destructuring": readonly ["error", {
54
- readonly VariableDeclarator: {
55
- readonly array: true;
56
- readonly object: true;
57
- };
58
- readonly AssignmentExpression: {
59
- readonly array: false;
60
- readonly object: false;
61
- };
62
- }, {
63
- readonly enforceForRenamedProperties: false;
64
- readonly enforceForDeclarationWithTypeAnnotation: false;
65
- }];
66
- readonly "@typescript-eslint/prefer-promise-reject-errors": readonly ["error", {
67
- readonly allowEmptyReject: false;
68
- }];
69
- readonly "@typescript-eslint/require-await": "error";
70
- }];
71
- export default _default;
72
- //# sourceMappingURL=enable_x.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"enable_x.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/enable_x.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,wBA4GW"}