@perfective/eslint-config 0.30.0 → 0.31.1

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