@perfective/eslint-config 0.29.2 → 0.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (200) hide show
  1. package/LICENSE +1 -1
  2. package/README.adoc +198 -67
  3. package/README.md +62 -45
  4. package/config/array-func/array-func-config.d.ts +2 -0
  5. package/config/array-func/array-func-config.js +16 -0
  6. package/config/cypress/cypress-config.d.ts +10 -0
  7. package/config/cypress/cypress-config.js +38 -0
  8. package/config/cypress/index.d.ts +1 -0
  9. package/config/cypress/index.js +1 -0
  10. package/config/eslint/eslint-config.d.ts +2 -0
  11. package/config/eslint/eslint-config.js +8 -0
  12. package/config/eslint/layout-formatting-rules.d.ts +2 -0
  13. package/config/eslint/layout-formatting-rules.js +64 -0
  14. package/config/eslint/possible-problems-rules.d.ts +2 -0
  15. package/config/eslint/possible-problems-rules.js +96 -0
  16. package/config/eslint/suggestions-rules.d.ts +2 -0
  17. package/config/eslint/suggestions-rules.js +181 -0
  18. package/config/eslint-comments/best-practices-rules.d.ts +2 -0
  19. package/config/eslint-comments/best-practices-rules.js +8 -0
  20. package/config/eslint-comments/eslint-comments-config.d.ts +2 -0
  21. package/config/eslint-comments/eslint-comments-config.js +11 -0
  22. package/config/eslint-comments/stylistic-issues-rules.d.ts +2 -0
  23. package/config/eslint-comments/stylistic-issues-rules.js +9 -0
  24. package/config/import/helpful-warnings-rules.d.ts +2 -0
  25. package/config/import/helpful-warnings-rules.js +11 -0
  26. package/config/import/import-config.d.ts +4 -0
  27. package/config/import/import-config.js +46 -0
  28. package/config/import/index.d.ts +1 -0
  29. package/config/import/index.js +1 -0
  30. package/config/import/module-systems-rules.d.ts +2 -0
  31. package/config/import/module-systems-rules.js +10 -0
  32. package/config/import/rules/no-extraneous-dependencies.d.ts +15 -0
  33. package/config/import/rules/no-extraneous-dependencies.js +8 -0
  34. package/config/import/static-analysis-rules.d.ts +2 -0
  35. package/config/import/static-analysis-rules.js +26 -0
  36. package/config/import/style-guide-rules.d.ts +2 -0
  37. package/config/import/style-guide-rules.js +33 -0
  38. package/config/jest/index.d.ts +1 -0
  39. package/config/jest/index.js +1 -0
  40. package/config/jest/jest-config.d.ts +8 -0
  41. package/config/jest/jest-config.js +128 -0
  42. package/config/jest/typescript-eslint-jest-rules.d.ts +2 -0
  43. package/config/jest/typescript-eslint-jest-rules.js +5 -0
  44. package/config/jest-dom/index.d.ts +1 -0
  45. package/config/jest-dom/index.js +1 -0
  46. package/config/jest-dom/jest-dom-config.d.ts +8 -0
  47. package/config/jest-dom/jest-dom-config.js +23 -0
  48. package/config/jsdoc/jsdoc-config.d.ts +3 -0
  49. package/config/jsdoc/jsdoc-config.js +179 -0
  50. package/config/node/node-config.d.ts +2 -0
  51. package/config/node/node-config.js +66 -0
  52. package/config/perfective-eslint-config.d.ts +6 -0
  53. package/config/perfective-eslint-config.js +45 -0
  54. package/config/prefer-arrow/prefer-arrow-config.d.ts +2 -0
  55. package/config/prefer-arrow/prefer-arrow-config.js +16 -0
  56. package/config/promise/promise-config.d.ts +2 -0
  57. package/config/promise/promise-config.js +37 -0
  58. package/config/rxjs/index.d.ts +1 -0
  59. package/config/rxjs/index.js +1 -0
  60. package/config/rxjs/rxjs-config.d.ts +8 -0
  61. package/config/rxjs/rxjs-config.js +67 -0
  62. package/config/security/security-config.d.ts +2 -0
  63. package/config/security/security-config.js +24 -0
  64. package/config/simple-import-sort/index.d.ts +1 -0
  65. package/config/simple-import-sort/index.js +1 -0
  66. package/config/simple-import-sort/rules/imports.d.ts +28 -0
  67. package/config/simple-import-sort/rules/imports.js +32 -0
  68. package/config/simple-import-sort/simple-import-sort-config.d.ts +2 -0
  69. package/config/simple-import-sort/simple-import-sort-config.js +13 -0
  70. package/config/stylistic/js/stylistic-js-config.d.ts +2 -0
  71. package/config/stylistic/js/stylistic-js-config.js +200 -0
  72. package/config/stylistic/jsx/stylistic-jsx-config.d.ts +2 -0
  73. package/config/stylistic/jsx/stylistic-jsx-config.js +87 -0
  74. package/config/stylistic/plus/stylistic-plus-config.d.ts +2 -0
  75. package/config/stylistic/plus/stylistic-plus-config.js +16 -0
  76. package/config/stylistic/ts/stylistic-ts-config.d.ts +2 -0
  77. package/config/stylistic/ts/stylistic-ts-config.js +141 -0
  78. package/config/testing-library/index.d.ts +1 -0
  79. package/config/testing-library/index.js +1 -0
  80. package/config/testing-library/testing-library-config.d.ts +8 -0
  81. package/config/testing-library/testing-library-config.js +45 -0
  82. package/config/typescript-eslint/extension-rules.d.ts +2 -0
  83. package/config/typescript-eslint/extension-rules.js +113 -0
  84. package/config/typescript-eslint/index.d.ts +1 -0
  85. package/config/typescript-eslint/index.js +1 -0
  86. package/{rules → config}/typescript-eslint/rules/typescript-eslint-naming-convention.d.ts +39 -0
  87. package/config/typescript-eslint/rules/typescript-eslint-naming-convention.js +26 -0
  88. package/config/typescript-eslint/supported-rules.d.ts +2 -0
  89. package/config/typescript-eslint/supported-rules.js +260 -0
  90. package/config/typescript-eslint/typescript-eslint-config.d.ts +2 -0
  91. package/config/typescript-eslint/typescript-eslint-config.js +15 -0
  92. package/config/unicorn/index.d.ts +1 -0
  93. package/config/unicorn/index.js +1 -0
  94. package/{rules → config}/unicorn/rules/prevent-abbreviations.d.ts +20 -0
  95. package/config/unicorn/rules/prevent-abbreviations.js +30 -0
  96. package/config/unicorn/unicorn-config.d.ts +2 -0
  97. package/config/unicorn/unicorn-config.js +185 -0
  98. package/index.d.ts +5 -1732
  99. package/index.js +5 -146
  100. package/linter/glob.d.ts +59 -0
  101. package/linter/glob.js +8 -0
  102. package/linter/language-options.d.ts +25 -0
  103. package/linter/language-options.js +45 -0
  104. package/linter/linter-config.d.ts +13 -0
  105. package/linter/linter-config.js +6 -0
  106. package/linter/node.d.ts +10 -0
  107. package/linter/node.js +7 -0
  108. package/linter/plugin.d.ts +15 -0
  109. package/linter/plugin.js +26 -0
  110. package/package.json +45 -45
  111. package/config/node.d.ts +0 -1
  112. package/config/node.js +0 -11
  113. package/config/plugin.d.ts +0 -2
  114. package/config/plugin.js +0 -30
  115. package/config.d.ts +0 -1
  116. package/config.js +0 -6
  117. package/cypress.d.ts +0 -1
  118. package/cypress.js +0 -56
  119. package/jest-dom.d.ts +0 -1
  120. package/jest-dom.js +0 -11
  121. package/jest.d.ts +0 -1
  122. package/jest.js +0 -24
  123. package/rules/array-func/index.d.ts +0 -14
  124. package/rules/array-func/index.js +0 -50
  125. package/rules/cypress/index.d.ts +0 -21
  126. package/rules/cypress/index.js +0 -57
  127. package/rules/eslint/index.d.ts +0 -339
  128. package/rules/eslint/index.js +0 -9
  129. package/rules/eslint/layout-formatting.d.ts +0 -64
  130. package/rules/eslint/layout-formatting.js +0 -67
  131. package/rules/eslint/possible-problems.d.ts +0 -96
  132. package/rules/eslint/possible-problems.js +0 -99
  133. package/rules/eslint/suggestions.d.ts +0 -181
  134. package/rules/eslint/suggestions.js +0 -182
  135. package/rules/eslint-comments/best-practices.d.ts +0 -8
  136. package/rules/eslint-comments/best-practices.js +0 -11
  137. package/rules/eslint-comments/index.d.ts +0 -21
  138. package/rules/eslint-comments/index.js +0 -45
  139. package/rules/eslint-comments/stylistic-issues.d.ts +0 -9
  140. package/rules/eslint-comments/stylistic-issues.js +0 -18
  141. package/rules/import/helpful-warnings.d.ts +0 -10
  142. package/rules/import/helpful-warnings.js +0 -14
  143. package/rules/import/index.d.ts +0 -78
  144. package/rules/import/index.js +0 -14
  145. package/rules/import/module-systems.d.ts +0 -10
  146. package/rules/import/module-systems.js +0 -13
  147. package/rules/import/rules/no-extraneous-dependencies.d.ts +0 -11
  148. package/rules/import/rules/no-extraneous-dependencies.js +0 -24
  149. package/rules/import/static-analysis.d.ts +0 -26
  150. package/rules/import/static-analysis.js +0 -29
  151. package/rules/import/style-guide.d.ts +0 -33
  152. package/rules/import/style-guide.js +0 -36
  153. package/rules/jest/index.d.ts +0 -124
  154. package/rules/jest/index.js +0 -72
  155. package/rules/jest/typescript-eslint.d.ts +0 -5
  156. package/rules/jest/typescript-eslint.js +0 -8
  157. package/rules/jest-dom/index.d.ts +0 -32
  158. package/rules/jest-dom/index.js +0 -55
  159. package/rules/jsdoc/index.d.ts +0 -134
  160. package/rules/jsdoc/index.js +0 -347
  161. package/rules/n/index.d.ts +0 -66
  162. package/rules/n/index.js +0 -98
  163. package/rules/prefer-arrow/index.d.ts +0 -14
  164. package/rules/prefer-arrow/index.js +0 -50
  165. package/rules/promise/index.d.ts +0 -35
  166. package/rules/promise/index.js +0 -73
  167. package/rules/rxjs/index.d.ts +0 -60
  168. package/rules/rxjs/index.js +0 -96
  169. package/rules/security/index.d.ts +0 -22
  170. package/rules/security/index.js +0 -58
  171. package/rules/simple-import-sort/index.d.ts +0 -10
  172. package/rules/simple-import-sort/index.js +0 -48
  173. package/rules/simple-import-sort/rules/imports.d.ts +0 -8
  174. package/rules/simple-import-sort/rules/imports.js +0 -46
  175. package/rules/stylistic/js/index.d.ts +0 -197
  176. package/rules/stylistic/js/index.js +0 -236
  177. package/rules/stylistic/jsx/index.d.ts +0 -81
  178. package/rules/stylistic/jsx/index.js +0 -117
  179. package/rules/stylistic/plus/index.d.ts +0 -14
  180. package/rules/stylistic/plus/index.js +0 -50
  181. package/rules/stylistic/ts/index.d.ts +0 -135
  182. package/rules/stylistic/ts/index.js +0 -169
  183. package/rules/testing-library/index.d.ts +0 -62
  184. package/rules/testing-library/index.js +0 -77
  185. package/rules/typescript-eslint/extension-rules.d.ts +0 -113
  186. package/rules/typescript-eslint/extension-rules.js +0 -116
  187. package/rules/typescript-eslint/index.d.ts +0 -369
  188. package/rules/typescript-eslint/index.js +0 -45
  189. package/rules/typescript-eslint/rules/typescript-eslint-naming-convention.js +0 -32
  190. package/rules/typescript-eslint/supported-rules.d.ts +0 -253
  191. package/rules/typescript-eslint/supported-rules.js +0 -319
  192. package/rules/unicorn/index.d.ts +0 -178
  193. package/rules/unicorn/index.js +0 -209
  194. package/rules/unicorn/rules/prevent-abbreviations.js +0 -8
  195. package/rules.d.ts +0 -4
  196. package/rules.js +0 -14
  197. package/rxjs.d.ts +0 -1
  198. package/rxjs.js +0 -58
  199. package/testing-library.d.ts +0 -1
  200. package/testing-library.js +0 -11
package/index.d.ts CHANGED
@@ -1,1732 +1,5 @@
1
- declare const _default: ({
2
- ignores: string[];
3
- files?: undefined;
4
- languageOptions?: undefined;
5
- plugins?: undefined;
6
- settings?: undefined;
7
- rules?: undefined;
8
- } | {
9
- files: string[];
10
- languageOptions: {
11
- sourceType: string;
12
- ecmaVersion: string;
13
- parser: import("@typescript-eslint/utils/dist/ts-eslint").Parser.LooseParserModule;
14
- parserOptions: {
15
- ecmaFeatures: {
16
- globalReturn: boolean;
17
- impliedStrict: boolean;
18
- };
19
- projectService: {
20
- allowDefaultProject: string[];
21
- };
22
- warnOnUnsupportedTypeScriptVersion: boolean;
23
- };
24
- };
25
- plugins: {
26
- unicorn: import("eslint").ESLint.Plugin & {
27
- configs: {
28
- recommended: import("eslint").Linter.Config;
29
- all: import("eslint").Linter.Config;
30
- "flat/all": import("eslint").Linter.FlatConfig;
31
- "flat/recommended": import("eslint").Linter.FlatConfig;
32
- };
33
- };
34
- '@stylistic/plus': typeof import("@stylistic/eslint-plugin-plus");
35
- '@stylistic/js': typeof import("@stylistic/eslint-plugin-js");
36
- 'simple-import-sort': import("eslint").ESLint.Plugin;
37
- security: typeof import("eslint-plugin-security");
38
- promise: typeof import("eslint-plugin-promise");
39
- 'prefer-arrow': typeof import("eslint-plugin-prefer-arrow");
40
- n: import("eslint").ESLint.Plugin & {
41
- configs: import("eslint-plugin-n").Configs;
42
- };
43
- jsdoc: {
44
- rules: Record<string, import("eslint").Rule.RuleModule> | undefined;
45
- };
46
- import: Record<string, unknown>;
47
- 'eslint-comments': typeof import("eslint-plugin-eslint-comments");
48
- 'array-func': typeof import("eslint-plugin-array-func");
49
- };
50
- settings: {
51
- jsdoc: {
52
- jsdoc: {
53
- tagNamePreference: {
54
- augments: {
55
- message: string;
56
- replacement: string;
57
- };
58
- todo: {
59
- message: string;
60
- };
61
- fires: {
62
- replacement: string;
63
- };
64
- };
65
- ignoreReplacesDocs: boolean;
66
- overrideReplacesDocs: boolean;
67
- augmentsExtendsReplacesDocs: boolean;
68
- implementsReplacesDoc: boolean;
69
- };
70
- };
71
- 'import/extensions'?: undefined;
72
- 'import/parsers'?: undefined;
73
- 'import/resolver'?: undefined;
74
- };
75
- rules: {
76
- 'unicorn/better-regex': string;
77
- 'unicorn/catch-error-name': string;
78
- 'unicorn/consistent-destructuring': string;
79
- 'unicorn/consistent-empty-array-spread': string;
80
- 'unicorn/consistent-existence-index-check': string;
81
- 'unicorn/consistent-function-scoping': (string | {
82
- checkArrowFunctions: boolean;
83
- })[];
84
- 'unicorn/custom-error-definition': string;
85
- 'unicorn/empty-brace-spaces': string;
86
- 'unicorn/error-message': string;
87
- 'unicorn/escape-case': string;
88
- 'unicorn/expiring-todo-comments': string;
89
- 'unicorn/explicit-length-check': string;
90
- 'unicorn/filename-case': (string | {
91
- case: string;
92
- })[];
93
- 'unicorn/import-index': string;
94
- 'unicorn/import-style': string;
95
- 'unicorn/new-for-builtins': string;
96
- 'unicorn/no-abusive-eslint-disable': string;
97
- 'unicorn/no-anonymous-default-export': string;
98
- 'unicorn/no-array-callback-reference': string;
99
- 'unicorn/no-array-for-each': string;
100
- 'unicorn/no-array-method-this-argument': string;
101
- 'unicorn/no-array-push-push': (string | {
102
- ignore: string[];
103
- })[];
104
- 'unicorn/no-array-reduce': string;
105
- 'unicorn/no-await-expression-member': string;
106
- 'unicorn/no-await-in-promise-methods': string;
107
- 'unicorn/no-console-spaces': string;
108
- 'unicorn/no-document-cookie': string;
109
- 'unicorn/no-empty-file': string;
110
- 'unicorn/no-for-loop': string;
111
- 'unicorn/no-hex-escape': string;
112
- 'unicorn/no-instanceof-array': string;
113
- 'unicorn/no-invalid-fetch-options': string;
114
- 'unicorn/no-invalid-remove-event-listener': string;
115
- 'unicorn/no-keyword-prefix': (string | {
116
- disallowedPrefixes: string[];
117
- checkProperties: boolean;
118
- onlyCamelCase: boolean;
119
- })[];
120
- 'unicorn/no-length-as-slice-end': string;
121
- 'unicorn/no-lonely-if': string;
122
- 'unicorn/no-magic-array-flat-depth': string;
123
- 'unicorn/no-negated-condition': string;
124
- 'unicorn/no-negation-in-equality-check': string;
125
- 'unicorn/no-nested-ternary': string;
126
- 'unicorn/no-new-array': string;
127
- 'unicorn/no-new-buffer': string;
128
- 'unicorn/no-null': string;
129
- 'unicorn/no-object-as-default-parameter': string;
130
- 'unicorn/no-process-exit': string;
131
- 'unicorn/no-single-promise-in-promise-methods': string;
132
- 'unicorn/no-static-only-class': string;
133
- 'unicorn/no-thenable': string;
134
- 'unicorn/no-this-assignment': string;
135
- 'unicorn/no-typeof-undefined': (string | {
136
- checkGlobalVariables: boolean;
137
- })[];
138
- 'unicorn/no-unnecessary-await': string;
139
- 'unicorn/no-unnecessary-polyfills': string;
140
- 'unicorn/no-unreadable-array-destructuring': string;
141
- 'unicorn/no-unreadable-iife': string;
142
- 'unicorn/no-unsafe-regex': string;
143
- 'unicorn/no-unused-properties': string;
144
- 'unicorn/no-useless-fallback-in-spread': string;
145
- 'unicorn/no-useless-length-check': string;
146
- 'unicorn/no-useless-promise-resolve-reject': string;
147
- 'unicorn/no-useless-spread': string;
148
- 'unicorn/no-useless-switch-case': string;
149
- 'unicorn/no-useless-undefined': string;
150
- 'unicorn/no-zero-fractions': string;
151
- 'unicorn/number-literal-case': string;
152
- 'unicorn/numeric-separators-style': (string | {
153
- hexadecimal: {
154
- minimumDigits: number;
155
- groupLength: number;
156
- };
157
- binary: {
158
- minimumDigits: number;
159
- groupLength: number;
160
- };
161
- octal: {
162
- minimumDigits: number;
163
- groupLength: number;
164
- };
165
- number: {
166
- minimumDigits: number;
167
- groupLength: number;
168
- };
169
- })[];
170
- 'unicorn/prefer-add-event-listener': string;
171
- 'unicorn/prefer-array-find': (string | {
172
- checkFromLast: boolean;
173
- })[];
174
- 'unicorn/prefer-array-flat': string;
175
- 'unicorn/prefer-array-flat-map': string;
176
- 'unicorn/prefer-array-index-of': string;
177
- 'unicorn/prefer-array-some': string;
178
- 'unicorn/prefer-at': string;
179
- 'unicorn/prefer-blob-reading-methods': string;
180
- 'unicorn/prefer-code-point': string;
181
- 'unicorn/prefer-date-now': string;
182
- 'unicorn/prefer-default-parameters': string;
183
- 'unicorn/prefer-dom-node-append': string;
184
- 'unicorn/prefer-dom-node-dataset': string;
185
- 'unicorn/prefer-dom-node-remove': string;
186
- 'unicorn/prefer-dom-node-text-content': string;
187
- 'unicorn/prefer-event-target': string;
188
- 'unicorn/prefer-export-from': string;
189
- 'unicorn/prefer-global-this': string;
190
- 'unicorn/prefer-includes': string;
191
- 'unicorn/prefer-json-parse-buffer': string;
192
- 'unicorn/prefer-keyboard-event-key': string;
193
- 'unicorn/prefer-logical-operator-over-ternary': string;
194
- 'unicorn/prefer-math-min-max': string;
195
- 'unicorn/prefer-math-trunc': string;
196
- 'unicorn/prefer-modern-dom-apis': string;
197
- 'unicorn/prefer-modern-math-apis': string;
198
- 'unicorn/prefer-module': string;
199
- 'unicorn/prefer-native-coercion-functions': string;
200
- 'unicorn/prefer-negative-index': string;
201
- 'unicorn/prefer-node-protocol': string;
202
- 'unicorn/prefer-number-properties': (string | {
203
- checkInfinity: boolean;
204
- checkNaN: boolean;
205
- })[];
206
- 'unicorn/prefer-object-from-entries': (string | {
207
- functions: never[];
208
- })[];
209
- 'unicorn/prefer-optional-catch-binding': string;
210
- 'unicorn/prefer-prototype-methods': string;
211
- 'unicorn/prefer-query-selector': string;
212
- 'unicorn/prefer-reflect-apply': string;
213
- 'unicorn/prefer-regexp-test': string;
214
- 'unicorn/prefer-set-has': string;
215
- 'unicorn/prefer-set-size': string;
216
- 'unicorn/prefer-spread': string;
217
- 'unicorn/prefer-string-raw': string;
218
- 'unicorn/prefer-string-replace-all': string;
219
- 'unicorn/prefer-string-slice': string;
220
- 'unicorn/prefer-string-starts-ends-with': string;
221
- 'unicorn/prefer-string-trim-start-end': string;
222
- 'unicorn/prefer-structured-clone': string;
223
- 'unicorn/prefer-switch': (string | {
224
- minimumCases: number;
225
- emptyDefaultCase: string;
226
- })[];
227
- 'unicorn/prefer-ternary': string;
228
- 'unicorn/prefer-top-level-await': string;
229
- 'unicorn/prefer-type-error': string;
230
- 'unicorn/prevent-abbreviations': (string | import("./rules").UnicornPreventAbbreviations)[];
231
- 'unicorn/relative-url-style': string[];
232
- 'unicorn/require-array-join-separator': string;
233
- 'unicorn/require-number-to-fixed-digits-argument': string;
234
- 'unicorn/require-post-message-target-origin': string;
235
- 'unicorn/string-content': string;
236
- 'unicorn/switch-case-braces': string;
237
- 'unicorn/template-indent': string;
238
- 'unicorn/text-encoding-identifier-case': string;
239
- 'unicorn/throw-new-error': string;
240
- '@stylistic/plus/curly-newline': (string | {
241
- minElements: number;
242
- })[];
243
- '@stylistic/plus/indent-binary-ops': (string | number)[];
244
- '@stylistic/plus/type-generic-spacing': string;
245
- '@stylistic/plus/type-named-tuple-spacing': string;
246
- '@stylistic/js/array-bracket-newline': string[];
247
- '@stylistic/js/array-bracket-spacing': string[];
248
- '@stylistic/js/array-element-newline': string[];
249
- '@stylistic/js/arrow-parens': string[];
250
- '@stylistic/js/arrow-spacing': (string | {
251
- before: boolean;
252
- after: boolean;
253
- })[];
254
- '@stylistic/js/block-spacing': string[];
255
- '@stylistic/js/brace-style': (string | {
256
- allowSingleLine: boolean;
257
- })[];
258
- '@stylistic/js/comma-dangle': (string | {
259
- arrays: string;
260
- objects: string;
261
- imports: string;
262
- exports: string;
263
- functions: string;
264
- })[];
265
- '@stylistic/js/comma-spacing': (string | {
266
- before: boolean;
267
- after: boolean;
268
- })[];
269
- '@stylistic/js/comma-style': string[];
270
- '@stylistic/js/computed-property-spacing': string[];
271
- '@stylistic/js/dot-location': string[];
272
- '@stylistic/js/eol-last': string[];
273
- '@stylistic/js/func-call-spacing': string;
274
- '@stylistic/js/function-call-argument-newline': string[];
275
- '@stylistic/js/function-call-spacing': string[];
276
- '@stylistic/js/function-paren-newline': string[];
277
- '@stylistic/js/generator-star-spacing': (string | {
278
- before: boolean;
279
- after: boolean;
280
- })[];
281
- '@stylistic/js/implicit-arrow-linebreak': string[];
282
- '@stylistic/js/indent': (string | number | {
283
- SwitchCase: number;
284
- })[];
285
- '@stylistic/js/jsx-quotes': string[];
286
- '@stylistic/js/key-spacing': (string | {
287
- beforeColon: boolean;
288
- afterColon: boolean;
289
- mode: string;
290
- })[];
291
- '@stylistic/js/keyword-spacing': (string | {
292
- before: boolean;
293
- after: boolean;
294
- })[];
295
- '@stylistic/js/line-comment-position': (string | {
296
- position: string;
297
- ignorePattern: string;
298
- })[];
299
- '@stylistic/js/linebreak-style': string[];
300
- '@stylistic/js/lines-around-comment': (string | {
301
- beforeBlockComment: boolean;
302
- afterBlockComment: boolean;
303
- beforeLineComment: boolean;
304
- afterLineComment: boolean;
305
- allowBlockStart: boolean;
306
- allowBlockEnd: boolean;
307
- allowObjectStart: boolean;
308
- allowObjectEnd: boolean;
309
- allowArrayStart: boolean;
310
- allowArrayEnd: boolean;
311
- allowClassStart: boolean;
312
- allowClassEnd: boolean;
313
- afterHashbangComment: boolean;
314
- })[];
315
- '@stylistic/js/lines-between-class-members': (string | {
316
- exceptAfterSingleLine: boolean;
317
- })[];
318
- '@stylistic/js/max-len': (string | {
319
- code: number;
320
- tabWidth: number;
321
- ignoreRegExpLiterals: boolean;
322
- ignoreUrls: boolean;
323
- })[];
324
- '@stylistic/js/max-statements-per-line': (string | {
325
- max: number;
326
- })[];
327
- '@stylistic/js/multiline-comment-style': (string | {
328
- checkJSDoc: boolean;
329
- })[];
330
- '@stylistic/js/multiline-ternary': string[];
331
- '@stylistic/js/new-parens': string;
332
- '@stylistic/js/newline-per-chained-call': (string | {
333
- ignoreChainWithDepth: number;
334
- })[];
335
- '@stylistic/js/no-confusing-arrow': (string | {
336
- allowParens: boolean;
337
- onlyOneSimpleParam: boolean;
338
- })[];
339
- '@stylistic/js/no-extra-parens': (string | {
340
- ignoreJSX: string;
341
- nestedBinaryExpressions: boolean;
342
- enforceForArrowConditionals: boolean;
343
- ternaryOperandBinaryExpressions: boolean;
344
- })[];
345
- '@stylistic/js/no-extra-semi': string;
346
- '@stylistic/js/no-floating-decimal': string;
347
- '@stylistic/js/no-mixed-operators': (string | {
348
- groups: string[][];
349
- allowSamePrecedence: boolean;
350
- })[];
351
- '@stylistic/js/no-mixed-spaces-and-tabs': string;
352
- '@stylistic/js/no-multi-spaces': string;
353
- '@stylistic/js/no-multiple-empty-lines': (string | {
354
- max: number;
355
- maxEOF: number;
356
- maxBOF: number;
357
- })[];
358
- '@stylistic/js/no-tabs': string;
359
- '@stylistic/js/no-trailing-spaces': string;
360
- '@stylistic/js/no-whitespace-before-property': string;
361
- '@stylistic/js/nonblock-statement-body-position': string[];
362
- '@stylistic/js/object-curly-newline': (string | {
363
- ImportDeclaration: {
364
- multiline: boolean;
365
- };
366
- ExportDeclaration: {
367
- multiline: boolean;
368
- };
369
- })[];
370
- '@stylistic/js/object-curly-spacing': (string | {
371
- arraysInObjects: boolean;
372
- objectsInObjects: boolean;
373
- })[];
374
- '@stylistic/js/object-property-newline': (string | {
375
- allowAllPropertiesOnSameLine: boolean;
376
- })[];
377
- '@stylistic/js/one-var-declaration-per-line': string[];
378
- '@stylistic/js/operator-linebreak': (string | {
379
- overrides: {
380
- '=': string;
381
- '==': string;
382
- '!=': string;
383
- '>=': string;
384
- '<=': string;
385
- '===': string;
386
- '+=': string;
387
- };
388
- })[];
389
- '@stylistic/js/padded-blocks': string[];
390
- '@stylistic/js/padding-line-between-statements': string;
391
- '@stylistic/js/quote-props': string[];
392
- '@stylistic/js/quotes': (string | {
393
- avoidEscape: boolean;
394
- allowTemplateLiterals: boolean;
395
- ignoreStringLiterals: boolean;
396
- })[];
397
- '@stylistic/js/rest-spread-spacing': string[];
398
- '@stylistic/js/semi': string[];
399
- '@stylistic/js/semi-spacing': (string | {
400
- before: boolean;
401
- after: boolean;
402
- })[];
403
- '@stylistic/js/semi-style': string[];
404
- '@stylistic/js/space-before-blocks': string[];
405
- '@stylistic/js/space-before-function-paren': (string | {
406
- anonymous: string;
407
- named: string;
408
- asyncArrow: string;
409
- })[];
410
- '@stylistic/js/space-in-parens': string[];
411
- '@stylistic/js/space-infix-ops': (string | {
412
- int32Hint: boolean;
413
- })[];
414
- '@stylistic/js/space-unary-ops': (string | {
415
- words: boolean;
416
- nonwords: boolean;
417
- })[];
418
- '@stylistic/js/spaced-comment': (string | {
419
- line: {
420
- markers: string[];
421
- };
422
- })[];
423
- '@stylistic/js/switch-colon-spacing': (string | {
424
- after: boolean;
425
- before: boolean;
426
- })[];
427
- '@stylistic/js/template-curly-spacing': string[];
428
- '@stylistic/js/template-tag-spacing': string[];
429
- '@stylistic/js/wrap-iife': string[];
430
- '@stylistic/js/wrap-regex': string;
431
- '@stylistic/js/yield-star-spacing': (string | {
432
- before: boolean;
433
- after: boolean;
434
- })[];
435
- 'simple-import-sort/exports': string;
436
- 'simple-import-sort/imports': (string | import("./rules").SimpleImportSortImports)[];
437
- 'security/detect-bidi-characters': string;
438
- 'security/detect-buffer-noassert': string;
439
- 'security/detect-child-process': string;
440
- 'security/detect-disable-mustache-escape': string;
441
- 'security/detect-eval-with-expression': string;
442
- 'security/detect-new-buffer': string;
443
- 'security/detect-no-csrf-before-method-override': string;
444
- 'security/detect-non-literal-fs-filename': string;
445
- 'security/detect-non-literal-regexp': string;
446
- 'security/detect-non-literal-require': string;
447
- 'security/detect-object-injection': string;
448
- 'security/detect-possible-timing-attacks': string;
449
- 'security/detect-pseudoRandomBytes': string;
450
- 'security/detect-unsafe-regex': string;
451
- 'promise/catch-or-return': (string | {
452
- allowThen: boolean;
453
- allowThenStrict: boolean;
454
- allowFinally: boolean;
455
- })[];
456
- 'promise/no-return-wrap': string;
457
- 'promise/param-names': string;
458
- 'promise/always-return': (string | {
459
- ignoreAssignmentVariable: string[];
460
- })[];
461
- 'promise/no-multiple-resolved': string;
462
- 'promise/no-native': string;
463
- 'promise/no-nesting': string;
464
- 'promise/no-promise-in-callback': string;
465
- 'promise/no-callback-in-promise': (string | {
466
- timeoutsErr: boolean;
467
- })[];
468
- 'promise/avoid-new': string;
469
- 'promise/no-new-statics': string;
470
- 'promise/no-return-in-finally': string;
471
- 'promise/prefer-catch': string;
472
- 'promise/spec-only': (string | {
473
- allowedMethods: never[];
474
- })[];
475
- 'promise/valid-params': string;
476
- 'promise/prefer-await-to-then': string;
477
- 'promise/prefer-await-to-callbacks': string;
478
- 'prefer-arrow/prefer-arrow-functions': (string | {
479
- allowStandaloneDeclarations: boolean;
480
- classPropertiesAllowed: boolean;
481
- disallowPrototype: boolean;
482
- singleReturnOnly: boolean;
483
- })[];
484
- 'n/callback-return': (string | string[])[];
485
- 'n/exports-style': (string | {
486
- allowBatchAssign: boolean;
487
- })[];
488
- 'n/file-extension-in-import': string;
489
- 'n/global-require': string;
490
- 'n/handle-callback-err': string;
491
- 'n/hashbang': string;
492
- 'n/no-callback-literal': string;
493
- 'n/no-deprecated-api': string;
494
- 'n/no-exports-assign': string;
495
- 'n/no-extraneous-import': string;
496
- 'n/no-extraneous-require': string;
497
- 'n/no-hide-core-modules': string;
498
- 'n/no-missing-import': string;
499
- 'n/no-missing-require': string;
500
- 'n/no-mixed-requires': string;
501
- 'n/no-new-require': string;
502
- 'n/no-path-concat': string;
503
- 'n/no-process-env': string;
504
- 'n/no-process-exit': string;
505
- 'n/no-restricted-import': string;
506
- 'n/no-restricted-require': string;
507
- 'n/no-sync': (string | {
508
- allowAtRootLevel: boolean;
509
- })[];
510
- 'n/no-unpublished-bin': string;
511
- 'n/no-unpublished-import': (string | {
512
- ignorePrivate: boolean;
513
- })[];
514
- 'n/no-unpublished-require': (string | {
515
- allowModules: never[];
516
- ignorePrivate: boolean;
517
- tryExtensions: string[];
518
- })[];
519
- 'n/no-unsupported-features/es-builtins': (string | {
520
- version: string;
521
- ignores: never[];
522
- })[];
523
- 'n/no-unsupported-features/es-syntax': string;
524
- 'n/no-unsupported-features/node-builtins': (string | {
525
- version: string;
526
- ignores: never[];
527
- })[];
528
- 'n/prefer-global/buffer': string[];
529
- 'n/prefer-global/console': string[];
530
- 'n/prefer-global/process': string[];
531
- 'n/prefer-global/text-decoder': string[];
532
- 'n/prefer-global/text-encoder': string[];
533
- 'n/prefer-global/url': string[];
534
- 'n/prefer-global/url-search-params': string[];
535
- 'n/prefer-node-protocol': string;
536
- 'n/prefer-promises/dns': string;
537
- 'n/prefer-promises/fs': string;
538
- 'n/process-exit-as-throw': string;
539
- 'n/shebang': string;
540
- 'jsdoc/check-access': string;
541
- 'jsdoc/check-alignment': string;
542
- 'jsdoc/check-examples': string;
543
- 'jsdoc/check-indentation': string;
544
- 'jsdoc/check-line-alignment': string[];
545
- 'jsdoc/check-param-names': (string | {
546
- allowExtraTrailingParamDocs: boolean;
547
- checkDestructured: boolean;
548
- checkRestProperty: boolean;
549
- disableExtraPropertyReporting: boolean;
550
- disableMissingParamChecks: boolean;
551
- enableFixer: boolean;
552
- useDefaultObjectProperties: boolean;
553
- })[];
554
- 'jsdoc/check-property-names': (string | {
555
- enableFixer: boolean;
556
- })[];
557
- 'jsdoc/check-syntax': string;
558
- 'jsdoc/check-tag-names': (string | {
559
- definedTags: string[];
560
- jsxTags: boolean;
561
- })[];
562
- 'jsdoc/check-template-names': string;
563
- 'jsdoc/check-types': (string | {
564
- noDefaults: boolean;
565
- })[];
566
- 'jsdoc/check-values': string;
567
- 'jsdoc/convert-to-jsdoc-comments': string;
568
- 'jsdoc/empty-tags': (string | {
569
- tags: string[];
570
- })[];
571
- 'jsdoc/implements-on-classes': string;
572
- 'jsdoc/imports-as-dependencies': string;
573
- 'jsdoc/lines-before-block': string;
574
- 'jsdoc/match-description': string;
575
- 'jsdoc/match-name': string;
576
- 'jsdoc/multiline-blocks': (string | {
577
- noZeroLineText: boolean;
578
- noFinalLineText: boolean;
579
- noSingleLineBlocks: boolean;
580
- singleLineTags: string[];
581
- noMultilineBlocks: boolean;
582
- multilineTags: string[];
583
- allowMultipleTags: boolean;
584
- })[];
585
- 'jsdoc/no-bad-blocks': (string | {
586
- ignore: string[];
587
- preventAllMultiAsteriskBlocks: boolean;
588
- })[];
589
- 'jsdoc/no-blank-blocks': string;
590
- 'jsdoc/no-blank-block-descriptions': string;
591
- 'jsdoc/no-defaults': string;
592
- 'jsdoc/no-missing-syntax': string;
593
- 'jsdoc/no-multi-asterisks': (string | {
594
- allowWhitespace: boolean;
595
- preventAtMiddleLines: boolean;
596
- preventAtEnd: boolean;
597
- })[];
598
- 'jsdoc/no-restricted-syntax': string;
599
- 'jsdoc/no-types': string;
600
- 'jsdoc/no-undefined-types': string;
601
- 'jsdoc/require-asterisk-prefix': string[];
602
- 'jsdoc/require-description': (string | {
603
- exemptedBy: string[];
604
- })[];
605
- 'jsdoc/require-description-complete-sentence': string;
606
- 'jsdoc/require-example': string;
607
- 'jsdoc/require-file-overview': string;
608
- 'jsdoc/require-hyphen-before-param-description': string[];
609
- 'jsdoc/require-jsdoc': string;
610
- 'jsdoc/require-param': string;
611
- 'jsdoc/require-param-description': string;
612
- 'jsdoc/require-param-name': string;
613
- 'jsdoc/require-param-type': string;
614
- 'jsdoc/require-property': string;
615
- 'jsdoc/require-property-description': string;
616
- 'jsdoc/require-property-name': string;
617
- 'jsdoc/require-property-type': string;
618
- 'jsdoc/require-returns': string;
619
- 'jsdoc/require-returns-check': string;
620
- 'jsdoc/require-returns-description': string;
621
- 'jsdoc/require-returns-type': string;
622
- 'jsdoc/require-template': (string | {
623
- requireSeparateTemplates: boolean;
624
- })[];
625
- 'jsdoc/require-throws': string;
626
- 'jsdoc/require-yields': string;
627
- 'jsdoc/require-yields-check': string;
628
- 'jsdoc/sort-tags': (string | {
629
- tagSequence: {
630
- tags: string[];
631
- }[];
632
- alphabetizeExtras: boolean;
633
- linesBetween: number;
634
- reportTagGroupSpacing: boolean;
635
- reportIntraTagGroupSpacing: boolean;
636
- })[];
637
- 'jsdoc/tag-lines': (string | {
638
- count: number;
639
- startLines: number;
640
- endLines: number;
641
- applyToEndTag: boolean;
642
- tags: {};
643
- })[];
644
- 'jsdoc/valid-types': string;
645
- 'import/consistent-type-specifier-style': string[];
646
- 'import/dynamic-import-chunkname': string;
647
- 'import/exports-last': string;
648
- 'import/extensions': (string | {
649
- checkTypeImports: boolean;
650
- })[];
651
- 'import/first': string;
652
- 'import/group-exports': string;
653
- 'import/max-dependencies': string;
654
- 'import/newline-after-import': (string | {
655
- considerComments: boolean;
656
- })[];
657
- 'import/no-anonymous-default-export': string;
658
- 'import/no-default-export': string;
659
- 'import/no-duplicates': (string | {
660
- considerQueryString: boolean;
661
- 'prefer-inline': boolean;
662
- })[];
663
- 'import/no-named-default': string;
664
- 'import/no-named-export': string;
665
- 'import/no-namespace': string;
666
- 'import/no-unassigned-import': string;
667
- 'import/order': (string | {
668
- groups: string[];
669
- 'newlines-between': string;
670
- alphabetize: {
671
- order: string;
672
- caseInsensitive: boolean;
673
- };
674
- })[];
675
- 'import/prefer-default-export': string;
676
- 'import/no-amd': string;
677
- 'import/no-commonjs': (string | {
678
- allowConditionalRequire: boolean;
679
- allowPrimitiveModules: boolean;
680
- })[];
681
- 'import/no-import-module-exports': string;
682
- 'import/no-nodejs-modules': string;
683
- 'import/unambiguous': string;
684
- 'import/export': string;
685
- 'import/no-deprecated': string;
686
- 'import/no-empty-named-blocks': string;
687
- 'import/no-extraneous-dependencies': (string | import("./rules/import/rules/no-extraneous-dependencies").ImportNoExtraneousDependencies)[];
688
- 'import/no-mutable-exports': string;
689
- 'import/no-named-as-default': string;
690
- 'import/no-named-as-default-member': string;
691
- 'import/no-unused-modules': string;
692
- 'import/default': string;
693
- 'import/named': (string | {
694
- commonjs: boolean;
695
- })[];
696
- 'import/namespace': string;
697
- 'import/no-absolute-path': string;
698
- 'import/no-cycle': (string | {
699
- ignoreExternal: boolean;
700
- allowUnsafeDynamicCyclicDependency: boolean;
701
- })[];
702
- 'import/no-dynamic-require': (string | {
703
- esmodule: boolean;
704
- })[];
705
- 'import/no-internal-modules': string;
706
- 'import/no-relative-packages': string;
707
- 'import/no-relative-parent-imports': string;
708
- 'import/no-restricted-paths': string;
709
- 'import/no-self-import': string;
710
- 'import/no-unresolved': (string | {
711
- caseSensitive: boolean;
712
- caseSensitiveStrict: boolean;
713
- })[];
714
- 'import/no-useless-path-segments': string;
715
- 'import/no-webpack-loader-syntax': string;
716
- 'eslint-comments/no-restricted-disable': string;
717
- 'eslint-comments/no-use': (string | {
718
- allow: string[];
719
- })[];
720
- 'eslint-comments/require-description': (string | {
721
- ignore: string[];
722
- })[];
723
- 'eslint-comments/disable-enable-pair': string;
724
- 'eslint-comments/no-aggregating-enable': string;
725
- 'eslint-comments/no-duplicate-disable': string;
726
- 'eslint-comments/no-unlimited-disable': string;
727
- 'eslint-comments/no-unused-disable': string;
728
- 'eslint-comments/no-unused-enable': string;
729
- 'array-bracket-newline': string;
730
- 'array-bracket-spacing': string;
731
- 'array-element-newline': string;
732
- 'arrow-parens': string;
733
- 'arrow-spacing': string;
734
- 'block-spacing': string;
735
- 'brace-style': string;
736
- 'comma-dangle': string;
737
- 'comma-spacing': string;
738
- 'comma-style': string;
739
- 'computed-property-spacing': string;
740
- 'dot-location': string;
741
- 'eol-last': string;
742
- 'func-call-spacing': string;
743
- 'function-call-argument-newline': string;
744
- 'function-paren-newline': string;
745
- 'generator-star-spacing': string;
746
- 'implicit-arrow-linebreak': string;
747
- indent: string;
748
- 'jsx-quotes': string;
749
- 'key-spacing': string;
750
- 'keyword-spacing': string;
751
- 'line-comment-position': string;
752
- 'linebreak-style': string;
753
- 'lines-around-comment': string;
754
- 'lines-between-class-members': string;
755
- 'max-len': string;
756
- 'max-statements-per-line': string;
757
- 'multiline-ternary': string;
758
- 'new-parens': string;
759
- 'newline-per-chained-call': string;
760
- 'no-extra-parens': string;
761
- 'no-mixed-spaces-and-tabs': string;
762
- 'no-multi-spaces': string;
763
- 'no-multiple-empty-lines': string;
764
- 'no-tabs': string;
765
- 'no-trailing-spaces': string;
766
- 'no-whitespace-before-property': string;
767
- 'nonblock-statement-body-position': string;
768
- 'object-curly-newline': string;
769
- 'object-curly-spacing': string;
770
- 'object-property-newline': string;
771
- 'operator-linebreak': string;
772
- 'padded-blocks': string;
773
- 'padding-line-between-statements': string;
774
- quotes: string;
775
- 'rest-spread-spacing': string;
776
- semi: string;
777
- 'semi-spacing': string;
778
- 'semi-style': string;
779
- 'space-before-blocks': string;
780
- 'space-before-function-paren': string;
781
- 'space-in-parens': string;
782
- 'space-infix-ops': string;
783
- 'space-unary-ops': string;
784
- 'switch-colon-spacing': string;
785
- 'template-curly-spacing': string;
786
- 'template-tag-spacing': string;
787
- 'unicode-bom': string[];
788
- 'wrap-iife': string;
789
- 'wrap-regex': string;
790
- 'yield-star-spacing': string;
791
- 'accessor-pairs': string;
792
- 'arrow-body-style': string[];
793
- 'block-scoped-var': string;
794
- camelcase: string;
795
- 'capitalized-comments': (string | {
796
- ignorePattern: string;
797
- ignoreConsecutiveComments: boolean;
798
- })[];
799
- 'class-methods-use-this': string;
800
- complexity: (string | number)[];
801
- 'consistent-return': string;
802
- 'consistent-this': string[];
803
- curly: string[];
804
- 'default-case': string;
805
- 'default-case-last': string;
806
- 'default-param-last': string;
807
- 'dot-notation': (string | {
808
- allowKeywords: boolean;
809
- })[];
810
- eqeqeq: string[];
811
- 'func-name-matching': string[];
812
- 'func-names': string[];
813
- 'func-style': string[];
814
- 'grouped-accessor-pairs': string[];
815
- 'guard-for-in': string;
816
- 'id-denylist': string[];
817
- 'id-length': string;
818
- 'id-match': string;
819
- 'init-declarations': string[];
820
- 'logical-assignment-operators': (string | {
821
- enforceForIfStatements: boolean;
822
- })[];
823
- 'max-classes-per-file': (string | number)[];
824
- 'max-depth': (string | number)[];
825
- 'max-lines': string;
826
- 'max-lines-per-function': string;
827
- 'max-nested-callbacks': (string | number)[];
828
- 'max-params': (string | {
829
- max: number;
830
- })[];
831
- 'max-statements': (string | {
832
- max: number;
833
- })[];
834
- 'multiline-comment-style': string;
835
- 'new-cap': (string | {
836
- newIsCap: boolean;
837
- capIsNew: boolean;
838
- properties: boolean;
839
- })[];
840
- 'no-alert': string;
841
- 'no-array-constructor': string;
842
- 'no-bitwise': string;
843
- 'no-caller': string;
844
- 'no-case-declarations': string;
845
- 'no-confusing-arrow': string;
846
- 'no-console': string;
847
- 'no-continue': string;
848
- 'no-delete-var': string;
849
- 'no-div-regex': string;
850
- 'no-else-return': (string | {
851
- allowElseIf: boolean;
852
- })[];
853
- 'no-empty': string;
854
- 'no-empty-function': string;
855
- 'no-empty-static-block': string;
856
- 'no-eq-null': string;
857
- 'no-eval': string;
858
- 'no-extend-native': string;
859
- 'no-extra-bind': string;
860
- 'no-extra-boolean-cast': (string | {
861
- enforceForInnerExpressions: boolean;
862
- })[];
863
- 'no-extra-label': string;
864
- 'no-extra-semi': string;
865
- 'no-floating-decimal': string;
866
- 'no-global-assign': string;
867
- 'no-implicit-coercion': string;
868
- 'no-implicit-globals': string;
869
- 'no-implied-eval': string;
870
- 'no-inline-comments': (string | {
871
- ignorePattern: string;
872
- })[];
873
- 'no-invalid-this': string;
874
- 'no-iterator': string;
875
- 'no-label-var': string;
876
- 'no-labels': string;
877
- 'no-lone-blocks': string;
878
- 'no-lonely-if': string;
879
- 'no-loop-func': string;
880
- 'no-magic-numbers': string;
881
- 'no-mixed-operators': string;
882
- 'no-multi-assign': string;
883
- 'no-multi-str': string;
884
- 'no-negated-condition': string;
885
- 'no-nested-ternary': string;
886
- 'no-new': string;
887
- 'no-new-func': string;
888
- 'no-new-object': string;
889
- 'no-new-wrappers': string;
890
- 'no-nonoctal-decimal-escape': string;
891
- 'no-object-constructor': string;
892
- 'no-octal': string;
893
- 'no-octal-escape': string;
894
- 'no-param-reassign': string;
895
- 'no-plusplus': (string | {
896
- allowForLoopAfterthoughts: boolean;
897
- })[];
898
- 'no-proto': string;
899
- 'no-redeclare': string;
900
- 'no-regex-spaces': string;
901
- 'no-restricted-exports': string;
902
- 'no-restricted-globals': string;
903
- 'no-restricted-imports': string;
904
- 'no-restricted-properties': string;
905
- 'no-restricted-syntax': string[];
906
- 'no-return-assign': string;
907
- 'no-script-url': string;
908
- 'no-sequences': (string | {
909
- allowInParentheses: boolean;
910
- })[];
911
- 'no-shadow': string;
912
- 'no-shadow-restricted-names': string;
913
- 'no-ternary': string;
914
- 'no-throw-literal': string;
915
- 'no-undef-init': string;
916
- 'no-undefined': string;
917
- 'no-underscore-dangle': (string | {
918
- allowAfterSuper: boolean;
919
- allowAfterThis: boolean;
920
- allowAfterThisConstructor: boolean;
921
- allowFunctionParams: boolean;
922
- enforceInMethodNames: boolean;
923
- enforceInClassFields: boolean;
924
- })[];
925
- 'no-unneeded-ternary': string;
926
- 'no-unused-expressions': string;
927
- 'no-unused-labels': string;
928
- 'no-useless-call': string;
929
- 'no-useless-catch': string;
930
- 'no-useless-computed-key': string;
931
- 'no-useless-concat': string;
932
- 'no-useless-constructor': string;
933
- 'no-useless-escape': string;
934
- 'no-useless-rename': string;
935
- 'no-useless-return': string;
936
- 'no-var': string;
937
- 'no-void': string;
938
- 'no-warning-comments': string;
939
- 'no-with': string;
940
- 'object-shorthand': string[];
941
- 'one-var': string[];
942
- 'one-var-declaration-per-line': string;
943
- 'operator-assignment': string[];
944
- 'prefer-arrow-callback': string;
945
- 'prefer-const': string;
946
- 'prefer-destructuring': string;
947
- 'prefer-exponentiation-operator': string;
948
- 'prefer-named-capture-group': string;
949
- 'prefer-numeric-literals': string;
950
- 'prefer-object-has-own': string;
951
- 'prefer-object-spread': string;
952
- 'prefer-promise-reject-errors': string;
953
- 'prefer-regex-literals': string;
954
- 'prefer-rest-params': string;
955
- 'prefer-spread': string;
956
- 'prefer-template': string;
957
- 'quote-props': string;
958
- radix: string;
959
- 'require-await': string;
960
- 'require-unicode-regexp': string;
961
- 'require-yield': string;
962
- 'sort-imports': string;
963
- 'sort-keys': string;
964
- 'sort-vars': string;
965
- 'spaced-comment': string;
966
- strict: string;
967
- 'symbol-description': string;
968
- 'vars-on-top': string;
969
- yoda: string[];
970
- 'array-callback-return': (string | {
971
- allowImplicit: boolean;
972
- checkForEach: boolean;
973
- allowVoid: boolean;
974
- })[];
975
- 'constructor-super': string;
976
- 'for-direction': string;
977
- 'getter-return': string;
978
- 'no-async-promise-executor': string;
979
- 'no-await-in-loop': string;
980
- 'no-class-assign': string;
981
- 'no-compare-neg-zero': string;
982
- 'no-cond-assign': string[];
983
- 'no-const-assign': string;
984
- 'no-constant-binary-expression': string;
985
- 'no-constant-condition': string;
986
- 'no-constructor-return': string;
987
- 'no-control-regex': string;
988
- 'no-debugger': string;
989
- 'no-dupe-args': string;
990
- 'no-dupe-class-members': string;
991
- 'no-dupe-else-if': string;
992
- 'no-dupe-keys': string;
993
- 'no-duplicate-case': string;
994
- 'no-duplicate-imports': (string | {
995
- includeExports: boolean;
996
- })[];
997
- 'no-empty-character-class': string;
998
- 'no-empty-pattern': string;
999
- 'no-ex-assign': string;
1000
- 'no-fallthrough': (string | {
1001
- allowEmptyCase: boolean;
1002
- reportUnusedFallthroughComment: boolean;
1003
- })[];
1004
- 'no-func-assign': string;
1005
- 'no-import-assign': string;
1006
- 'no-inner-declarations': string;
1007
- 'no-invalid-regexp': string;
1008
- 'no-irregular-whitespace': (string | {
1009
- skipStrings: boolean;
1010
- skipComments: boolean;
1011
- skipRegExps: boolean;
1012
- skipTemplates: boolean;
1013
- skipJSXText: boolean;
1014
- })[];
1015
- 'no-loss-of-precision': string;
1016
- 'no-misleading-character-class': (string | {
1017
- allowEscape: boolean;
1018
- })[];
1019
- 'no-new-native-nonconstructor': string;
1020
- 'no-new-symbol': string;
1021
- 'no-obj-calls': string;
1022
- 'no-promise-executor-return': string;
1023
- 'no-prototype-builtins': string;
1024
- 'no-self-assign': string;
1025
- 'no-self-compare': string;
1026
- 'no-setter-return': string;
1027
- 'no-sparse-arrays': string;
1028
- 'no-template-curly-in-string': string;
1029
- 'no-this-before-super': string;
1030
- 'no-undef': string;
1031
- 'no-unexpected-multiline': string;
1032
- 'no-unmodified-loop-condition': string;
1033
- 'no-unreachable': string;
1034
- 'no-unreachable-loop': string;
1035
- 'no-unsafe-finally': string;
1036
- 'no-unsafe-negation': string;
1037
- 'no-unsafe-optional-chaining': string;
1038
- 'no-unused-private-class-members': string;
1039
- 'no-unused-vars': (string | {
1040
- args: string;
1041
- argsIgnorePattern: string;
1042
- caughtErrors: string;
1043
- destructuredArrayIgnorePattern: string;
1044
- ignoreClassWithStaticInitBlock: boolean;
1045
- ignoreRestSiblings: boolean;
1046
- reportUsedIgnorePattern: boolean;
1047
- vars: string;
1048
- })[];
1049
- 'no-use-before-define': (string | {
1050
- functions: boolean;
1051
- classes: boolean;
1052
- variables: boolean;
1053
- allowNamedExports: boolean;
1054
- })[];
1055
- 'no-useless-backreference': string;
1056
- 'no-useless-assignment': string;
1057
- 'require-atomic-updates': (string | {
1058
- allowProperties: boolean;
1059
- })[];
1060
- 'use-isnan': string;
1061
- 'valid-typeof': (string | {
1062
- requireStringLiterals: boolean;
1063
- })[];
1064
- 'array-func/from-map': string;
1065
- 'array-func/no-unnecessary-this-arg': string;
1066
- 'array-func/prefer-array-from': string;
1067
- 'array-func/avoid-reverse': string;
1068
- 'array-func/prefer-flat-map': string;
1069
- 'array-func/prefer-flat': string;
1070
- };
1071
- ignores?: undefined;
1072
- } | {
1073
- files: string[];
1074
- languageOptions: {
1075
- sourceType: string;
1076
- ecmaVersion: string;
1077
- parserOptions: {
1078
- ecmaFeatures: {
1079
- globalReturn: boolean;
1080
- impliedStrict: boolean;
1081
- };
1082
- projectService?: undefined;
1083
- warnOnUnsupportedTypeScriptVersion?: undefined;
1084
- };
1085
- parser?: undefined;
1086
- };
1087
- plugins: {};
1088
- settings: {
1089
- 'import/extensions': string[];
1090
- jsdoc?: undefined;
1091
- 'import/parsers'?: undefined;
1092
- 'import/resolver'?: undefined;
1093
- };
1094
- rules: {
1095
- 'import/no-commonjs': string;
1096
- 'import/no-extraneous-dependencies': (string | import("./rules/import/rules/no-extraneous-dependencies").ImportNoExtraneousDependencies)[];
1097
- 'import/unambiguous': string;
1098
- 'jsdoc/no-types': string;
1099
- 'jsdoc/no-undefined-types': string;
1100
- 'jsdoc/require-param': string;
1101
- 'jsdoc/require-param-type': string;
1102
- 'jsdoc/require-returns': string;
1103
- 'jsdoc/require-returns-type': string;
1104
- };
1105
- ignores?: undefined;
1106
- } | {
1107
- files: string[];
1108
- languageOptions: {
1109
- sourceType: string;
1110
- ecmaVersion: string;
1111
- parser: import("@typescript-eslint/utils/dist/ts-eslint").Parser.LooseParserModule;
1112
- parserOptions: {
1113
- ecmaFeatures: {
1114
- globalReturn: boolean;
1115
- impliedStrict: boolean;
1116
- };
1117
- projectService: boolean;
1118
- warnOnUnsupportedTypeScriptVersion: boolean;
1119
- };
1120
- };
1121
- plugins: {
1122
- '@stylistic/ts': typeof import("@stylistic/eslint-plugin-ts");
1123
- '@typescript-eslint': import("@typescript-eslint/utils/dist/ts-eslint").FlatConfig.Plugin;
1124
- };
1125
- settings: {
1126
- 'import/parsers': {
1127
- '@typescript-eslint/parser': string[];
1128
- };
1129
- 'import/resolver': {
1130
- typescript: {
1131
- alwaysTryTypes: boolean;
1132
- project: string;
1133
- };
1134
- };
1135
- jsdoc?: undefined;
1136
- 'import/extensions'?: undefined;
1137
- };
1138
- rules: {
1139
- '@stylistic/js/block-spacing': string;
1140
- '@stylistic/ts/block-spacing': string[];
1141
- '@stylistic/js/brace-style': string;
1142
- '@stylistic/ts/brace-style': (string | {
1143
- allowSingleLine: boolean;
1144
- })[];
1145
- '@stylistic/js/comma-dangle': string;
1146
- '@stylistic/ts/comma-dangle': (string | {
1147
- arrays: string;
1148
- enums: string;
1149
- exports: string;
1150
- functions: string;
1151
- generics: string;
1152
- imports: string;
1153
- objects: string;
1154
- tuples: string;
1155
- })[];
1156
- '@stylistic/js/comma-spacing': string;
1157
- '@stylistic/ts/comma-spacing': (string | {
1158
- before: boolean;
1159
- after: boolean;
1160
- })[];
1161
- '@stylistic/js/func-call-spacing': string;
1162
- '@stylistic/ts/func-call-spacing': string;
1163
- '@stylistic/js/function-call-spacing': string;
1164
- '@stylistic/ts/function-call-spacing': string[];
1165
- '@stylistic/js/indent': string;
1166
- '@stylistic/ts/indent': (string | number | {
1167
- SwitchCase: number;
1168
- ignoredNodes: string[];
1169
- })[];
1170
- '@stylistic/js/key-spacing': string;
1171
- '@stylistic/ts/key-spacing': (string | {
1172
- beforeColon: boolean;
1173
- afterColon: boolean;
1174
- mode: string;
1175
- })[];
1176
- '@stylistic/js/keyword-spacing': string;
1177
- '@stylistic/ts/keyword-spacing': (string | {
1178
- before: boolean;
1179
- after: boolean;
1180
- })[];
1181
- '@stylistic/js/lines-around-comment': string;
1182
- '@stylistic/ts/lines-around-comment': (string | {
1183
- beforeBlockComment: boolean;
1184
- afterBlockComment: boolean;
1185
- beforeLineComment: boolean;
1186
- afterLineComment: boolean;
1187
- allowBlockStart: boolean;
1188
- allowBlockEnd: boolean;
1189
- allowObjectStart: boolean;
1190
- allowObjectEnd: boolean;
1191
- allowArrayStart: boolean;
1192
- allowArrayEnd: boolean;
1193
- allowClassStart: boolean;
1194
- allowClassEnd: boolean;
1195
- allowInterfaceStart: boolean;
1196
- allowInterfaceEnd: boolean;
1197
- allowTypeStart: boolean;
1198
- allowTypeEnd: boolean;
1199
- })[];
1200
- '@stylistic/js/lines-between-class-members': string;
1201
- '@stylistic/ts/lines-between-class-members': (string | {
1202
- exceptAfterSingleLine: boolean;
1203
- exceptAfterOverload: boolean;
1204
- })[];
1205
- '@stylistic/ts/member-delimiter-style': (string | {
1206
- multiline: {
1207
- delimiter: string;
1208
- requireLast: boolean;
1209
- };
1210
- singleline: {
1211
- delimiter: string;
1212
- requireLast: boolean;
1213
- };
1214
- multilineDetection: string;
1215
- })[];
1216
- '@stylistic/js/no-extra-parens': string;
1217
- '@stylistic/ts/no-extra-parens': (string | {
1218
- ignoreJSX: string;
1219
- nestedBinaryExpressions: boolean;
1220
- enforceForArrowConditionals: boolean;
1221
- })[];
1222
- '@stylistic/js/no-extra-semi': string;
1223
- '@stylistic/ts/no-extra-semi': string;
1224
- '@stylistic/js/object-curly-newline': string;
1225
- '@stylistic/ts/object-curly-newline': (string | {
1226
- ImportDeclaration: {
1227
- multiline: boolean;
1228
- };
1229
- ExportDeclaration: {
1230
- multiline: boolean;
1231
- };
1232
- })[];
1233
- '@stylistic/js/object-curly-spacing': string;
1234
- '@stylistic/ts/object-curly-spacing': (string | {
1235
- arraysInObjects: boolean;
1236
- objectsInObjects: boolean;
1237
- })[];
1238
- '@stylistic/js/object-property-newline': string;
1239
- '@stylistic/ts/object-property-newline': (string | {
1240
- allowAllPropertiesOnSameLine: boolean;
1241
- })[];
1242
- '@stylistic/js/padding-line-between-statements': string;
1243
- '@stylistic/ts/padding-line-between-statements': string;
1244
- '@stylistic/js/quote-props': string;
1245
- '@stylistic/ts/quote-props': string[];
1246
- '@stylistic/js/quotes': string;
1247
- '@stylistic/ts/quotes': (string | {
1248
- avoidEscape: boolean;
1249
- allowTemplateLiterals: boolean;
1250
- })[];
1251
- '@stylistic/js/semi': string;
1252
- '@stylistic/ts/semi': string[];
1253
- '@stylistic/js/space-before-blocks': string;
1254
- '@stylistic/ts/space-before-blocks': string[];
1255
- '@stylistic/js/space-before-function-paren': string;
1256
- '@stylistic/ts/space-before-function-paren': (string | {
1257
- anonymous: string;
1258
- named: string;
1259
- asyncArrow: string;
1260
- })[];
1261
- '@stylistic/js/space-infix-ops': string;
1262
- '@stylistic/ts/space-infix-ops': (string | {
1263
- int32Hint: boolean;
1264
- })[];
1265
- '@stylistic/ts/type-annotation-spacing': string;
1266
- 'block-spacing': string;
1267
- '@typescript-eslint/block-spacing': string;
1268
- 'brace-style': string;
1269
- '@typescript-eslint/brace-style': string;
1270
- 'class-methods-use-this': string;
1271
- '@typescript-eslint/class-methods-use-this': string;
1272
- 'comma-dangle': string;
1273
- '@typescript-eslint/comma-dangle': string;
1274
- 'comma-spacing': string;
1275
- '@typescript-eslint/comma-spacing': string;
1276
- 'consistent-return': string;
1277
- '@typescript-eslint/consistent-return': string;
1278
- 'default-param-last': string;
1279
- '@typescript-eslint/default-param-last': string;
1280
- 'dot-notation': string;
1281
- '@typescript-eslint/dot-notation': (string | {
1282
- allowKeywords: boolean;
1283
- allowPrivateClassPropertyAccess: boolean;
1284
- allowProtectedClassPropertyAccess: boolean;
1285
- })[];
1286
- 'func-call-spacing': string;
1287
- '@typescript-eslint/func-call-spacing': string;
1288
- indent: string;
1289
- '@typescript-eslint/indent': string;
1290
- 'init-declarations': string;
1291
- '@typescript-eslint/init-declarations': string[];
1292
- 'key-spacing': string;
1293
- '@typescript-eslint/key-spacing': string;
1294
- 'keyword-spacing': string;
1295
- '@typescript-eslint/keyword-spacing': string;
1296
- 'lines-around-comment': string;
1297
- '@typescript-eslint/lines-around-comment': string;
1298
- 'lines-between-class-members': string;
1299
- '@typescript-eslint/lines-between-class-members': string;
1300
- 'no-array-constructor': string;
1301
- '@typescript-eslint/no-array-constructor': string;
1302
- 'no-dupe-class-members': string;
1303
- '@typescript-eslint/no-dupe-class-members': string;
1304
- 'no-empty-function': string;
1305
- '@typescript-eslint/no-empty-function': (string | {
1306
- allow: string[];
1307
- })[];
1308
- 'no-extra-parens': string;
1309
- '@typescript-eslint/no-extra-parens': string;
1310
- 'no-extra-semi': string;
1311
- '@typescript-eslint/no-extra-semi': string;
1312
- 'no-implied-eval': string;
1313
- '@typescript-eslint/no-implied-eval': string;
1314
- 'no-invalid-this': string;
1315
- '@typescript-eslint/no-invalid-this': string;
1316
- 'no-loop-func': string;
1317
- '@typescript-eslint/no-loop-func': string;
1318
- '@typescript-eslint/no-loss-of-precision': string;
1319
- 'no-magic-numbers': string;
1320
- '@typescript-eslint/no-magic-numbers': string;
1321
- 'no-redeclare': string;
1322
- '@typescript-eslint/no-redeclare': string;
1323
- 'no-restricted-imports': string;
1324
- '@typescript-eslint/no-restricted-imports': {}[];
1325
- 'no-shadow': string;
1326
- '@typescript-eslint/no-shadow': string;
1327
- 'no-throw-literal': string;
1328
- '@typescript-eslint/only-throw-error': (string | {
1329
- allowThrowingAny: boolean;
1330
- allowThrowingUnknown: boolean;
1331
- })[];
1332
- 'no-unused-expressions': string;
1333
- '@typescript-eslint/no-unused-expressions': string;
1334
- 'no-unused-vars': string;
1335
- '@typescript-eslint/no-unused-vars': (string | {
1336
- args: string;
1337
- argsIgnorePattern: string;
1338
- caughtErrors: string;
1339
- destructuredArrayIgnorePattern: string;
1340
- ignoreRestSiblings: boolean;
1341
- vars: string;
1342
- })[];
1343
- 'no-use-before-define': string;
1344
- '@typescript-eslint/no-use-before-define': (string | {
1345
- functions: boolean;
1346
- classes: boolean;
1347
- variables: boolean;
1348
- allowNamedExports: boolean;
1349
- enums: boolean;
1350
- typedefs: boolean;
1351
- ignoreTypeReferences: boolean;
1352
- })[];
1353
- 'no-useless-constructor': string;
1354
- '@typescript-eslint/no-useless-constructor': string;
1355
- 'object-curly-spacing': string;
1356
- '@typescript-eslint/object-curly-spacing': string;
1357
- 'padding-line-between-statements': string;
1358
- '@typescript-eslint/padding-line-between-statements': string;
1359
- 'prefer-destructuring': string;
1360
- '@typescript-eslint/prefer-destructuring': string;
1361
- 'prefer-promise-reject-errors': string;
1362
- '@typescript-eslint/prefer-promise-reject-errors': string;
1363
- quotes: string;
1364
- '@typescript-eslint/quotes': string;
1365
- 'require-await': string;
1366
- '@typescript-eslint/require-await': string;
1367
- 'no-return-await': string;
1368
- '@typescript-eslint/return-await': string[];
1369
- semi: string;
1370
- '@typescript-eslint/semi': string;
1371
- 'space-before-blocks': string;
1372
- '@typescript-eslint/space-before-blocks': string;
1373
- 'space-before-function-paren': string;
1374
- '@typescript-eslint/space-before-function-paren': string;
1375
- 'space-infix-ops': string;
1376
- '@typescript-eslint/space-infix-ops': string;
1377
- '@typescript-eslint/adjacent-overload-signatures': string;
1378
- '@typescript-eslint/array-type': (string | {
1379
- default: string;
1380
- readonly: string;
1381
- })[];
1382
- '@typescript-eslint/await-thenable': string;
1383
- '@typescript-eslint/ban-ts-comment': string;
1384
- '@typescript-eslint/ban-tslint-comment': string;
1385
- '@typescript-eslint/ban-types': string;
1386
- '@typescript-eslint/class-literal-property-style': string;
1387
- '@typescript-eslint/consistent-generic-constructors': string[];
1388
- '@typescript-eslint/consistent-indexed-object-style': string[];
1389
- '@typescript-eslint/consistent-type-assertions': (string | {
1390
- assertionStyle: string;
1391
- objectLiteralTypeAssertions: string;
1392
- })[];
1393
- '@typescript-eslint/consistent-type-definitions': string[];
1394
- '@typescript-eslint/consistent-type-exports': (string | {
1395
- fixMixedExportsWithInlineTypeSpecifier: boolean;
1396
- })[];
1397
- '@typescript-eslint/consistent-type-imports': (string | {
1398
- prefer: string;
1399
- disallowTypeAnnotations: boolean;
1400
- })[];
1401
- '@typescript-eslint/explicit-function-return-type': (string | {
1402
- allowConciseArrowFunctionExpressionsStartingWithVoid: boolean;
1403
- allowDirectConstAssertionInArrowFunctions: boolean;
1404
- allowExpressions: boolean;
1405
- allowFunctionsWithoutTypeParameters: boolean;
1406
- allowHigherOrderFunctions: boolean;
1407
- allowIIFEs: boolean;
1408
- allowTypedFunctionExpressions: boolean;
1409
- allowedNames: never[];
1410
- })[];
1411
- '@typescript-eslint/explicit-member-accessibility': string;
1412
- '@typescript-eslint/explicit-module-boundary-types': string;
1413
- '@typescript-eslint/member-delimiter-style': string;
1414
- '@typescript-eslint/member-ordering': (string | {
1415
- default: string[];
1416
- })[];
1417
- '@typescript-eslint/method-signature-style': string[];
1418
- '@typescript-eslint/naming-convention': (string | import("./rules").TypescriptEslintNamingConvention)[];
1419
- '@typescript-eslint/no-array-delete': string;
1420
- '@typescript-eslint/no-base-to-string': string;
1421
- '@typescript-eslint/no-confusing-non-null-assertion': string;
1422
- '@typescript-eslint/no-confusing-void-expression': (string | {
1423
- ignoreArrowShorthand: boolean;
1424
- ignoreVoidOperator: boolean;
1425
- })[];
1426
- '@typescript-eslint/no-deprecated': string;
1427
- '@typescript-eslint/no-duplicate-enum-values': string;
1428
- '@typescript-eslint/no-duplicate-type-constituents': (string | {
1429
- ignoreIntersections: boolean;
1430
- ignoreUnions: boolean;
1431
- })[];
1432
- '@typescript-eslint/no-dynamic-delete': string;
1433
- '@typescript-eslint/no-empty-interface': (string | {
1434
- allowSingleExtends: boolean;
1435
- })[];
1436
- '@typescript-eslint/no-empty-object-type': (string | {
1437
- allowInterfaces: string;
1438
- allowObjectTypes: string;
1439
- })[];
1440
- '@typescript-eslint/no-explicit-any': (string | {
1441
- fixToUnknown: boolean;
1442
- ignoreRestArgs: boolean;
1443
- })[];
1444
- '@typescript-eslint/no-extra-non-null-assertion': string;
1445
- '@typescript-eslint/no-extraneous-class': (string | {
1446
- allowConstructorOnly: boolean;
1447
- allowEmpty: boolean;
1448
- allowStaticOnly: boolean;
1449
- allowWithDecorator: boolean;
1450
- })[];
1451
- '@typescript-eslint/no-floating-promises': (string | {
1452
- allowForKnownSafeCalls: never[];
1453
- allowForKnownSafePromises: never[];
1454
- checkThenables: boolean;
1455
- ignoreIIFE: boolean;
1456
- ignoreVoid: boolean;
1457
- })[];
1458
- '@typescript-eslint/no-for-in-array': string;
1459
- '@typescript-eslint/no-import-type-side-effects': string;
1460
- '@typescript-eslint/no-inferrable-types': string;
1461
- '@typescript-eslint/no-invalid-void-type': (string | {
1462
- allowInGenericTypeArguments: boolean;
1463
- })[];
1464
- '@typescript-eslint/no-meaningless-void-operator': (string | {
1465
- checkNever: boolean;
1466
- })[];
1467
- '@typescript-eslint/no-misused-new': string;
1468
- '@typescript-eslint/no-misused-promises': (string | {
1469
- checksConditionals: boolean;
1470
- checksVoidReturn: boolean;
1471
- })[];
1472
- '@typescript-eslint/no-mixed-enums': string;
1473
- '@typescript-eslint/no-namespace': string;
1474
- '@typescript-eslint/no-non-null-asserted-nullish-coalescing': string;
1475
- '@typescript-eslint/no-non-null-asserted-optional-chain': string;
1476
- '@typescript-eslint/no-non-null-assertion': string;
1477
- '@typescript-eslint/no-redundant-type-constituents': string;
1478
- '@typescript-eslint/no-unnecessary-type-parameters': string;
1479
- '@typescript-eslint/no-require-imports': (string | {
1480
- allow: never[];
1481
- })[];
1482
- '@typescript-eslint/no-restricted-types': (string | {
1483
- types: {
1484
- object: {
1485
- message: string;
1486
- suggest: string[];
1487
- };
1488
- };
1489
- })[];
1490
- '@typescript-eslint/no-this-alias': string;
1491
- '@typescript-eslint/no-type-alias': string;
1492
- '@typescript-eslint/no-unnecessary-boolean-literal-compare': (string | {
1493
- allowComparingNullableBooleansToTrue: boolean;
1494
- allowComparingNullableBooleansToFalse: boolean;
1495
- })[];
1496
- '@typescript-eslint/no-unnecessary-condition': (string | {
1497
- allowConstantLoopConditions: boolean;
1498
- allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: boolean;
1499
- checkTypePredicates: boolean;
1500
- })[];
1501
- '@typescript-eslint/no-unnecessary-parameter-property-assignment': string;
1502
- '@typescript-eslint/no-unnecessary-qualifier': string;
1503
- '@typescript-eslint/no-unnecessary-template-expression': string;
1504
- '@typescript-eslint/no-unnecessary-type-arguments': string;
1505
- '@typescript-eslint/no-unnecessary-type-assertion': string;
1506
- '@typescript-eslint/no-unnecessary-type-constraint': string;
1507
- '@typescript-eslint/no-unsafe-argument': string;
1508
- '@typescript-eslint/no-unsafe-assignment': string;
1509
- '@typescript-eslint/no-unsafe-call': string;
1510
- '@typescript-eslint/no-unsafe-declaration-merging': string;
1511
- '@typescript-eslint/no-unsafe-enum-comparison': string;
1512
- '@typescript-eslint/no-unsafe-function-type': string;
1513
- '@typescript-eslint/no-unsafe-member-access': string;
1514
- '@typescript-eslint/no-unsafe-return': string;
1515
- '@typescript-eslint/no-unsafe-type-assertion': string;
1516
- '@typescript-eslint/no-unsafe-unary-minus': string;
1517
- '@typescript-eslint/no-useless-empty-export': string;
1518
- '@typescript-eslint/no-useless-template-literal': string;
1519
- '@typescript-eslint/no-var-requires': (string | {
1520
- allow: never[];
1521
- })[];
1522
- '@typescript-eslint/no-wrapper-object-types': string;
1523
- '@typescript-eslint/non-nullable-type-assertion-style': string;
1524
- '@typescript-eslint/parameter-properties': (string | {
1525
- prefer: string;
1526
- })[];
1527
- '@typescript-eslint/prefer-as-const': string;
1528
- '@typescript-eslint/prefer-enum-initializers': string;
1529
- '@typescript-eslint/prefer-find': string;
1530
- '@typescript-eslint/prefer-for-of': string;
1531
- '@typescript-eslint/prefer-function-type': string;
1532
- '@typescript-eslint/prefer-includes': string;
1533
- '@typescript-eslint/prefer-literal-enum-member': (string | {
1534
- allowBitwiseExpressions: boolean;
1535
- })[];
1536
- '@typescript-eslint/prefer-namespace-keyword': string;
1537
- '@typescript-eslint/prefer-nullish-coalescing': (string | {
1538
- ignoreBooleanCoercion: boolean;
1539
- ignoreTernaryTests: boolean;
1540
- ignoreConditionalTests: boolean;
1541
- ignoreMixedLogicalExpressions: boolean;
1542
- ignorePrimitives: {
1543
- bigint: boolean;
1544
- boolean: boolean;
1545
- number: boolean;
1546
- string: boolean;
1547
- };
1548
- })[];
1549
- '@typescript-eslint/prefer-optional-chain': (string | {
1550
- checkAny: boolean;
1551
- checkUnknown: boolean;
1552
- checkString: boolean;
1553
- checkNumber: boolean;
1554
- checkBoolean: boolean;
1555
- checkBigInt: boolean;
1556
- requireNullish: boolean;
1557
- })[];
1558
- '@typescript-eslint/prefer-readonly': string;
1559
- '@typescript-eslint/prefer-readonly-parameter-types': string;
1560
- '@typescript-eslint/prefer-reduce-type-parameter': string;
1561
- '@typescript-eslint/prefer-regexp-exec': string;
1562
- '@typescript-eslint/prefer-return-this-type': string;
1563
- '@typescript-eslint/prefer-string-starts-ends-with': (string | {
1564
- allowSingleElementEquality: string;
1565
- })[];
1566
- '@typescript-eslint/prefer-ts-expect-error': string;
1567
- '@typescript-eslint/promise-function-async': (string | {
1568
- checkArrowFunctions: boolean;
1569
- })[];
1570
- '@typescript-eslint/require-array-sort-compare': (string | {
1571
- ignoreStringArrays: boolean;
1572
- })[];
1573
- '@typescript-eslint/restrict-plus-operands': (string | {
1574
- allowAny: boolean;
1575
- allowBoolean: boolean;
1576
- allowNullish: boolean;
1577
- allowNumberAndString: boolean;
1578
- allowRegExp: boolean;
1579
- skipCompoundAssignments: boolean;
1580
- })[];
1581
- '@typescript-eslint/restrict-template-expressions': (string | {
1582
- allowAny: boolean;
1583
- allowArray: boolean;
1584
- allowBoolean: boolean;
1585
- allowNullish: boolean;
1586
- allowNumber: boolean;
1587
- allowRegExp: boolean;
1588
- allowNever: boolean;
1589
- })[];
1590
- '@typescript-eslint/sort-type-constituents': string;
1591
- '@typescript-eslint/strict-boolean-expressions': (string | {
1592
- allowString: boolean;
1593
- allowNumber: boolean;
1594
- allowNullableEnum: boolean;
1595
- allowNullableObject: boolean;
1596
- allowNullableBoolean: boolean;
1597
- allowNullableString: boolean;
1598
- allowNullableNumber: boolean;
1599
- allowAny: boolean;
1600
- })[];
1601
- '@typescript-eslint/switch-exhaustiveness-check': (string | {
1602
- allowDefaultCaseForExhaustiveSwitch: boolean;
1603
- requireDefaultForNonUnion: boolean;
1604
- })[];
1605
- '@typescript-eslint/triple-slash-reference': (string | {
1606
- path: string;
1607
- types: string;
1608
- lib: string;
1609
- })[];
1610
- '@typescript-eslint/type-annotation-spacing': string;
1611
- '@typescript-eslint/typedef': (string | {
1612
- arrayDestructuring: boolean;
1613
- arrowParameter: boolean;
1614
- memberVariableDeclaration: boolean;
1615
- objectDestructuring: boolean;
1616
- parameter: boolean;
1617
- propertyDeclaration: boolean;
1618
- variableDeclaration: boolean;
1619
- variableDeclarationIgnoreFunction: boolean;
1620
- })[];
1621
- '@typescript-eslint/unbound-method': (string | {
1622
- ignoreStatic: boolean;
1623
- })[];
1624
- '@typescript-eslint/unified-signatures': (string | {
1625
- ignoreDifferentlyNamedParameters: boolean;
1626
- })[];
1627
- '@typescript-eslint/use-unknown-in-catch-callback-variable': string;
1628
- 'import/no-commonjs'?: undefined;
1629
- 'import/no-extraneous-dependencies'?: undefined;
1630
- 'import/unambiguous'?: undefined;
1631
- 'jsdoc/no-types'?: undefined;
1632
- 'jsdoc/no-undefined-types'?: undefined;
1633
- 'jsdoc/require-param'?: undefined;
1634
- 'jsdoc/require-param-type'?: undefined;
1635
- 'jsdoc/require-returns'?: undefined;
1636
- 'jsdoc/require-returns-type'?: undefined;
1637
- };
1638
- ignores?: undefined;
1639
- } | {
1640
- files: string[];
1641
- plugins: {
1642
- '@stylistic/jsx': typeof import("@stylistic/eslint-plugin-jsx");
1643
- };
1644
- rules: {
1645
- '@stylistic/jsx/jsx-child-element-spacing': string;
1646
- '@stylistic/jsx/jsx-closing-bracket-location': (string | {
1647
- selfClosing: string;
1648
- nonEmpty: string;
1649
- })[];
1650
- '@stylistic/jsx/jsx-closing-tag-location': string[];
1651
- '@stylistic/jsx/jsx-curly-brace-presence': (string | {
1652
- props: string;
1653
- children: string;
1654
- propElementValues: string;
1655
- })[];
1656
- '@stylistic/jsx/jsx-curly-newline': string[];
1657
- '@stylistic/jsx/jsx-curly-spacing': (string | {
1658
- when: string;
1659
- attributes: {
1660
- allowMultiline: boolean;
1661
- };
1662
- children: {
1663
- allowMultiline: boolean;
1664
- };
1665
- })[];
1666
- '@stylistic/jsx/jsx-equals-spacing': string[];
1667
- '@stylistic/jsx/jsx-first-prop-new-line': string[];
1668
- '@stylistic/jsx/jsx-function-call-newline': string[];
1669
- '@stylistic/jsx/jsx-indent': string;
1670
- '@stylistic/jsx/jsx-indent-props': (string | {
1671
- indentMode: number;
1672
- ignoreTernaryOperator: boolean;
1673
- })[];
1674
- '@stylistic/jsx/jsx-max-props-per-line': (string | {
1675
- maximum: number;
1676
- when: string;
1677
- })[];
1678
- '@stylistic/jsx/jsx-newline': string;
1679
- '@stylistic/jsx/jsx-one-expression-per-line': (string | {
1680
- allow: string;
1681
- })[];
1682
- '@stylistic/jsx/jsx-pascal-case': (string | {
1683
- allowAllCaps: boolean;
1684
- allowLeadingUnderscore: boolean;
1685
- allowNamespace: boolean;
1686
- ignore: never[];
1687
- })[];
1688
- '@stylistic/jsx/jsx-props-no-multi-spaces': string;
1689
- '@stylistic/jsx/jsx-self-closing-comp': (string | {
1690
- component: boolean;
1691
- html: boolean;
1692
- })[];
1693
- '@stylistic/jsx/jsx-sort-props': (string | {
1694
- ignoreCase: boolean;
1695
- callbacksLast: boolean;
1696
- shorthandFirst: boolean;
1697
- shorthandLast: boolean;
1698
- multiline: string;
1699
- noSortAlphabetically: boolean;
1700
- reservedFirst: boolean;
1701
- locale: string;
1702
- })[];
1703
- '@stylistic/jsx/jsx-tag-spacing': (string | {
1704
- closingSlash: string;
1705
- beforeSelfClosing: string;
1706
- afterOpening: string;
1707
- beforeClosing: string;
1708
- })[];
1709
- '@stylistic/jsx/jsx-wrap-multilines': (string | {
1710
- declaration: string;
1711
- assignment: string;
1712
- return: string;
1713
- arrow: string;
1714
- condition: string;
1715
- logical: string;
1716
- prop: string;
1717
- })[];
1718
- 'import/no-commonjs'?: undefined;
1719
- 'import/no-extraneous-dependencies'?: undefined;
1720
- 'import/unambiguous'?: undefined;
1721
- 'jsdoc/no-types'?: undefined;
1722
- 'jsdoc/no-undefined-types'?: undefined;
1723
- 'jsdoc/require-param'?: undefined;
1724
- 'jsdoc/require-param-type'?: undefined;
1725
- 'jsdoc/require-returns'?: undefined;
1726
- 'jsdoc/require-returns-type'?: undefined;
1727
- };
1728
- ignores?: undefined;
1729
- languageOptions?: undefined;
1730
- settings?: undefined;
1731
- })[];
1732
- export default _default;
1
+ export { perfectiveEslintConfig } from './config/perfective-eslint-config';
2
+ export { configurationFiles, cypressFiles, Glob, javascriptFiles, jestFiles, jsxFiles, tsxFiles, typescriptDeclarationFiles, typescriptFiles, } from './linter/glob';
3
+ export { javascriptLanguageOptions, languageOptions, typescriptLanguageOptions, } from './linter/language-options';
4
+ export { LinterConfig, linterConfig, } from './linter/linter-config';
5
+ export { hasEslintPlugin, optionalRule, } from './linter/plugin';