linted 22.0.0-rc.3 → 22.0.1

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,1137 +0,0 @@
1
- declare const _default: (readonly ["stylistic", {
2
- readonly "@stylistic/array-bracket-newline": readonly ["error", {
3
- readonly multiline: true;
4
- readonly minItems: null;
5
- }];
6
- readonly "@stylistic/array-bracket-spacing": readonly ["error", "never", {
7
- readonly singleValue: false;
8
- readonly objectsInArrays: false;
9
- readonly arraysInArrays: false;
10
- }];
11
- readonly "@stylistic/array-element-newline": readonly ["error", {
12
- readonly ArrayExpression: {
13
- readonly consistent: true;
14
- readonly multiline: true;
15
- readonly minItems: 4;
16
- };
17
- readonly ArrayPattern: {
18
- readonly consistent: true;
19
- readonly multiline: true;
20
- readonly minItems: 4;
21
- };
22
- }];
23
- readonly "@stylistic/arrow-parens": readonly ["error", "as-needed", {
24
- readonly requireForBlockBody: false;
25
- }];
26
- readonly "@stylistic/arrow-spacing": readonly ["error", {
27
- readonly before: true;
28
- readonly after: true;
29
- }];
30
- readonly "@stylistic/block-spacing": readonly ["error", "always"];
31
- readonly "@stylistic/brace-style": readonly ["error", "stroustrup", {
32
- readonly allowSingleLine: true;
33
- }];
34
- readonly "@stylistic/comma-dangle": readonly ["error", "always-multiline"];
35
- readonly "@stylistic/comma-spacing": readonly ["error", {
36
- readonly before: false;
37
- readonly after: true;
38
- }];
39
- readonly "@stylistic/comma-style": readonly ["error", "last", {
40
- readonly exceptions: {
41
- readonly ArrayExpression: false;
42
- readonly ArrayPattern: false;
43
- readonly ArrowFunctionExpression: false;
44
- readonly CallExpression: false;
45
- readonly FunctionDeclaration: false;
46
- readonly FunctionExpression: false;
47
- readonly ImportDeclaration: false;
48
- readonly ObjectExpression: false;
49
- readonly ObjectPattern: false;
50
- readonly VariableDeclaration: false;
51
- readonly NewExpression: false;
52
- };
53
- }];
54
- readonly "@stylistic/computed-property-spacing": readonly ["error", "never", {
55
- readonly enforceForClassMembers: true;
56
- }];
57
- readonly "@stylistic/dot-location": readonly ["error", "property"];
58
- readonly "@stylistic/eol-last": readonly ["error", "always"];
59
- readonly "@stylistic/function-call-argument-newline": readonly ["error", "consistent"];
60
- readonly "@stylistic/function-call-spacing": readonly ["error", "never"];
61
- readonly "@stylistic/function-paren-newline": readonly ["error", "multiline-arguments"];
62
- readonly "@stylistic/generator-star-spacing": readonly ["error", {
63
- readonly before: true;
64
- readonly after: false;
65
- }];
66
- readonly "@stylistic/implicit-arrow-linebreak": readonly ["error", "beside"];
67
- readonly "@stylistic/indent": readonly ["error", 2, {
68
- readonly ignoredNodes: readonly [];
69
- readonly SwitchCase: 1;
70
- readonly VariableDeclarator: {
71
- readonly var: 0;
72
- readonly let: 0;
73
- readonly const: 0;
74
- };
75
- readonly outerIIFEBody: 0;
76
- readonly MemberExpression: 1;
77
- readonly FunctionDeclaration: {
78
- readonly parameters: 1;
79
- readonly body: 1;
80
- };
81
- readonly FunctionExpression: {
82
- readonly parameters: 1;
83
- readonly body: 1;
84
- };
85
- readonly StaticBlock: {
86
- readonly body: 1;
87
- };
88
- readonly CallExpression: {
89
- readonly arguments: 1;
90
- };
91
- readonly ArrayExpression: 1;
92
- readonly ObjectExpression: 1;
93
- readonly ImportDeclaration: 1;
94
- readonly flatTernaryExpressions: false;
95
- readonly offsetTernaryExpressions: true;
96
- readonly ignoreComments: false;
97
- }];
98
- readonly "@stylistic/indent-binary-ops": readonly ["error", 2];
99
- readonly "@stylistic/key-spacing": readonly ["error", {
100
- readonly beforeColon: false;
101
- readonly afterColon: true;
102
- readonly mode: "strict";
103
- }];
104
- readonly "@stylistic/keyword-spacing": readonly ["error", {
105
- readonly before: true;
106
- readonly after: true;
107
- readonly overrides: {};
108
- }];
109
- readonly "@stylistic/line-comment-position": "off";
110
- readonly "@stylistic/lines-around-comment": readonly ["error", {
111
- readonly beforeBlockComment: false;
112
- readonly afterBlockComment: false;
113
- readonly beforeLineComment: true;
114
- readonly afterLineComment: false;
115
- readonly allowBlockStart: true;
116
- readonly allowBlockEnd: true;
117
- readonly allowObjectStart: true;
118
- readonly allowObjectEnd: true;
119
- readonly allowArrayStart: true;
120
- readonly allowArrayEnd: true;
121
- readonly allowClassStart: true;
122
- readonly allowClassEnd: true;
123
- readonly applyDefaultIgnorePatterns: true;
124
- readonly afterHashbangComment: false;
125
- readonly allowEnumEnd: true;
126
- readonly allowEnumStart: true;
127
- readonly allowInterfaceEnd: true;
128
- readonly allowInterfaceStart: true;
129
- readonly allowModuleEnd: true;
130
- readonly allowModuleStart: true;
131
- readonly allowTypeEnd: true;
132
- readonly allowTypeStart: true;
133
- }];
134
- readonly "@stylistic/lines-between-class-members": readonly ["error", {
135
- readonly enforce: readonly [{
136
- readonly prev: "field";
137
- readonly next: "field";
138
- readonly blankLine: "never";
139
- }, {
140
- readonly prev: "field";
141
- readonly next: "method";
142
- readonly blankLine: "always";
143
- }, {
144
- readonly prev: "method";
145
- readonly next: "*";
146
- readonly blankLine: "always";
147
- }];
148
- }, {
149
- readonly exceptAfterSingleLine: false;
150
- readonly exceptAfterOverload: true;
151
- }];
152
- readonly "@stylistic/max-len": readonly ["error", {
153
- readonly code: 150;
154
- readonly tabWidth: 2;
155
- readonly ignoreComments: true;
156
- readonly ignoreTrailingComments: true;
157
- readonly ignoreUrls: true;
158
- readonly ignoreStrings: true;
159
- readonly ignoreTemplateLiterals: true;
160
- readonly ignoreRegExpLiterals: true;
161
- }];
162
- readonly "@stylistic/max-statements-per-line": readonly ["error", {
163
- readonly max: 1;
164
- }];
165
- readonly "@stylistic/member-delimiter-style": readonly ["error", {
166
- readonly multiline: {
167
- readonly delimiter: "semi";
168
- readonly requireLast: true;
169
- };
170
- readonly singleline: {
171
- readonly delimiter: "semi";
172
- readonly requireLast: false;
173
- };
174
- readonly multilineDetection: "brackets";
175
- }];
176
- readonly "@stylistic/multiline-comment-style": "off";
177
- readonly "@stylistic/multiline-ternary": readonly ["error", "always-multiline"];
178
- readonly "@stylistic/new-parens": readonly ["off", "never"];
179
- readonly "@stylistic/newline-per-chained-call": readonly ["error", {
180
- readonly ignoreChainWithDepth: 2;
181
- }];
182
- readonly "@stylistic/no-confusing-arrow": "off";
183
- readonly "@stylistic/no-extra-parens": readonly ["error", "all", {
184
- readonly conditionalAssign: true;
185
- readonly returnAssign: true;
186
- readonly nestedBinaryExpressions: true;
187
- readonly ternaryOperandBinaryExpressions: true;
188
- readonly enforceForArrowConditionals: true;
189
- readonly enforceForSequenceExpressions: true;
190
- readonly enforceForNewInMemberExpressions: true;
191
- readonly enforceForFunctionPrototypeMethods: true;
192
- }];
193
- readonly "@stylistic/no-extra-semi": "error";
194
- readonly "@stylistic/no-floating-decimal": "error";
195
- readonly "@stylistic/no-mixed-operators": "off";
196
- readonly "@stylistic/no-mixed-spaces-and-tabs": "error";
197
- readonly "@stylistic/no-multi-spaces": readonly ["error", {
198
- readonly ignoreEOLComments: false;
199
- readonly exceptions: {
200
- readonly Property: false;
201
- readonly ImportAttributes: false;
202
- };
203
- readonly includeTabs: true;
204
- }];
205
- readonly "@stylistic/no-multiple-empty-lines": readonly ["error", {
206
- readonly max: 1;
207
- readonly maxEOF: 1;
208
- readonly maxBOF: 0;
209
- }];
210
- readonly "@stylistic/no-tabs": readonly ["error", {
211
- readonly allowIndentationTabs: false;
212
- }];
213
- readonly "@stylistic/no-trailing-spaces": readonly ["error", {
214
- readonly skipBlankLines: false;
215
- readonly ignoreComments: false;
216
- }];
217
- readonly "@stylistic/no-whitespace-before-property": "error";
218
- readonly "@stylistic/nonblock-statement-body-position": readonly ["error", "below", {
219
- readonly overrides: {
220
- readonly if: "below";
221
- readonly else: "below";
222
- readonly while: "below";
223
- readonly do: "below";
224
- readonly for: "below";
225
- };
226
- }];
227
- readonly "@stylistic/object-curly-newline": readonly ["error", {
228
- readonly ObjectExpression: {
229
- readonly consistent: true;
230
- readonly multiline: true;
231
- readonly minProperties: 4;
232
- };
233
- readonly ObjectPattern: {
234
- readonly consistent: true;
235
- readonly multiline: true;
236
- readonly minProperties: 4;
237
- };
238
- readonly ImportDeclaration: {
239
- readonly consistent: true;
240
- readonly multiline: true;
241
- readonly minProperties: 4;
242
- };
243
- readonly ExportDeclaration: {
244
- readonly consistent: true;
245
- readonly multiline: true;
246
- readonly minProperties: 4;
247
- };
248
- }];
249
- readonly "@stylistic/object-curly-spacing": readonly ["error", "always", {
250
- readonly arraysInObjects: true;
251
- readonly objectsInObjects: true;
252
- }];
253
- readonly "@stylistic/object-property-newline": readonly ["error", {
254
- readonly allowAllPropertiesOnSameLine: true;
255
- }];
256
- readonly "@stylistic/one-var-declaration-per-line": readonly ["error", "always"];
257
- readonly "@stylistic/operator-linebreak": readonly ["error", "before", {
258
- readonly overrides: {
259
- readonly "=": "after";
260
- };
261
- }];
262
- readonly "@stylistic/padded-blocks": readonly ["error", {
263
- readonly blocks: "never";
264
- readonly classes: "never";
265
- readonly switches: "never";
266
- }, {
267
- readonly allowSingleLineBlocks: true;
268
- }];
269
- readonly "@stylistic/padding-line-between-statements": readonly ["error", {
270
- readonly prev: "directive";
271
- readonly next: "*";
272
- readonly blankLine: "always";
273
- }, {
274
- readonly prev: "directive";
275
- readonly next: "directive";
276
- readonly blankLine: "never";
277
- }, {
278
- readonly prev: readonly ["import", "cjs-import"];
279
- readonly next: "*";
280
- readonly blankLine: "always";
281
- }, {
282
- readonly prev: readonly ["import", "cjs-import"];
283
- readonly next: readonly ["import", "cjs-import"];
284
- readonly blankLine: "never";
285
- }, {
286
- readonly prev: readonly ["class", "interface", "try", "for", "if", "do", "while", "switch", "block", "block-like", "iife", "empty", "debugger", "with"];
287
- readonly next: "*";
288
- readonly blankLine: "always";
289
- }, {
290
- readonly prev: "case";
291
- readonly next: "*";
292
- readonly blankLine: "always";
293
- }, {
294
- readonly prev: "case";
295
- readonly next: readonly ["case", "default"];
296
- readonly blankLine: "always";
297
- }, {
298
- readonly prev: "default";
299
- readonly next: "*";
300
- readonly blankLine: "always";
301
- }, {
302
- readonly prev: "type";
303
- readonly next: "*";
304
- readonly blankLine: "always";
305
- }, {
306
- readonly prev: "type";
307
- readonly next: "type";
308
- readonly blankLine: "never";
309
- }, {
310
- readonly prev: "function";
311
- readonly next: "*";
312
- readonly blankLine: "always";
313
- }, {
314
- readonly prev: "function-overload";
315
- readonly next: "*";
316
- readonly blankLine: "always";
317
- }, {
318
- readonly prev: "function-overload";
319
- readonly next: "function-overload";
320
- readonly blankLine: "never";
321
- }, {
322
- readonly prev: "function-overload";
323
- readonly next: "function";
324
- readonly blankLine: "never";
325
- }, {
326
- readonly prev: readonly ["const", "let", "var"];
327
- readonly next: "*";
328
- readonly blankLine: "always";
329
- }, {
330
- readonly prev: readonly ["const", "let", "var"];
331
- readonly next: readonly ["const", "let", "var"];
332
- readonly blankLine: "never";
333
- }, {
334
- readonly prev: "expression";
335
- readonly next: "*";
336
- readonly blankLine: "always";
337
- }, {
338
- readonly prev: "expression";
339
- readonly next: "expression";
340
- readonly blankLine: "never";
341
- }, {
342
- readonly prev: "*";
343
- readonly next: readonly ["throw", "return", "break", "continue"];
344
- readonly blankLine: "always";
345
- }, {
346
- readonly prev: "*";
347
- readonly next: readonly ["export", "cjs-export"];
348
- readonly blankLine: "always";
349
- }, {
350
- readonly prev: readonly ["export", "cjs-export"];
351
- readonly next: readonly ["export", "cjs-export"];
352
- readonly blankLine: "never";
353
- }];
354
- readonly "@stylistic/quote-props": readonly ["error", "as-needed", {
355
- readonly keywords: true;
356
- readonly unnecessary: true;
357
- readonly numbers: false;
358
- }];
359
- readonly "@stylistic/quotes": readonly ["error", "double", {
360
- readonly avoidEscape: true;
361
- readonly allowTemplateLiterals: true;
362
- }];
363
- readonly "@stylistic/rest-spread-spacing": readonly ["error", "never"];
364
- readonly "@stylistic/semi": readonly ["error", "always", {
365
- readonly omitLastInOneLineBlock: false;
366
- readonly omitLastInOneLineClassBody: false;
367
- }];
368
- readonly "@stylistic/semi-spacing": readonly ["error", {
369
- readonly before: false;
370
- readonly after: true;
371
- }];
372
- readonly "@stylistic/semi-style": readonly ["error", "last"];
373
- readonly "@stylistic/space-before-blocks": readonly ["error", {
374
- readonly functions: "always";
375
- readonly keywords: "always";
376
- readonly classes: "always";
377
- }];
378
- readonly "@stylistic/space-before-function-paren": readonly ["error", {
379
- readonly anonymous: "always";
380
- readonly named: "never";
381
- readonly asyncArrow: "always";
382
- }];
383
- readonly "@stylistic/space-in-parens": readonly ["error", "never"];
384
- readonly "@stylistic/space-infix-ops": readonly ["error", {
385
- readonly int32Hint: true;
386
- }];
387
- readonly "@stylistic/space-unary-ops": readonly ["error", {
388
- readonly words: true;
389
- readonly nonwords: false;
390
- readonly overrides: {};
391
- }];
392
- readonly "@stylistic/spaced-comment": readonly ["error", "always"];
393
- readonly "@stylistic/switch-colon-spacing": readonly ["error", {
394
- readonly after: true;
395
- readonly before: false;
396
- }];
397
- readonly "@stylistic/template-curly-spacing": readonly ["error", "never"];
398
- readonly "@stylistic/template-tag-spacing": readonly ["error", "never"];
399
- readonly "@stylistic/type-annotation-spacing": readonly ["error", {
400
- readonly before: true;
401
- readonly after: true;
402
- readonly overrides: {
403
- readonly colon: {
404
- readonly before: false;
405
- readonly after: true;
406
- };
407
- };
408
- }];
409
- readonly "@stylistic/type-generic-spacing": "error";
410
- readonly "@stylistic/type-named-tuple-spacing": "error";
411
- readonly "@stylistic/wrap-iife": readonly ["error", "inside", {
412
- readonly functionPrototypeMethods: true;
413
- }];
414
- readonly "@stylistic/wrap-regex": "error";
415
- readonly "@stylistic/yield-star-spacing": readonly ["error", {
416
- readonly before: false;
417
- readonly after: true;
418
- }];
419
- }] | readonly ["enable", {
420
- readonly "array-callback-return": readonly ["error", {
421
- readonly allowImplicit: false;
422
- readonly checkForEach: true;
423
- readonly allowVoid: true;
424
- }];
425
- readonly "constructor-super": "error";
426
- readonly "for-direction": "error";
427
- readonly "getter-return": readonly ["error", {
428
- readonly allowImplicit: false;
429
- }];
430
- readonly "no-async-promise-executor": "error";
431
- readonly "no-await-in-loop": "error";
432
- readonly "no-class-assign": "error";
433
- readonly "no-compare-neg-zero": "error";
434
- readonly "no-cond-assign": readonly ["error", "always"];
435
- readonly "no-const-assign": "error";
436
- readonly "no-constant-binary-expression": "error";
437
- readonly "no-constant-condition": readonly ["error", {
438
- readonly checkLoops: true;
439
- }];
440
- readonly "no-constructor-return": "error";
441
- readonly "no-control-regex": "error";
442
- readonly "no-debugger": "error";
443
- readonly "no-dupe-args": "error";
444
- readonly "no-dupe-class-members": "error";
445
- readonly "no-dupe-else-if": "error";
446
- readonly "no-dupe-keys": "error";
447
- readonly "no-duplicate-case": "error";
448
- readonly "no-duplicate-imports": "off";
449
- readonly "no-empty-character-class": "error";
450
- readonly "no-empty-pattern": readonly ["error", {
451
- readonly allowObjectPatternsAsParameters: false;
452
- }];
453
- readonly "no-ex-assign": "error";
454
- readonly "no-fallthrough": readonly ["error", {
455
- readonly allowEmptyCase: true;
456
- readonly reportUnusedFallthroughComment: true;
457
- }];
458
- readonly "no-func-assign": "error";
459
- readonly "no-import-assign": "error";
460
- readonly "no-inner-declarations": readonly ["error", "both", {
461
- readonly blockScopedFunctions: "allow";
462
- }];
463
- readonly "no-invalid-regexp": readonly ["error", {
464
- readonly allowConstructorFlags: readonly [];
465
- }];
466
- readonly "no-irregular-whitespace": readonly ["error", {
467
- readonly skipStrings: true;
468
- readonly skipComments: true;
469
- readonly skipRegExps: true;
470
- readonly skipTemplates: true;
471
- readonly skipJSXText: true;
472
- }];
473
- readonly "no-loss-of-precision": "error";
474
- readonly "no-misleading-character-class": "error";
475
- readonly "no-new-native-nonconstructor": "error";
476
- readonly "no-obj-calls": "error";
477
- readonly "no-promise-executor-return": readonly ["error", {
478
- readonly allowVoid: true;
479
- }];
480
- readonly "no-prototype-builtins": "error";
481
- readonly "no-self-assign": readonly ["error", {
482
- readonly props: true;
483
- }];
484
- readonly "no-self-compare": "error";
485
- readonly "no-setter-return": "error";
486
- readonly "no-sparse-arrays": "error";
487
- readonly "no-template-curly-in-string": "error";
488
- readonly "no-this-before-super": "error";
489
- readonly "no-undef": "error";
490
- readonly "no-unexpected-multiline": "error";
491
- readonly "no-unmodified-loop-condition": "error";
492
- readonly "no-unreachable": "error";
493
- readonly "no-unreachable-loop": readonly ["error", {
494
- readonly ignore: readonly [];
495
- }];
496
- readonly "no-unsafe-finally": "error";
497
- readonly "no-unsafe-negation": readonly ["error", {
498
- readonly enforceForOrderingRelations: true;
499
- }];
500
- readonly "no-unsafe-optional-chaining": readonly ["error", {
501
- readonly disallowArithmeticOperators: true;
502
- }];
503
- readonly "no-unused-private-class-members": "error";
504
- readonly "no-unused-vars": readonly ["error", {
505
- readonly vars: "all";
506
- readonly args: "all";
507
- readonly caughtErrors: "all";
508
- readonly ignoreRestSiblings: false;
509
- readonly ignoreClassWithStaticInitBlock: false;
510
- readonly reportUsedIgnorePattern: true;
511
- }];
512
- readonly "no-use-before-define": readonly ["error", {
513
- readonly functions: true;
514
- readonly classes: true;
515
- readonly variables: true;
516
- readonly allowNamedExports: false;
517
- }];
518
- readonly "no-useless-assignment": "error";
519
- readonly "no-useless-backreference": "error";
520
- readonly "require-atomic-updates": readonly ["error", {
521
- readonly allowProperties: false;
522
- }];
523
- readonly "use-isnan": readonly ["error", {
524
- readonly enforceForSwitchCase: true;
525
- readonly enforceForIndexOf: true;
526
- }];
527
- readonly "valid-typeof": readonly ["error", {
528
- readonly requireStringLiterals: true;
529
- }];
530
- readonly "accessor-pairs": readonly ["error", {
531
- readonly setWithoutGet: true;
532
- readonly getWithoutSet: false;
533
- readonly enforceForClassMembers: true;
534
- }];
535
- readonly "arrow-body-style": readonly ["error", "as-needed", {
536
- readonly requireReturnForObjectLiteral: true;
537
- }];
538
- readonly "block-scoped-var": "error";
539
- readonly camelcase: "off";
540
- readonly "capitalized-comments": "off";
541
- readonly "class-methods-use-this": "off";
542
- readonly complexity: "off";
543
- readonly "consistent-return": readonly ["error", {
544
- readonly treatUndefinedAsUnspecified: false;
545
- }];
546
- readonly "consistent-this": "error";
547
- readonly curly: readonly ["error", "multi"];
548
- readonly "default-case": "off";
549
- readonly "default-case-last": "error";
550
- readonly "default-param-last": "error";
551
- readonly "dot-notation": readonly ["error", {
552
- readonly allowKeywords: true;
553
- }];
554
- readonly eqeqeq: readonly ["error", "always"];
555
- readonly "func-name-matching": "off";
556
- readonly "func-names": "off";
557
- readonly "func-style": "off";
558
- readonly "grouped-accessor-pairs": "off";
559
- readonly "guard-for-in": "off";
560
- readonly "id-denylist": "off";
561
- readonly "id-length": "off";
562
- readonly "id-match": "off";
563
- readonly "init-declarations": readonly ["error", "always"];
564
- readonly "logical-assignment-operators": readonly ["error", "always", {
565
- readonly enforceForIfStatements: true;
566
- }];
567
- readonly "max-classes-per-file": "off";
568
- readonly "max-depth": "off";
569
- readonly "max-lines": "off";
570
- readonly "max-lines-per-function": "off";
571
- readonly "max-nested-callbacks": "off";
572
- readonly "max-params": "off";
573
- readonly "max-statements": "off";
574
- readonly "multiline-comment-style": "off";
575
- readonly "new-cap": "off";
576
- readonly "no-alert": "error";
577
- readonly "no-array-constructor": "error";
578
- readonly "no-bitwise": readonly ["error", {
579
- readonly allow: readonly [];
580
- readonly int32Hint: true;
581
- }];
582
- readonly "no-caller": "error";
583
- readonly "no-case-declarations": "error";
584
- readonly "no-console": "off";
585
- readonly "no-continue": "error";
586
- readonly "no-delete-var": "error";
587
- readonly "no-div-regex": "error";
588
- readonly "no-else-return": "off";
589
- readonly "no-empty": readonly ["error", {
590
- readonly allowEmptyCatch: false;
591
- }];
592
- readonly "no-empty-function": readonly ["error", {
593
- readonly allow: readonly ["constructors"];
594
- }];
595
- readonly "no-empty-static-block": "error";
596
- readonly "no-eq-null": "error";
597
- readonly "no-eval": readonly ["error", {
598
- readonly allowIndirect: false;
599
- }];
600
- readonly "no-extend-native": readonly ["error", {
601
- readonly exceptions: readonly [];
602
- }];
603
- readonly "no-extra-bind": "error";
604
- readonly "no-extra-boolean-cast": readonly ["error", {
605
- readonly enforceForLogicalOperands: true;
606
- }];
607
- readonly "no-extra-label": "error";
608
- readonly "no-global-assign": readonly ["error", {
609
- readonly exceptions: readonly [];
610
- }];
611
- readonly "no-implicit-coercion": readonly ["error", {
612
- readonly boolean: true;
613
- readonly number: true;
614
- readonly string: true;
615
- readonly disallowTemplateShorthand: true;
616
- readonly allow: readonly [];
617
- }];
618
- readonly "no-implicit-globals": "off";
619
- readonly "no-implied-eval": "error";
620
- readonly "no-inline-comments": "off";
621
- readonly "no-invalid-this": readonly ["error", {
622
- readonly capIsConstructor: false;
623
- }];
624
- readonly "no-iterator": "error";
625
- readonly "no-label-var": "error";
626
- readonly "no-lone-blocks": "error";
627
- readonly "no-lonely-if": "off";
628
- readonly "no-loop-func": "error";
629
- readonly "no-magic-numbers": "off";
630
- readonly "no-multi-assign": readonly ["error", {
631
- readonly ignoreNonDeclaration: false;
632
- }];
633
- readonly "no-multi-str": "error";
634
- readonly "no-negated-condition": "off";
635
- readonly "no-nested-ternary": "off";
636
- readonly "no-new": "error";
637
- readonly "no-new-func": "error";
638
- readonly "no-new-wrappers": "error";
639
- readonly "no-nonoctal-decimal-escape": "error";
640
- readonly "no-object-constructor": "error";
641
- readonly "no-octal": "error";
642
- readonly "no-octal-escape": "error";
643
- readonly "no-param-reassign": readonly ["error", {
644
- readonly props: true;
645
- readonly ignorePropertyModificationsFor: readonly [];
646
- readonly ignorePropertyModificationsForRegex: readonly [];
647
- }];
648
- readonly "no-plusplus": readonly ["error", {
649
- readonly allowForLoopAfterthoughts: true;
650
- }];
651
- readonly "no-proto": "error";
652
- readonly "no-redeclare": readonly ["error", {
653
- readonly builtinGlobals: true;
654
- }];
655
- readonly "no-regex-spaces": "off";
656
- readonly "no-restricted-exports": "off";
657
- readonly "no-restricted-globals": "off";
658
- readonly "no-restricted-imports": "off";
659
- readonly "no-restricted-properties": "off";
660
- readonly "no-restricted-syntax": "off";
661
- readonly "no-return-assign": "off";
662
- readonly "no-script-url": "error";
663
- readonly "no-sequences": readonly ["error", {
664
- readonly allowInParentheses: true;
665
- }];
666
- readonly "no-shadow": "off";
667
- readonly "no-shadow-restricted-names": "error";
668
- readonly "no-ternary": "off";
669
- readonly "no-throw-literal": "error";
670
- readonly "no-undef-init": "error";
671
- readonly "no-undefined": "off";
672
- readonly "no-underscore-dangle": "off";
673
- readonly "no-unneeded-ternary": readonly ["error", {
674
- readonly defaultAssignment: false;
675
- }];
676
- readonly "no-unused-expressions": readonly ["error", {
677
- readonly allowShortCircuit: true;
678
- readonly allowTernary: true;
679
- readonly allowTaggedTemplates: true;
680
- readonly enforceForJSX: false;
681
- }];
682
- readonly "no-unused-labels": "error";
683
- readonly "no-useless-call": "error";
684
- readonly "no-useless-catch": "error";
685
- readonly "no-useless-computed-key": readonly ["error", {
686
- readonly enforceForClassMembers: true;
687
- }];
688
- readonly "no-useless-concat": "error";
689
- readonly "no-useless-constructor": "error";
690
- readonly "no-useless-escape": "error";
691
- readonly "no-useless-rename": readonly ["error", {
692
- readonly ignoreImport: false;
693
- readonly ignoreExport: false;
694
- readonly ignoreDestructuring: false;
695
- }];
696
- readonly "no-useless-return": "error";
697
- readonly "no-var": "error";
698
- readonly "no-void": readonly ["error", {
699
- readonly allowAsStatement: true;
700
- }];
701
- readonly "no-warning-comments": "off";
702
- readonly "no-with": "error";
703
- readonly "object-shorthand": readonly ["error", "always", {
704
- readonly avoidQuotes: true;
705
- readonly ignoreConstructors: false;
706
- readonly avoidExplicitReturnArrows: false;
707
- }];
708
- readonly "one-var": readonly ["error", {
709
- readonly var: "consecutive";
710
- readonly let: "consecutive";
711
- readonly const: "consecutive";
712
- readonly separateRequires: true;
713
- }];
714
- readonly "operator-assignment": readonly ["error", "always"];
715
- readonly "prefer-arrow-callback": readonly ["error", {
716
- readonly allowNamedFunctions: false;
717
- readonly allowUnboundThis: true;
718
- }];
719
- readonly "prefer-const": readonly ["error", {
720
- readonly destructuring: "all";
721
- readonly ignoreReadBeforeAssign: false;
722
- }];
723
- readonly "prefer-destructuring": readonly ["error", {
724
- readonly VariableDeclarator: {
725
- readonly array: true;
726
- readonly object: true;
727
- };
728
- readonly AssignmentExpression: {
729
- readonly array: false;
730
- readonly object: false;
731
- };
732
- }, {
733
- readonly enforceForRenamedProperties: true;
734
- }];
735
- readonly "prefer-exponentiation-operator": "error";
736
- readonly "prefer-named-capture-group": "off";
737
- readonly "prefer-numeric-literals": "error";
738
- readonly "prefer-object-has-own": "error";
739
- readonly "prefer-object-spread": "error";
740
- readonly "prefer-promise-reject-errors": readonly ["error", {
741
- readonly allowEmptyReject: false;
742
- }];
743
- readonly "prefer-regex-literals": readonly ["error", {
744
- readonly disallowRedundantWrapping: true;
745
- }];
746
- readonly "prefer-rest-params": "error";
747
- readonly "prefer-spread": "error";
748
- readonly "prefer-template": "error";
749
- readonly radix: readonly ["error", "as-needed"];
750
- readonly "require-await": "error";
751
- readonly "require-unicode-regexp": "error";
752
- readonly "require-yield": "error";
753
- readonly "sort-imports": "off";
754
- readonly "sort-keys": "off";
755
- readonly "sort-vars": "off";
756
- readonly strict: "off";
757
- readonly "symbol-description": "off";
758
- readonly "vars-on-top": "error";
759
- readonly yoda: readonly ["error", "never", {
760
- readonly exceptRange: false;
761
- readonly onlyEquality: false;
762
- }];
763
- readonly "unicode-bom": "off";
764
- }] | readonly ["disable", {
765
- readonly "constructor-super": "off";
766
- readonly "no-const-assign": "off";
767
- readonly "no-dupe-args": "off";
768
- readonly "no-dupe-class-members": "off";
769
- readonly "no-dupe-keys": "off";
770
- readonly "no-func-assign": "off";
771
- readonly "no-obj-calls": "off";
772
- readonly "no-setter-return": "off";
773
- readonly "no-this-before-super": "off";
774
- readonly "no-undef": "off";
775
- readonly "no-unreachable": "off";
776
- readonly "no-unsafe-negation": "off";
777
- readonly "consistent-return": "off";
778
- readonly "no-redeclare": "off";
779
- }] | readonly ["disable-extend", {
780
- readonly "class-methods-use-this": "off";
781
- readonly "consistent-return": "off";
782
- readonly "default-param-last": "off";
783
- readonly "dot-notation": "off";
784
- readonly "init-declarations": "off";
785
- readonly "max-params": "off";
786
- readonly "no-array-constructor": "off";
787
- readonly "no-dupe-class-members": "off";
788
- readonly "no-empty-function": "off";
789
- readonly "no-implied-eval": "off";
790
- readonly "no-invalid-this": "off";
791
- readonly "no-loop-func": "off";
792
- readonly "no-magic-numbers": "off";
793
- readonly "no-redeclare": "off";
794
- readonly "no-restricted-imports": "off";
795
- readonly "no-shadow": "off";
796
- readonly "no-throw-literal": "off";
797
- readonly "no-unused-expressions": "off";
798
- readonly "no-unused-vars": "off";
799
- readonly "no-use-before-define": "off";
800
- readonly "no-useless-constructor": "off";
801
- readonly "prefer-destructuring": "off";
802
- readonly "prefer-promise-reject-errors": "off";
803
- readonly "require-await": "off";
804
- }] | readonly ["enable-extend", {
805
- readonly "@typescript-eslint/class-methods-use-this": "off";
806
- readonly "@typescript-eslint/consistent-return": "off";
807
- readonly "@typescript-eslint/default-param-last": "error";
808
- readonly "@typescript-eslint/dot-notation": readonly ["error", {
809
- readonly allowKeywords: true;
810
- readonly allowPrivateClassPropertyAccess: true;
811
- readonly allowProtectedClassPropertyAccess: true;
812
- readonly allowIndexSignaturePropertyAccess: true;
813
- }];
814
- readonly "@typescript-eslint/init-declarations": readonly ["error", "always"];
815
- readonly "@typescript-eslint/max-params": "off";
816
- readonly "@typescript-eslint/no-array-constructor": "error";
817
- readonly "@typescript-eslint/no-dupe-class-members": "off";
818
- readonly "@typescript-eslint/no-empty-function": readonly ["error", {
819
- readonly allow: readonly ["constructors", "private-constructors", "protected-constructors", "decoratedFunctions"];
820
- }];
821
- readonly "@typescript-eslint/no-implied-eval": "error";
822
- readonly "@typescript-eslint/no-invalid-this": "off";
823
- readonly "@typescript-eslint/no-loop-func": "error";
824
- readonly "@typescript-eslint/no-magic-numbers": "off";
825
- readonly "@typescript-eslint/no-redeclare": "off";
826
- readonly "@typescript-eslint/no-restricted-imports": "off";
827
- readonly "@typescript-eslint/no-shadow": "off";
828
- readonly "@typescript-eslint/no-unused-expressions": readonly ["error", {
829
- readonly allowShortCircuit: true;
830
- readonly allowTernary: true;
831
- readonly allowTaggedTemplates: true;
832
- readonly enforceForJSX: false;
833
- }];
834
- readonly "@typescript-eslint/no-unused-vars": readonly ["error", {
835
- readonly vars: "all";
836
- readonly args: "all";
837
- readonly caughtErrors: "all";
838
- readonly ignoreRestSiblings: false;
839
- readonly ignoreClassWithStaticInitBlock: false;
840
- readonly reportUsedIgnorePattern: true;
841
- }];
842
- readonly "@typescript-eslint/no-use-before-define": readonly ["error", {
843
- readonly functions: true;
844
- readonly classes: true;
845
- readonly variables: true;
846
- readonly allowNamedExports: false;
847
- readonly enums: true;
848
- readonly typedefs: false;
849
- readonly ignoreTypeReferences: true;
850
- }];
851
- readonly "@typescript-eslint/no-useless-constructor": "error";
852
- readonly "@typescript-eslint/only-throw-error": readonly ["error", {
853
- readonly allowThrowingAny: false;
854
- readonly allowThrowingUnknown: false;
855
- }];
856
- readonly "@typescript-eslint/prefer-destructuring": readonly ["error", {
857
- readonly VariableDeclarator: {
858
- readonly array: true;
859
- readonly object: true;
860
- };
861
- readonly AssignmentExpression: {
862
- readonly array: false;
863
- readonly object: false;
864
- };
865
- }, {
866
- readonly enforceForRenamedProperties: false;
867
- readonly enforceForDeclarationWithTypeAnnotation: false;
868
- }];
869
- readonly "@typescript-eslint/prefer-promise-reject-errors": readonly ["error", {
870
- readonly allowEmptyReject: false;
871
- }];
872
- readonly "@typescript-eslint/require-await": "error";
873
- }] | readonly ["enable", {
874
- readonly "@typescript-eslint/adjacent-overload-signatures": "off";
875
- readonly "@typescript-eslint/array-type": readonly ["error", {
876
- readonly default: "array";
877
- readonly readonly: "array";
878
- }];
879
- readonly "@typescript-eslint/await-thenable": "error";
880
- readonly "@typescript-eslint/ban-ts-comment": readonly ["error", {
881
- readonly "ts-check": false;
882
- readonly "ts-expect-error": {
883
- readonly descriptionFormat: "^: BUG: .+$";
884
- };
885
- readonly "ts-ignore": true;
886
- readonly "ts-nocheck": true;
887
- readonly minimumDescriptionLength: 32;
888
- }];
889
- readonly "@typescript-eslint/ban-tslint-comment": "error";
890
- readonly "@typescript-eslint/class-literal-property-style": readonly ["error", "fields"];
891
- readonly "@typescript-eslint/consistent-generic-constructors": readonly ["error", "constructor"];
892
- readonly "@typescript-eslint/consistent-indexed-object-style": readonly ["error", "record"];
893
- readonly "@typescript-eslint/consistent-type-assertions": readonly ["error", {
894
- readonly assertionStyle: "as";
895
- readonly objectLiteralTypeAssertions: "never";
896
- }];
897
- readonly "@typescript-eslint/consistent-type-definitions": "off";
898
- readonly "@typescript-eslint/consistent-type-exports": readonly ["error", {
899
- readonly fixMixedExportsWithInlineTypeSpecifier: false;
900
- }];
901
- readonly "@typescript-eslint/consistent-type-imports": readonly ["error", {
902
- readonly disallowTypeAnnotations: true;
903
- readonly fixStyle: "separate-type-imports";
904
- readonly prefer: "type-imports";
905
- }];
906
- readonly "@typescript-eslint/explicit-function-return-type": "off";
907
- readonly "@typescript-eslint/explicit-member-accessibility": readonly ["error", {
908
- readonly accessibility: "explicit";
909
- readonly ignoredMethodNames: readonly [];
910
- readonly overrides: {
911
- readonly properties: "explicit";
912
- readonly constructors: "no-public";
913
- readonly accessors: "explicit";
914
- readonly methods: "explicit";
915
- readonly parameterProperties: "explicit";
916
- };
917
- }];
918
- readonly "@typescript-eslint/explicit-module-boundary-types": "off";
919
- readonly "@typescript-eslint/member-ordering": readonly ["error", {
920
- readonly default: {
921
- readonly memberTypes: readonly ["signature", "call-signature", "public-static-field", "protected-static-field", "private-static-field", "#private-static-field", "public-decorated-field", "protected-decorated-field", "private-decorated-field", "public-instance-field", "protected-instance-field", "private-instance-field", "#private-instance-field", "public-abstract-field", "protected-abstract-field", "public-field", "protected-field", "private-field", "#private-field", "static-field", "instance-field", "abstract-field", "decorated-field", "field", "static-initialization", "public-constructor", "protected-constructor", "private-constructor", "constructor", "public-static-accessor", "protected-static-accessor", "private-static-accessor", "#private-static-accessor", "public-decorated-accessor", "protected-decorated-accessor", "private-decorated-accessor", "public-instance-accessor", "protected-instance-accessor", "private-instance-accessor", "#private-instance-accessor", "public-abstract-accessor", "protected-abstract-accessor", "public-accessor", "protected-accessor", "private-accessor", "#private-accessor", "static-accessor", "instance-accessor", "abstract-accessor", "decorated-accessor", "accessor", "public-static-get", "protected-static-get", "private-static-get", "#private-static-get", "public-decorated-get", "protected-decorated-get", "private-decorated-get", "public-instance-get", "protected-instance-get", "private-instance-get", "#private-instance-get", "public-abstract-get", "protected-abstract-get", "public-get", "protected-get", "private-get", "#private-get", "static-get", "instance-get", "abstract-get", "decorated-get", "get", "public-static-set", "protected-static-set", "private-static-set", "#private-static-set", "public-decorated-set", "protected-decorated-set", "private-decorated-set", "public-instance-set", "protected-instance-set", "private-instance-set", "#private-instance-set", "public-abstract-set", "protected-abstract-set", "public-set", "protected-set", "private-set", "#private-set", "static-set", "instance-set", "abstract-set", "decorated-set", "set", "public-static-method", "protected-static-method", "private-static-method", "#private-static-method", "public-decorated-method", "protected-decorated-method", "private-decorated-method", "public-instance-method", "protected-instance-method", "private-instance-method", "#private-instance-method", "public-abstract-method", "protected-abstract-method", "public-method", "protected-method", "private-method", "#private-method", "static-method", "instance-method", "abstract-method", "decorated-method", "method"];
922
- readonly optionalityOrder: "required-first";
923
- readonly order: "as-written";
924
- };
925
- }];
926
- readonly "@typescript-eslint/method-signature-style": readonly ["error", "property"];
927
- readonly "@typescript-eslint/naming-convention": "off";
928
- readonly "@typescript-eslint/no-array-delete": "error";
929
- readonly "@typescript-eslint/no-base-to-string": readonly ["error", {
930
- readonly ignoredTypeNames: readonly ["Error", "RegExp", "URL", "URLSearchParams"];
931
- }];
932
- readonly "@typescript-eslint/no-confusing-non-null-assertion": "error";
933
- readonly "@typescript-eslint/no-confusing-void-expression": readonly ["error", {
934
- readonly ignoreArrowShorthand: true;
935
- readonly ignoreVoidOperator: true;
936
- readonly ignoreVoidReturningFunctions: true;
937
- }];
938
- readonly "@typescript-eslint/no-duplicate-enum-values": "error";
939
- readonly "@typescript-eslint/no-duplicate-type-constituents": readonly ["error", {
940
- readonly ignoreIntersections: false;
941
- readonly ignoreUnions: false;
942
- }];
943
- readonly "@typescript-eslint/no-dynamic-delete": "error";
944
- readonly "@typescript-eslint/no-empty-object-type": readonly ["error", {
945
- readonly allowInterfaces: "never";
946
- readonly allowObjectTypes: "never";
947
- }];
948
- readonly "@typescript-eslint/no-explicit-any": readonly ["error", {
949
- readonly fixToUnknown: true;
950
- readonly ignoreRestArgs: false;
951
- }];
952
- readonly "@typescript-eslint/no-extra-non-null-assertion": "error";
953
- readonly "@typescript-eslint/no-extraneous-class": readonly ["error", {
954
- readonly allowConstructorOnly: false;
955
- readonly allowEmpty: true;
956
- readonly allowStaticOnly: false;
957
- readonly allowWithDecorator: false;
958
- }];
959
- readonly "@typescript-eslint/no-floating-promises": readonly ["error", {
960
- readonly checkThenables: true;
961
- readonly ignoreVoid: true;
962
- readonly ignoreIIFE: false;
963
- }];
964
- readonly "@typescript-eslint/no-for-in-array": "error";
965
- readonly "@typescript-eslint/no-import-type-side-effects": "error";
966
- readonly "@typescript-eslint/no-inferrable-types": readonly ["error", {
967
- readonly ignoreParameters: false;
968
- readonly ignoreProperties: false;
969
- }];
970
- readonly "@typescript-eslint/no-invalid-void-type": readonly ["error", {
971
- readonly allowInGenericTypeArguments: true;
972
- readonly allowAsThisParameter: false;
973
- }];
974
- readonly "@typescript-eslint/no-meaningless-void-operator": readonly ["error", {
975
- readonly checkNever: true;
976
- }];
977
- readonly "@typescript-eslint/no-misused-new": "error";
978
- readonly "@typescript-eslint/no-misused-promises": readonly ["error", {
979
- readonly checksConditionals: true;
980
- readonly checksSpreads: true;
981
- readonly checksVoidReturn: {
982
- readonly arguments: true;
983
- readonly attributes: true;
984
- readonly properties: true;
985
- readonly returns: true;
986
- readonly variables: true;
987
- };
988
- }];
989
- readonly "@typescript-eslint/no-mixed-enums": "error";
990
- readonly "@typescript-eslint/no-namespace": "off";
991
- readonly "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error";
992
- readonly "@typescript-eslint/no-non-null-asserted-optional-chain": "error";
993
- readonly "@typescript-eslint/no-non-null-assertion": "error";
994
- readonly "@typescript-eslint/no-redundant-type-constituents": "error";
995
- readonly "@typescript-eslint/no-restricted-types": "off";
996
- readonly "@typescript-eslint/no-require-imports": readonly ["error", {
997
- readonly allow: readonly [];
998
- }];
999
- readonly "@typescript-eslint/no-this-alias": readonly ["error", {
1000
- readonly allowDestructuring: true;
1001
- readonly allowedNames: readonly [];
1002
- }];
1003
- readonly "@typescript-eslint/no-unnecessary-boolean-literal-compare": readonly ["error", {
1004
- readonly allowComparingNullableBooleansToTrue: true;
1005
- readonly allowComparingNullableBooleansToFalse: true;
1006
- }];
1007
- readonly "@typescript-eslint/no-unnecessary-condition": readonly ["error", {
1008
- readonly allowConstantLoopConditions: false;
1009
- readonly allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false;
1010
- }];
1011
- readonly "@typescript-eslint/no-unnecessary-qualifier": "error";
1012
- readonly "@typescript-eslint/no-unnecessary-template-expression": "error";
1013
- readonly "@typescript-eslint/no-unnecessary-type-arguments": "error";
1014
- readonly "@typescript-eslint/no-unnecessary-type-assertion": readonly ["error", {
1015
- readonly typesToIgnore: readonly [];
1016
- }];
1017
- readonly "@typescript-eslint/no-unnecessary-type-constraint": "error";
1018
- readonly "@typescript-eslint/no-unnecessary-type-parameters": "error";
1019
- readonly "@typescript-eslint/no-unsafe-argument": "error";
1020
- readonly "@typescript-eslint/no-unsafe-assignment": "error";
1021
- readonly "@typescript-eslint/no-unsafe-call": "error";
1022
- readonly "@typescript-eslint/no-unsafe-declaration-merging": "error";
1023
- readonly "@typescript-eslint/no-unsafe-enum-comparison": "error";
1024
- readonly "@typescript-eslint/no-unsafe-function-type": "error";
1025
- readonly "@typescript-eslint/no-unsafe-member-access": "error";
1026
- readonly "@typescript-eslint/no-unsafe-return": "error";
1027
- readonly "@typescript-eslint/no-unsafe-unary-minus": "error";
1028
- readonly "@typescript-eslint/no-useless-empty-export": "error";
1029
- readonly "@typescript-eslint/no-wrapper-object-types": "error";
1030
- readonly "@typescript-eslint/non-nullable-type-assertion-style": "off";
1031
- readonly "@typescript-eslint/parameter-properties": readonly ["error", {
1032
- readonly prefer: "parameter-property";
1033
- }];
1034
- readonly "@typescript-eslint/prefer-as-const": "error";
1035
- readonly "@typescript-eslint/prefer-enum-initializers": "error";
1036
- readonly "@typescript-eslint/prefer-find": "error";
1037
- readonly "@typescript-eslint/prefer-for-of": "error";
1038
- readonly "@typescript-eslint/prefer-function-type": "error";
1039
- readonly "@typescript-eslint/prefer-includes": "error";
1040
- readonly "@typescript-eslint/prefer-literal-enum-member": readonly ["error", {
1041
- readonly allowBitwiseExpressions: false;
1042
- }];
1043
- readonly "@typescript-eslint/prefer-namespace-keyword": "error";
1044
- readonly "@typescript-eslint/prefer-nullish-coalescing": readonly ["error", {
1045
- readonly allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false;
1046
- readonly ignoreBooleanCoercion: false;
1047
- readonly ignoreConditionalTests: false;
1048
- readonly ignoreMixedLogicalExpressions: false;
1049
- readonly ignorePrimitives: {
1050
- readonly bigint: false;
1051
- readonly boolean: false;
1052
- readonly number: false;
1053
- readonly string: false;
1054
- };
1055
- readonly ignoreTernaryTests: false;
1056
- }];
1057
- readonly "@typescript-eslint/prefer-optional-chain": readonly ["error", {
1058
- readonly allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing: false;
1059
- readonly checkAny: true;
1060
- readonly checkBigInt: true;
1061
- readonly checkBoolean: true;
1062
- readonly checkNumber: true;
1063
- readonly checkString: true;
1064
- readonly checkUnknown: true;
1065
- readonly requireNullish: false;
1066
- }];
1067
- readonly "@typescript-eslint/prefer-readonly": readonly ["error", {
1068
- readonly onlyInlineLambdas: false;
1069
- }];
1070
- readonly "@typescript-eslint/prefer-readonly-parameter-types": "off";
1071
- readonly "@typescript-eslint/prefer-reduce-type-parameter": "error";
1072
- readonly "@typescript-eslint/prefer-regexp-exec": "error";
1073
- readonly "@typescript-eslint/prefer-return-this-type": "error";
1074
- readonly "@typescript-eslint/prefer-string-starts-ends-with": readonly ["error", {
1075
- readonly allowSingleElementEquality: "never";
1076
- }];
1077
- readonly "@typescript-eslint/promise-function-async": readonly ["error", {
1078
- readonly allowAny: false;
1079
- readonly allowedPromiseNames: readonly [];
1080
- readonly checkArrowFunctions: true;
1081
- readonly checkFunctionDeclarations: true;
1082
- readonly checkFunctionExpressions: true;
1083
- readonly checkMethodDeclarations: true;
1084
- }];
1085
- readonly "@typescript-eslint/require-array-sort-compare": readonly ["error", {
1086
- readonly ignoreStringArrays: true;
1087
- }];
1088
- readonly "@typescript-eslint/restrict-plus-operands": readonly ["error", {
1089
- readonly allowAny: false;
1090
- readonly allowBoolean: false;
1091
- readonly allowNullish: false;
1092
- readonly allowNumberAndString: false;
1093
- readonly allowRegExp: false;
1094
- readonly skipCompoundAssignments: false;
1095
- }];
1096
- readonly "@typescript-eslint/restrict-template-expressions": readonly ["error", {
1097
- readonly allowAny: true;
1098
- readonly allowArray: true;
1099
- readonly allowBoolean: true;
1100
- readonly allowNullish: false;
1101
- readonly allowNumber: true;
1102
- readonly allowNever: false;
1103
- readonly allowRegExp: false;
1104
- }];
1105
- readonly "@typescript-eslint/return-await": readonly ["error", "in-try-catch"];
1106
- readonly "@typescript-eslint/strict-boolean-expressions": readonly ["error", {
1107
- readonly allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false;
1108
- readonly allowAny: false;
1109
- readonly allowNumber: true;
1110
- readonly allowString: false;
1111
- readonly allowNullableBoolean: false;
1112
- readonly allowNullableEnum: false;
1113
- readonly allowNullableNumber: false;
1114
- readonly allowNullableObject: false;
1115
- readonly allowNullableString: false;
1116
- }];
1117
- readonly "@typescript-eslint/switch-exhaustiveness-check": readonly ["error", {
1118
- readonly allowDefaultCaseForExhaustiveSwitch: false;
1119
- readonly considerDefaultExhaustiveForUnions: true;
1120
- readonly requireDefaultForNonUnion: true;
1121
- }];
1122
- readonly "@typescript-eslint/triple-slash-reference": readonly ["error", {
1123
- readonly lib: "never";
1124
- readonly path: "never";
1125
- readonly types: "never";
1126
- }];
1127
- readonly "@typescript-eslint/typedef": "off";
1128
- readonly "@typescript-eslint/unbound-method": readonly ["error", {
1129
- readonly ignoreStatic: false;
1130
- }];
1131
- readonly "@typescript-eslint/unified-signatures": readonly ["error", {
1132
- readonly ignoreDifferentlyNamedParameters: false;
1133
- }];
1134
- readonly "@typescript-eslint/use-unknown-in-catch-callback-variable": "error";
1135
- }])[];
1136
- export default _default;
1137
- //# sourceMappingURL=index.d.ts.map