@jsse/eslint-config 0.4.8 → 0.4.11

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 (105) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +1 -1
  3. package/dist/cli.d.ts +1 -1
  4. package/dist/cli.js +11 -8
  5. package/dist/index.d.ts +14 -4
  6. package/dist/index.js +38 -132
  7. package/dist/version-Cmu7XVG1.js +39 -0
  8. package/package.json +23 -20
  9. package/dist/esm/cli.d.ts +0 -1
  10. package/dist/esm/cli.js +0 -121
  11. package/dist/esm/config-fns.d.ts +0 -138
  12. package/dist/esm/config-fns.js +0 -161
  13. package/dist/esm/configs/antfu.d.ts +0 -4
  14. package/dist/esm/configs/antfu.js +0 -30
  15. package/dist/esm/configs/command.d.ts +0 -10
  16. package/dist/esm/configs/command.js +0 -17
  17. package/dist/esm/configs/de-morgan.d.ts +0 -2
  18. package/dist/esm/configs/de-morgan.js +0 -9
  19. package/dist/esm/configs/eslint-comments.d.ts +0 -2
  20. package/dist/esm/configs/eslint-comments.js +0 -16
  21. package/dist/esm/configs/gql.d.ts +0 -2
  22. package/dist/esm/configs/gql.js +0 -4
  23. package/dist/esm/configs/ignores.d.ts +0 -2
  24. package/dist/esm/configs/ignores.js +0 -9
  25. package/dist/esm/configs/imports.d.ts +0 -2
  26. package/dist/esm/configs/imports.js +0 -28
  27. package/dist/esm/configs/javascript.d.ts +0 -6
  28. package/dist/esm/configs/javascript.js +0 -262
  29. package/dist/esm/configs/jsdoc.d.ts +0 -2
  30. package/dist/esm/configs/jsdoc.js +0 -31
  31. package/dist/esm/configs/jsonc.d.ts +0 -4
  32. package/dist/esm/configs/jsonc.js +0 -76
  33. package/dist/esm/configs/markdown.d.ts +0 -4
  34. package/dist/esm/configs/markdown.js +0 -122
  35. package/dist/esm/configs/n.d.ts +0 -2
  36. package/dist/esm/configs/n.js +0 -21
  37. package/dist/esm/configs/no-only-tests.d.ts +0 -4
  38. package/dist/esm/configs/no-only-tests.js +0 -31
  39. package/dist/esm/configs/perfectionist.d.ts +0 -7
  40. package/dist/esm/configs/perfectionist.js +0 -60
  41. package/dist/esm/configs/pnpm.d.ts +0 -2
  42. package/dist/esm/configs/pnpm.js +0 -34
  43. package/dist/esm/configs/prettier.d.ts +0 -7
  44. package/dist/esm/configs/prettier.js +0 -126
  45. package/dist/esm/configs/react.d.ts +0 -6
  46. package/dist/esm/configs/react.js +0 -300
  47. package/dist/esm/configs/sort-package-json.d.ts +0 -7
  48. package/dist/esm/configs/sort-package-json.js +0 -102
  49. package/dist/esm/configs/sort-tsconfig.d.ts +0 -14
  50. package/dist/esm/configs/sort-tsconfig.js +0 -135
  51. package/dist/esm/configs/stylistic.d.ts +0 -2
  52. package/dist/esm/configs/stylistic.js +0 -39
  53. package/dist/esm/configs/tailwind.d.ts +0 -1
  54. package/dist/esm/configs/tailwind.js +0 -81
  55. package/dist/esm/configs/toml.d.ts +0 -2
  56. package/dist/esm/configs/toml.js +0 -50
  57. package/dist/esm/configs/ts/parser.d.ts +0 -7
  58. package/dist/esm/configs/ts/parser.js +0 -71
  59. package/dist/esm/configs/ts/requires-type-checking.d.ts +0 -1
  60. package/dist/esm/configs/ts/requires-type-checking.js +0 -61
  61. package/dist/esm/configs/ts/typescript-language-options.d.ts +0 -2
  62. package/dist/esm/configs/ts/typescript-language-options.js +0 -22
  63. package/dist/esm/configs/ts/typescript-rules.d.ts +0 -11
  64. package/dist/esm/configs/ts/typescript-rules.js +0 -379
  65. package/dist/esm/configs/ts/typescript.d.ts +0 -4
  66. package/dist/esm/configs/ts/typescript.js +0 -123
  67. package/dist/esm/configs/tsdoc.d.ts +0 -2
  68. package/dist/esm/configs/tsdoc.js +0 -16
  69. package/dist/esm/configs/unicorn.d.ts +0 -2
  70. package/dist/esm/configs/unicorn.js +0 -114
  71. package/dist/esm/configs/vitest.d.ts +0 -4
  72. package/dist/esm/configs/vitest.js +0 -29
  73. package/dist/esm/configs/yml.d.ts +0 -4
  74. package/dist/esm/configs/yml.js +0 -51
  75. package/dist/esm/const.d.ts +0 -5
  76. package/dist/esm/const.js +0 -25
  77. package/dist/esm/define-config.d.ts +0 -7
  78. package/dist/esm/define-config.js +0 -256
  79. package/dist/esm/dev.d.ts +0 -4
  80. package/dist/esm/dev.js +0 -25
  81. package/dist/esm/fixable.d.ts +0 -2
  82. package/dist/esm/fixable.js +0 -4
  83. package/dist/esm/generated/fixable-rules-map.d.ts +0 -2
  84. package/dist/esm/generated/fixable-rules-map.js +0 -443
  85. package/dist/esm/generated/version.d.ts +0 -1
  86. package/dist/esm/generated/version.js +0 -1
  87. package/dist/esm/globs.d.ts +0 -25
  88. package/dist/esm/globs.js +0 -73
  89. package/dist/esm/index.d.ts +0 -9
  90. package/dist/esm/index.js +0 -8
  91. package/dist/esm/lager.d.ts +0 -32
  92. package/dist/esm/lager.js +0 -87
  93. package/dist/esm/log.d.ts +0 -2
  94. package/dist/esm/log.js +0 -2
  95. package/dist/esm/plugins-all.d.ts +0 -26
  96. package/dist/esm/plugins-all.js +0 -120
  97. package/dist/esm/plugins.d.ts +0 -1570
  98. package/dist/esm/plugins.js +0 -97
  99. package/dist/esm/presets.d.ts +0 -18
  100. package/dist/esm/presets.js +0 -75
  101. package/dist/esm/types.d.ts +0 -287
  102. package/dist/esm/types.js +0 -1
  103. package/dist/esm/utils.d.ts +0 -51
  104. package/dist/esm/utils.js +0 -156
  105. package/dist/version-PF6gUNyJ.js +0 -5
@@ -1,1570 +0,0 @@
1
- import type { Rule } from "eslint";
2
- export { default as pluginEslintComments } from "@eslint-community/eslint-plugin-eslint-comments";
3
- export { default as pluginTs } from "@typescript-eslint/eslint-plugin";
4
- export * as parserTs from "@typescript-eslint/parser";
5
- export { default as pluginAntfu } from "eslint-plugin-antfu";
6
- export { default as pluginDeMorgan } from "eslint-plugin-de-morgan";
7
- export { default as pluginImportLite } from "eslint-plugin-import-lite";
8
- export { default as pluginN } from "eslint-plugin-n";
9
- export { default as pluginPerfectionist } from "eslint-plugin-perfectionist";
10
- export { default as pluginPnpm } from "eslint-plugin-pnpm";
11
- export { default as pluginUnicorn } from "eslint-plugin-unicorn";
12
- export { default as pluginUnusedImports } from "eslint-plugin-unused-imports";
13
- export declare function importPluginUnicorn(): Promise<{
14
- pluginUnicorn: import("eslint").ESLint.Plugin & {
15
- configs: {
16
- recommended: import("eslint").Linter.FlatConfig;
17
- all: import("eslint").Linter.FlatConfig;
18
- "flat/all": import("eslint").Linter.FlatConfig;
19
- "flat/recommended": import("eslint").Linter.FlatConfig;
20
- };
21
- };
22
- }>;
23
- export declare function importPluginReact(): Promise<{
24
- pluginReact: {
25
- deprecatedRules: Partial<{
26
- 'boolean-prop-naming': import("eslint").Rule.RuleModule;
27
- 'button-has-type': import("eslint").Rule.RuleModule;
28
- 'checked-requires-onchange-or-readonly': import("eslint").Rule.RuleModule;
29
- 'default-props-match-prop-types': import("eslint").Rule.RuleModule;
30
- 'destructuring-assignment': import("eslint").Rule.RuleModule;
31
- 'display-name': import("eslint").Rule.RuleModule;
32
- 'forbid-component-props': import("eslint").Rule.RuleModule;
33
- 'forbid-dom-props': import("eslint").Rule.RuleModule;
34
- 'forbid-elements': import("eslint").Rule.RuleModule;
35
- 'forbid-foreign-prop-types': import("eslint").Rule.RuleModule;
36
- 'forbid-prop-types': import("eslint").Rule.RuleModule;
37
- 'forward-ref-uses-ref': import("eslint").Rule.RuleModule;
38
- 'function-component-definition': import("eslint").Rule.RuleModule;
39
- 'hook-use-state': import("eslint").Rule.RuleModule;
40
- 'iframe-missing-sandbox': import("eslint").Rule.RuleModule;
41
- 'jsx-boolean-value': import("eslint").Rule.RuleModule;
42
- 'jsx-child-element-spacing': import("eslint").Rule.RuleModule;
43
- 'jsx-closing-bracket-location': import("eslint").Rule.RuleModule;
44
- 'jsx-closing-tag-location': import("eslint").Rule.RuleModule;
45
- 'jsx-curly-spacing': import("eslint").Rule.RuleModule;
46
- 'jsx-curly-newline': import("eslint").Rule.RuleModule;
47
- 'jsx-equals-spacing': import("eslint").Rule.RuleModule;
48
- 'jsx-filename-extension': import("eslint").Rule.RuleModule;
49
- 'jsx-first-prop-new-line': import("eslint").Rule.RuleModule;
50
- 'jsx-handler-names': import("eslint").Rule.RuleModule;
51
- 'jsx-indent': import("eslint").Rule.RuleModule;
52
- 'jsx-indent-props': import("eslint").Rule.RuleModule;
53
- 'jsx-key': import("eslint").Rule.RuleModule;
54
- 'jsx-max-depth': import("eslint").Rule.RuleModule;
55
- 'jsx-max-props-per-line': import("eslint").Rule.RuleModule;
56
- 'jsx-newline': import("eslint").Rule.RuleModule;
57
- 'jsx-no-bind': import("eslint").Rule.RuleModule;
58
- 'jsx-no-comment-textnodes': import("eslint").Rule.RuleModule;
59
- 'jsx-no-constructed-context-values': import("eslint").Rule.RuleModule;
60
- 'jsx-no-duplicate-props': import("eslint").Rule.RuleModule;
61
- 'jsx-no-leaked-render': import("eslint").Rule.RuleModule;
62
- 'jsx-no-literals': import("eslint").Rule.RuleModule;
63
- 'jsx-no-script-url': import("eslint").Rule.RuleModule;
64
- 'jsx-no-target-blank': import("eslint").Rule.RuleModule;
65
- 'jsx-no-useless-fragment': import("eslint").Rule.RuleModule;
66
- 'jsx-one-expression-per-line': import("eslint").Rule.RuleModule;
67
- 'jsx-no-undef': import("eslint").Rule.RuleModule;
68
- 'jsx-curly-brace-presence': import("eslint").Rule.RuleModule;
69
- 'jsx-pascal-case': import("eslint").Rule.RuleModule;
70
- 'jsx-fragments': import("eslint").Rule.RuleModule;
71
- 'jsx-props-no-multi-spaces': import("eslint").Rule.RuleModule;
72
- 'jsx-props-no-spreading': import("eslint").Rule.RuleModule;
73
- 'jsx-props-no-spread-multi': import("eslint").Rule.RuleModule;
74
- 'jsx-sort-default-props': import("eslint").Rule.RuleModule;
75
- 'jsx-sort-props': import("eslint").Rule.RuleModule;
76
- 'jsx-space-before-closing': import("eslint").Rule.RuleModule;
77
- 'jsx-tag-spacing': import("eslint").Rule.RuleModule;
78
- 'jsx-uses-react': import("eslint").Rule.RuleModule;
79
- 'jsx-uses-vars': import("eslint").Rule.RuleModule;
80
- 'jsx-wrap-multilines': import("eslint").Rule.RuleModule;
81
- 'no-invalid-html-attribute': import("eslint").Rule.RuleModule;
82
- 'no-access-state-in-setstate': import("eslint").Rule.RuleModule;
83
- 'no-adjacent-inline-elements': import("eslint").Rule.RuleModule;
84
- 'no-array-index-key': import("eslint").Rule.RuleModule;
85
- 'no-arrow-function-lifecycle': import("eslint").Rule.RuleModule;
86
- 'no-children-prop': import("eslint").Rule.RuleModule;
87
- 'no-danger': import("eslint").Rule.RuleModule;
88
- 'no-danger-with-children': import("eslint").Rule.RuleModule;
89
- 'no-deprecated': import("eslint").Rule.RuleModule;
90
- 'no-did-mount-set-state': import("eslint").Rule.RuleModule;
91
- 'no-did-update-set-state': import("eslint").Rule.RuleModule;
92
- 'no-direct-mutation-state': import("eslint").Rule.RuleModule;
93
- 'no-find-dom-node': import("eslint").Rule.RuleModule;
94
- 'no-is-mounted': import("eslint").Rule.RuleModule;
95
- 'no-multi-comp': import("eslint").Rule.RuleModule;
96
- 'no-namespace': import("eslint").Rule.RuleModule;
97
- 'no-set-state': import("eslint").Rule.RuleModule;
98
- 'no-string-refs': import("eslint").Rule.RuleModule;
99
- 'no-redundant-should-component-update': import("eslint").Rule.RuleModule;
100
- 'no-render-return-value': import("eslint").Rule.RuleModule;
101
- 'no-this-in-sfc': import("eslint").Rule.RuleModule;
102
- 'no-typos': import("eslint").Rule.RuleModule;
103
- 'no-unescaped-entities': import("eslint").Rule.RuleModule;
104
- 'no-unknown-property': import("eslint").Rule.RuleModule;
105
- 'no-unsafe': import("eslint").Rule.RuleModule;
106
- 'no-unstable-nested-components': import("eslint").Rule.RuleModule;
107
- 'no-unused-class-component-methods': import("eslint").Rule.RuleModule;
108
- 'no-unused-prop-types': import("eslint").Rule.RuleModule;
109
- 'no-unused-state': import("eslint").Rule.RuleModule;
110
- 'no-object-type-as-default-prop': import("eslint").Rule.RuleModule;
111
- 'no-will-update-set-state': import("eslint").Rule.RuleModule;
112
- 'prefer-es6-class': import("eslint").Rule.RuleModule;
113
- 'prefer-exact-props': import("eslint").Rule.RuleModule;
114
- 'prefer-read-only-props': import("eslint").Rule.RuleModule;
115
- 'prefer-stateless-function': import("eslint").Rule.RuleModule;
116
- 'prop-types': import("eslint").Rule.RuleModule;
117
- 'react-in-jsx-scope': import("eslint").Rule.RuleModule;
118
- 'require-default-props': import("eslint").Rule.RuleModule;
119
- 'require-optimization': import("eslint").Rule.RuleModule;
120
- 'require-render-return': import("eslint").Rule.RuleModule;
121
- 'self-closing-comp': import("eslint").Rule.RuleModule;
122
- 'sort-comp': import("eslint").Rule.RuleModule;
123
- 'sort-default-props': import("eslint").Rule.RuleModule;
124
- 'sort-prop-types': import("eslint").Rule.RuleModule;
125
- 'state-in-constructor': import("eslint").Rule.RuleModule;
126
- 'static-property-placement': import("eslint").Rule.RuleModule;
127
- 'style-prop-object': import("eslint").Rule.RuleModule;
128
- 'void-dom-elements-no-children': import("eslint").Rule.RuleModule;
129
- }>;
130
- rules: {
131
- 'boolean-prop-naming': import("eslint").Rule.RuleModule;
132
- 'button-has-type': import("eslint").Rule.RuleModule;
133
- 'checked-requires-onchange-or-readonly': import("eslint").Rule.RuleModule;
134
- 'default-props-match-prop-types': import("eslint").Rule.RuleModule;
135
- 'destructuring-assignment': import("eslint").Rule.RuleModule;
136
- 'display-name': import("eslint").Rule.RuleModule;
137
- 'forbid-component-props': import("eslint").Rule.RuleModule;
138
- 'forbid-dom-props': import("eslint").Rule.RuleModule;
139
- 'forbid-elements': import("eslint").Rule.RuleModule;
140
- 'forbid-foreign-prop-types': import("eslint").Rule.RuleModule;
141
- 'forbid-prop-types': import("eslint").Rule.RuleModule;
142
- 'forward-ref-uses-ref': import("eslint").Rule.RuleModule;
143
- 'function-component-definition': import("eslint").Rule.RuleModule;
144
- 'hook-use-state': import("eslint").Rule.RuleModule;
145
- 'iframe-missing-sandbox': import("eslint").Rule.RuleModule;
146
- 'jsx-boolean-value': import("eslint").Rule.RuleModule;
147
- 'jsx-child-element-spacing': import("eslint").Rule.RuleModule;
148
- 'jsx-closing-bracket-location': import("eslint").Rule.RuleModule;
149
- 'jsx-closing-tag-location': import("eslint").Rule.RuleModule;
150
- 'jsx-curly-spacing': import("eslint").Rule.RuleModule;
151
- 'jsx-curly-newline': import("eslint").Rule.RuleModule;
152
- 'jsx-equals-spacing': import("eslint").Rule.RuleModule;
153
- 'jsx-filename-extension': import("eslint").Rule.RuleModule;
154
- 'jsx-first-prop-new-line': import("eslint").Rule.RuleModule;
155
- 'jsx-handler-names': import("eslint").Rule.RuleModule;
156
- 'jsx-indent': import("eslint").Rule.RuleModule;
157
- 'jsx-indent-props': import("eslint").Rule.RuleModule;
158
- 'jsx-key': import("eslint").Rule.RuleModule;
159
- 'jsx-max-depth': import("eslint").Rule.RuleModule;
160
- 'jsx-max-props-per-line': import("eslint").Rule.RuleModule;
161
- 'jsx-newline': import("eslint").Rule.RuleModule;
162
- 'jsx-no-bind': import("eslint").Rule.RuleModule;
163
- 'jsx-no-comment-textnodes': import("eslint").Rule.RuleModule;
164
- 'jsx-no-constructed-context-values': import("eslint").Rule.RuleModule;
165
- 'jsx-no-duplicate-props': import("eslint").Rule.RuleModule;
166
- 'jsx-no-leaked-render': import("eslint").Rule.RuleModule;
167
- 'jsx-no-literals': import("eslint").Rule.RuleModule;
168
- 'jsx-no-script-url': import("eslint").Rule.RuleModule;
169
- 'jsx-no-target-blank': import("eslint").Rule.RuleModule;
170
- 'jsx-no-useless-fragment': import("eslint").Rule.RuleModule;
171
- 'jsx-one-expression-per-line': import("eslint").Rule.RuleModule;
172
- 'jsx-no-undef': import("eslint").Rule.RuleModule;
173
- 'jsx-curly-brace-presence': import("eslint").Rule.RuleModule;
174
- 'jsx-pascal-case': import("eslint").Rule.RuleModule;
175
- 'jsx-fragments': import("eslint").Rule.RuleModule;
176
- 'jsx-props-no-multi-spaces': import("eslint").Rule.RuleModule;
177
- 'jsx-props-no-spreading': import("eslint").Rule.RuleModule;
178
- 'jsx-props-no-spread-multi': import("eslint").Rule.RuleModule;
179
- 'jsx-sort-default-props': import("eslint").Rule.RuleModule;
180
- 'jsx-sort-props': import("eslint").Rule.RuleModule;
181
- 'jsx-space-before-closing': import("eslint").Rule.RuleModule;
182
- 'jsx-tag-spacing': import("eslint").Rule.RuleModule;
183
- 'jsx-uses-react': import("eslint").Rule.RuleModule;
184
- 'jsx-uses-vars': import("eslint").Rule.RuleModule;
185
- 'jsx-wrap-multilines': import("eslint").Rule.RuleModule;
186
- 'no-invalid-html-attribute': import("eslint").Rule.RuleModule;
187
- 'no-access-state-in-setstate': import("eslint").Rule.RuleModule;
188
- 'no-adjacent-inline-elements': import("eslint").Rule.RuleModule;
189
- 'no-array-index-key': import("eslint").Rule.RuleModule;
190
- 'no-arrow-function-lifecycle': import("eslint").Rule.RuleModule;
191
- 'no-children-prop': import("eslint").Rule.RuleModule;
192
- 'no-danger': import("eslint").Rule.RuleModule;
193
- 'no-danger-with-children': import("eslint").Rule.RuleModule;
194
- 'no-deprecated': import("eslint").Rule.RuleModule;
195
- 'no-did-mount-set-state': import("eslint").Rule.RuleModule;
196
- 'no-did-update-set-state': import("eslint").Rule.RuleModule;
197
- 'no-direct-mutation-state': import("eslint").Rule.RuleModule;
198
- 'no-find-dom-node': import("eslint").Rule.RuleModule;
199
- 'no-is-mounted': import("eslint").Rule.RuleModule;
200
- 'no-multi-comp': import("eslint").Rule.RuleModule;
201
- 'no-namespace': import("eslint").Rule.RuleModule;
202
- 'no-set-state': import("eslint").Rule.RuleModule;
203
- 'no-string-refs': import("eslint").Rule.RuleModule;
204
- 'no-redundant-should-component-update': import("eslint").Rule.RuleModule;
205
- 'no-render-return-value': import("eslint").Rule.RuleModule;
206
- 'no-this-in-sfc': import("eslint").Rule.RuleModule;
207
- 'no-typos': import("eslint").Rule.RuleModule;
208
- 'no-unescaped-entities': import("eslint").Rule.RuleModule;
209
- 'no-unknown-property': import("eslint").Rule.RuleModule;
210
- 'no-unsafe': import("eslint").Rule.RuleModule;
211
- 'no-unstable-nested-components': import("eslint").Rule.RuleModule;
212
- 'no-unused-class-component-methods': import("eslint").Rule.RuleModule;
213
- 'no-unused-prop-types': import("eslint").Rule.RuleModule;
214
- 'no-unused-state': import("eslint").Rule.RuleModule;
215
- 'no-object-type-as-default-prop': import("eslint").Rule.RuleModule;
216
- 'no-will-update-set-state': import("eslint").Rule.RuleModule;
217
- 'prefer-es6-class': import("eslint").Rule.RuleModule;
218
- 'prefer-exact-props': import("eslint").Rule.RuleModule;
219
- 'prefer-read-only-props': import("eslint").Rule.RuleModule;
220
- 'prefer-stateless-function': import("eslint").Rule.RuleModule;
221
- 'prop-types': import("eslint").Rule.RuleModule;
222
- 'react-in-jsx-scope': import("eslint").Rule.RuleModule;
223
- 'require-default-props': import("eslint").Rule.RuleModule;
224
- 'require-optimization': import("eslint").Rule.RuleModule;
225
- 'require-render-return': import("eslint").Rule.RuleModule;
226
- 'self-closing-comp': import("eslint").Rule.RuleModule;
227
- 'sort-comp': import("eslint").Rule.RuleModule;
228
- 'sort-default-props': import("eslint").Rule.RuleModule;
229
- 'sort-prop-types': import("eslint").Rule.RuleModule;
230
- 'state-in-constructor': import("eslint").Rule.RuleModule;
231
- 'static-property-placement': import("eslint").Rule.RuleModule;
232
- 'style-prop-object': import("eslint").Rule.RuleModule;
233
- 'void-dom-elements-no-children': import("eslint").Rule.RuleModule;
234
- };
235
- configs: {
236
- recommended: {
237
- plugins: ["react"];
238
- parserOptions: {
239
- ecmaFeatures: {
240
- jsx: boolean;
241
- };
242
- };
243
- rules: {
244
- "react/display-name": 2;
245
- "react/jsx-key": 2;
246
- "react/jsx-no-comment-textnodes": 2;
247
- "react/jsx-no-duplicate-props": 2;
248
- "react/jsx-no-target-blank": 2;
249
- "react/jsx-no-undef": 2;
250
- "react/jsx-uses-react": 2;
251
- "react/jsx-uses-vars": 2;
252
- "react/no-children-prop": 2;
253
- "react/no-danger-with-children": 2;
254
- "react/no-deprecated": 2;
255
- "react/no-direct-mutation-state": 2;
256
- "react/no-find-dom-node": 2;
257
- "react/no-is-mounted": 2;
258
- "react/no-render-return-value": 2;
259
- "react/no-string-refs": 2;
260
- "react/no-unescaped-entities": 2;
261
- "react/no-unknown-property": 2;
262
- "react/no-unsafe": 0;
263
- "react/prop-types": 2;
264
- "react/react-in-jsx-scope": 2;
265
- "react/require-render-return": 2;
266
- };
267
- };
268
- all: {
269
- plugins: ["react"];
270
- parserOptions: {
271
- ecmaFeatures: {
272
- jsx: boolean;
273
- };
274
- };
275
- rules: Record<"boolean-prop-naming" | "button-has-type" | "checked-requires-onchange-or-readonly" | "default-props-match-prop-types" | "destructuring-assignment" | "display-name" | "forbid-component-props" | "forbid-dom-props" | "forbid-elements" | "forbid-foreign-prop-types" | "forbid-prop-types" | "prop-types" | "forward-ref-uses-ref" | "function-component-definition" | "hook-use-state" | "iframe-missing-sandbox" | "jsx-boolean-value" | "jsx-child-element-spacing" | "jsx-closing-bracket-location" | "jsx-closing-tag-location" | "jsx-curly-spacing" | "jsx-curly-newline" | "jsx-equals-spacing" | "jsx-filename-extension" | "jsx-first-prop-new-line" | "jsx-handler-names" | "jsx-indent" | "jsx-indent-props" | "jsx-key" | "jsx-max-depth" | "jsx-max-props-per-line" | "jsx-newline" | "jsx-no-bind" | "jsx-no-comment-textnodes" | "jsx-no-constructed-context-values" | "jsx-no-duplicate-props" | "jsx-no-leaked-render" | "jsx-no-literals" | "jsx-no-script-url" | "jsx-no-target-blank" | "jsx-no-useless-fragment" | "jsx-one-expression-per-line" | "jsx-no-undef" | "jsx-curly-brace-presence" | "jsx-pascal-case" | "jsx-fragments" | "jsx-props-no-multi-spaces" | "jsx-props-no-spreading" | "jsx-props-no-spread-multi" | "sort-default-props" | "jsx-sort-default-props" | "jsx-sort-props" | "jsx-tag-spacing" | "jsx-space-before-closing" | "jsx-uses-react" | "jsx-uses-vars" | "jsx-wrap-multilines" | "no-invalid-html-attribute" | "no-access-state-in-setstate" | "no-adjacent-inline-elements" | "no-array-index-key" | "no-arrow-function-lifecycle" | "no-children-prop" | "no-danger" | "no-danger-with-children" | "no-deprecated" | "no-direct-mutation-state" | "no-find-dom-node" | "no-is-mounted" | "no-multi-comp" | "no-namespace" | "no-set-state" | "no-string-refs" | "no-redundant-should-component-update" | "no-render-return-value" | "no-this-in-sfc" | "no-typos" | "no-unescaped-entities" | "no-unknown-property" | "no-unsafe" | "no-unstable-nested-components" | "no-unused-class-component-methods" | "no-unused-prop-types" | "no-unused-state" | "no-object-type-as-default-prop" | "prefer-es6-class" | "prefer-exact-props" | "prefer-read-only-props" | "prefer-stateless-function" | "react-in-jsx-scope" | "require-default-props" | "require-optimization" | "require-render-return" | "self-closing-comp" | "sort-comp" | "sort-prop-types" | "state-in-constructor" | "static-property-placement" | "style-prop-object" | "void-dom-elements-no-children" | "no-did-mount-set-state" | "no-did-update-set-state" | "no-will-update-set-state", 2 | "error">;
276
- };
277
- 'jsx-runtime': {
278
- plugins: ["react"];
279
- parserOptions: {
280
- ecmaFeatures: {
281
- jsx: boolean;
282
- };
283
- jsxPragma: any;
284
- };
285
- rules: {
286
- "react/react-in-jsx-scope": 0;
287
- "react/jsx-uses-react": 0;
288
- };
289
- };
290
- flat: Record<string, import("eslint-plugin-react").ReactFlatConfig>;
291
- } & {
292
- flat: Record<string, import("eslint-plugin-react").ReactFlatConfig>;
293
- };
294
- };
295
- }>;
296
- export declare function importPluginReactHooks(): Promise<{
297
- pluginReactHooks: typeof import("eslint-plugin-react-hooks");
298
- }>;
299
- export declare function importPluginReactRefresh(): Promise<{
300
- pluginReactRefresh: {
301
- rules: Record<string, any>;
302
- configs: {
303
- recommended: {
304
- plugins: {
305
- "react-refresh": {
306
- rules: Record<string, any>;
307
- };
308
- };
309
- rules: Record<string, any>;
310
- };
311
- vite: {
312
- plugins: {
313
- "react-refresh": {
314
- rules: Record<string, any>;
315
- };
316
- };
317
- rules: Record<string, any>;
318
- };
319
- };
320
- };
321
- }>;
322
- export declare function importReactPlugins(): Promise<{
323
- pluginReact: {
324
- deprecatedRules: Partial<{
325
- 'boolean-prop-naming': import("eslint").Rule.RuleModule;
326
- 'button-has-type': import("eslint").Rule.RuleModule;
327
- 'checked-requires-onchange-or-readonly': import("eslint").Rule.RuleModule;
328
- 'default-props-match-prop-types': import("eslint").Rule.RuleModule;
329
- 'destructuring-assignment': import("eslint").Rule.RuleModule;
330
- 'display-name': import("eslint").Rule.RuleModule;
331
- 'forbid-component-props': import("eslint").Rule.RuleModule;
332
- 'forbid-dom-props': import("eslint").Rule.RuleModule;
333
- 'forbid-elements': import("eslint").Rule.RuleModule;
334
- 'forbid-foreign-prop-types': import("eslint").Rule.RuleModule;
335
- 'forbid-prop-types': import("eslint").Rule.RuleModule;
336
- 'forward-ref-uses-ref': import("eslint").Rule.RuleModule;
337
- 'function-component-definition': import("eslint").Rule.RuleModule;
338
- 'hook-use-state': import("eslint").Rule.RuleModule;
339
- 'iframe-missing-sandbox': import("eslint").Rule.RuleModule;
340
- 'jsx-boolean-value': import("eslint").Rule.RuleModule;
341
- 'jsx-child-element-spacing': import("eslint").Rule.RuleModule;
342
- 'jsx-closing-bracket-location': import("eslint").Rule.RuleModule;
343
- 'jsx-closing-tag-location': import("eslint").Rule.RuleModule;
344
- 'jsx-curly-spacing': import("eslint").Rule.RuleModule;
345
- 'jsx-curly-newline': import("eslint").Rule.RuleModule;
346
- 'jsx-equals-spacing': import("eslint").Rule.RuleModule;
347
- 'jsx-filename-extension': import("eslint").Rule.RuleModule;
348
- 'jsx-first-prop-new-line': import("eslint").Rule.RuleModule;
349
- 'jsx-handler-names': import("eslint").Rule.RuleModule;
350
- 'jsx-indent': import("eslint").Rule.RuleModule;
351
- 'jsx-indent-props': import("eslint").Rule.RuleModule;
352
- 'jsx-key': import("eslint").Rule.RuleModule;
353
- 'jsx-max-depth': import("eslint").Rule.RuleModule;
354
- 'jsx-max-props-per-line': import("eslint").Rule.RuleModule;
355
- 'jsx-newline': import("eslint").Rule.RuleModule;
356
- 'jsx-no-bind': import("eslint").Rule.RuleModule;
357
- 'jsx-no-comment-textnodes': import("eslint").Rule.RuleModule;
358
- 'jsx-no-constructed-context-values': import("eslint").Rule.RuleModule;
359
- 'jsx-no-duplicate-props': import("eslint").Rule.RuleModule;
360
- 'jsx-no-leaked-render': import("eslint").Rule.RuleModule;
361
- 'jsx-no-literals': import("eslint").Rule.RuleModule;
362
- 'jsx-no-script-url': import("eslint").Rule.RuleModule;
363
- 'jsx-no-target-blank': import("eslint").Rule.RuleModule;
364
- 'jsx-no-useless-fragment': import("eslint").Rule.RuleModule;
365
- 'jsx-one-expression-per-line': import("eslint").Rule.RuleModule;
366
- 'jsx-no-undef': import("eslint").Rule.RuleModule;
367
- 'jsx-curly-brace-presence': import("eslint").Rule.RuleModule;
368
- 'jsx-pascal-case': import("eslint").Rule.RuleModule;
369
- 'jsx-fragments': import("eslint").Rule.RuleModule;
370
- 'jsx-props-no-multi-spaces': import("eslint").Rule.RuleModule;
371
- 'jsx-props-no-spreading': import("eslint").Rule.RuleModule;
372
- 'jsx-props-no-spread-multi': import("eslint").Rule.RuleModule;
373
- 'jsx-sort-default-props': import("eslint").Rule.RuleModule;
374
- 'jsx-sort-props': import("eslint").Rule.RuleModule;
375
- 'jsx-space-before-closing': import("eslint").Rule.RuleModule;
376
- 'jsx-tag-spacing': import("eslint").Rule.RuleModule;
377
- 'jsx-uses-react': import("eslint").Rule.RuleModule;
378
- 'jsx-uses-vars': import("eslint").Rule.RuleModule;
379
- 'jsx-wrap-multilines': import("eslint").Rule.RuleModule;
380
- 'no-invalid-html-attribute': import("eslint").Rule.RuleModule;
381
- 'no-access-state-in-setstate': import("eslint").Rule.RuleModule;
382
- 'no-adjacent-inline-elements': import("eslint").Rule.RuleModule;
383
- 'no-array-index-key': import("eslint").Rule.RuleModule;
384
- 'no-arrow-function-lifecycle': import("eslint").Rule.RuleModule;
385
- 'no-children-prop': import("eslint").Rule.RuleModule;
386
- 'no-danger': import("eslint").Rule.RuleModule;
387
- 'no-danger-with-children': import("eslint").Rule.RuleModule;
388
- 'no-deprecated': import("eslint").Rule.RuleModule;
389
- 'no-did-mount-set-state': import("eslint").Rule.RuleModule;
390
- 'no-did-update-set-state': import("eslint").Rule.RuleModule;
391
- 'no-direct-mutation-state': import("eslint").Rule.RuleModule;
392
- 'no-find-dom-node': import("eslint").Rule.RuleModule;
393
- 'no-is-mounted': import("eslint").Rule.RuleModule;
394
- 'no-multi-comp': import("eslint").Rule.RuleModule;
395
- 'no-namespace': import("eslint").Rule.RuleModule;
396
- 'no-set-state': import("eslint").Rule.RuleModule;
397
- 'no-string-refs': import("eslint").Rule.RuleModule;
398
- 'no-redundant-should-component-update': import("eslint").Rule.RuleModule;
399
- 'no-render-return-value': import("eslint").Rule.RuleModule;
400
- 'no-this-in-sfc': import("eslint").Rule.RuleModule;
401
- 'no-typos': import("eslint").Rule.RuleModule;
402
- 'no-unescaped-entities': import("eslint").Rule.RuleModule;
403
- 'no-unknown-property': import("eslint").Rule.RuleModule;
404
- 'no-unsafe': import("eslint").Rule.RuleModule;
405
- 'no-unstable-nested-components': import("eslint").Rule.RuleModule;
406
- 'no-unused-class-component-methods': import("eslint").Rule.RuleModule;
407
- 'no-unused-prop-types': import("eslint").Rule.RuleModule;
408
- 'no-unused-state': import("eslint").Rule.RuleModule;
409
- 'no-object-type-as-default-prop': import("eslint").Rule.RuleModule;
410
- 'no-will-update-set-state': import("eslint").Rule.RuleModule;
411
- 'prefer-es6-class': import("eslint").Rule.RuleModule;
412
- 'prefer-exact-props': import("eslint").Rule.RuleModule;
413
- 'prefer-read-only-props': import("eslint").Rule.RuleModule;
414
- 'prefer-stateless-function': import("eslint").Rule.RuleModule;
415
- 'prop-types': import("eslint").Rule.RuleModule;
416
- 'react-in-jsx-scope': import("eslint").Rule.RuleModule;
417
- 'require-default-props': import("eslint").Rule.RuleModule;
418
- 'require-optimization': import("eslint").Rule.RuleModule;
419
- 'require-render-return': import("eslint").Rule.RuleModule;
420
- 'self-closing-comp': import("eslint").Rule.RuleModule;
421
- 'sort-comp': import("eslint").Rule.RuleModule;
422
- 'sort-default-props': import("eslint").Rule.RuleModule;
423
- 'sort-prop-types': import("eslint").Rule.RuleModule;
424
- 'state-in-constructor': import("eslint").Rule.RuleModule;
425
- 'static-property-placement': import("eslint").Rule.RuleModule;
426
- 'style-prop-object': import("eslint").Rule.RuleModule;
427
- 'void-dom-elements-no-children': import("eslint").Rule.RuleModule;
428
- }>;
429
- rules: {
430
- 'boolean-prop-naming': import("eslint").Rule.RuleModule;
431
- 'button-has-type': import("eslint").Rule.RuleModule;
432
- 'checked-requires-onchange-or-readonly': import("eslint").Rule.RuleModule;
433
- 'default-props-match-prop-types': import("eslint").Rule.RuleModule;
434
- 'destructuring-assignment': import("eslint").Rule.RuleModule;
435
- 'display-name': import("eslint").Rule.RuleModule;
436
- 'forbid-component-props': import("eslint").Rule.RuleModule;
437
- 'forbid-dom-props': import("eslint").Rule.RuleModule;
438
- 'forbid-elements': import("eslint").Rule.RuleModule;
439
- 'forbid-foreign-prop-types': import("eslint").Rule.RuleModule;
440
- 'forbid-prop-types': import("eslint").Rule.RuleModule;
441
- 'forward-ref-uses-ref': import("eslint").Rule.RuleModule;
442
- 'function-component-definition': import("eslint").Rule.RuleModule;
443
- 'hook-use-state': import("eslint").Rule.RuleModule;
444
- 'iframe-missing-sandbox': import("eslint").Rule.RuleModule;
445
- 'jsx-boolean-value': import("eslint").Rule.RuleModule;
446
- 'jsx-child-element-spacing': import("eslint").Rule.RuleModule;
447
- 'jsx-closing-bracket-location': import("eslint").Rule.RuleModule;
448
- 'jsx-closing-tag-location': import("eslint").Rule.RuleModule;
449
- 'jsx-curly-spacing': import("eslint").Rule.RuleModule;
450
- 'jsx-curly-newline': import("eslint").Rule.RuleModule;
451
- 'jsx-equals-spacing': import("eslint").Rule.RuleModule;
452
- 'jsx-filename-extension': import("eslint").Rule.RuleModule;
453
- 'jsx-first-prop-new-line': import("eslint").Rule.RuleModule;
454
- 'jsx-handler-names': import("eslint").Rule.RuleModule;
455
- 'jsx-indent': import("eslint").Rule.RuleModule;
456
- 'jsx-indent-props': import("eslint").Rule.RuleModule;
457
- 'jsx-key': import("eslint").Rule.RuleModule;
458
- 'jsx-max-depth': import("eslint").Rule.RuleModule;
459
- 'jsx-max-props-per-line': import("eslint").Rule.RuleModule;
460
- 'jsx-newline': import("eslint").Rule.RuleModule;
461
- 'jsx-no-bind': import("eslint").Rule.RuleModule;
462
- 'jsx-no-comment-textnodes': import("eslint").Rule.RuleModule;
463
- 'jsx-no-constructed-context-values': import("eslint").Rule.RuleModule;
464
- 'jsx-no-duplicate-props': import("eslint").Rule.RuleModule;
465
- 'jsx-no-leaked-render': import("eslint").Rule.RuleModule;
466
- 'jsx-no-literals': import("eslint").Rule.RuleModule;
467
- 'jsx-no-script-url': import("eslint").Rule.RuleModule;
468
- 'jsx-no-target-blank': import("eslint").Rule.RuleModule;
469
- 'jsx-no-useless-fragment': import("eslint").Rule.RuleModule;
470
- 'jsx-one-expression-per-line': import("eslint").Rule.RuleModule;
471
- 'jsx-no-undef': import("eslint").Rule.RuleModule;
472
- 'jsx-curly-brace-presence': import("eslint").Rule.RuleModule;
473
- 'jsx-pascal-case': import("eslint").Rule.RuleModule;
474
- 'jsx-fragments': import("eslint").Rule.RuleModule;
475
- 'jsx-props-no-multi-spaces': import("eslint").Rule.RuleModule;
476
- 'jsx-props-no-spreading': import("eslint").Rule.RuleModule;
477
- 'jsx-props-no-spread-multi': import("eslint").Rule.RuleModule;
478
- 'jsx-sort-default-props': import("eslint").Rule.RuleModule;
479
- 'jsx-sort-props': import("eslint").Rule.RuleModule;
480
- 'jsx-space-before-closing': import("eslint").Rule.RuleModule;
481
- 'jsx-tag-spacing': import("eslint").Rule.RuleModule;
482
- 'jsx-uses-react': import("eslint").Rule.RuleModule;
483
- 'jsx-uses-vars': import("eslint").Rule.RuleModule;
484
- 'jsx-wrap-multilines': import("eslint").Rule.RuleModule;
485
- 'no-invalid-html-attribute': import("eslint").Rule.RuleModule;
486
- 'no-access-state-in-setstate': import("eslint").Rule.RuleModule;
487
- 'no-adjacent-inline-elements': import("eslint").Rule.RuleModule;
488
- 'no-array-index-key': import("eslint").Rule.RuleModule;
489
- 'no-arrow-function-lifecycle': import("eslint").Rule.RuleModule;
490
- 'no-children-prop': import("eslint").Rule.RuleModule;
491
- 'no-danger': import("eslint").Rule.RuleModule;
492
- 'no-danger-with-children': import("eslint").Rule.RuleModule;
493
- 'no-deprecated': import("eslint").Rule.RuleModule;
494
- 'no-did-mount-set-state': import("eslint").Rule.RuleModule;
495
- 'no-did-update-set-state': import("eslint").Rule.RuleModule;
496
- 'no-direct-mutation-state': import("eslint").Rule.RuleModule;
497
- 'no-find-dom-node': import("eslint").Rule.RuleModule;
498
- 'no-is-mounted': import("eslint").Rule.RuleModule;
499
- 'no-multi-comp': import("eslint").Rule.RuleModule;
500
- 'no-namespace': import("eslint").Rule.RuleModule;
501
- 'no-set-state': import("eslint").Rule.RuleModule;
502
- 'no-string-refs': import("eslint").Rule.RuleModule;
503
- 'no-redundant-should-component-update': import("eslint").Rule.RuleModule;
504
- 'no-render-return-value': import("eslint").Rule.RuleModule;
505
- 'no-this-in-sfc': import("eslint").Rule.RuleModule;
506
- 'no-typos': import("eslint").Rule.RuleModule;
507
- 'no-unescaped-entities': import("eslint").Rule.RuleModule;
508
- 'no-unknown-property': import("eslint").Rule.RuleModule;
509
- 'no-unsafe': import("eslint").Rule.RuleModule;
510
- 'no-unstable-nested-components': import("eslint").Rule.RuleModule;
511
- 'no-unused-class-component-methods': import("eslint").Rule.RuleModule;
512
- 'no-unused-prop-types': import("eslint").Rule.RuleModule;
513
- 'no-unused-state': import("eslint").Rule.RuleModule;
514
- 'no-object-type-as-default-prop': import("eslint").Rule.RuleModule;
515
- 'no-will-update-set-state': import("eslint").Rule.RuleModule;
516
- 'prefer-es6-class': import("eslint").Rule.RuleModule;
517
- 'prefer-exact-props': import("eslint").Rule.RuleModule;
518
- 'prefer-read-only-props': import("eslint").Rule.RuleModule;
519
- 'prefer-stateless-function': import("eslint").Rule.RuleModule;
520
- 'prop-types': import("eslint").Rule.RuleModule;
521
- 'react-in-jsx-scope': import("eslint").Rule.RuleModule;
522
- 'require-default-props': import("eslint").Rule.RuleModule;
523
- 'require-optimization': import("eslint").Rule.RuleModule;
524
- 'require-render-return': import("eslint").Rule.RuleModule;
525
- 'self-closing-comp': import("eslint").Rule.RuleModule;
526
- 'sort-comp': import("eslint").Rule.RuleModule;
527
- 'sort-default-props': import("eslint").Rule.RuleModule;
528
- 'sort-prop-types': import("eslint").Rule.RuleModule;
529
- 'state-in-constructor': import("eslint").Rule.RuleModule;
530
- 'static-property-placement': import("eslint").Rule.RuleModule;
531
- 'style-prop-object': import("eslint").Rule.RuleModule;
532
- 'void-dom-elements-no-children': import("eslint").Rule.RuleModule;
533
- };
534
- configs: {
535
- recommended: {
536
- plugins: ["react"];
537
- parserOptions: {
538
- ecmaFeatures: {
539
- jsx: boolean;
540
- };
541
- };
542
- rules: {
543
- "react/display-name": 2;
544
- "react/jsx-key": 2;
545
- "react/jsx-no-comment-textnodes": 2;
546
- "react/jsx-no-duplicate-props": 2;
547
- "react/jsx-no-target-blank": 2;
548
- "react/jsx-no-undef": 2;
549
- "react/jsx-uses-react": 2;
550
- "react/jsx-uses-vars": 2;
551
- "react/no-children-prop": 2;
552
- "react/no-danger-with-children": 2;
553
- "react/no-deprecated": 2;
554
- "react/no-direct-mutation-state": 2;
555
- "react/no-find-dom-node": 2;
556
- "react/no-is-mounted": 2;
557
- "react/no-render-return-value": 2;
558
- "react/no-string-refs": 2;
559
- "react/no-unescaped-entities": 2;
560
- "react/no-unknown-property": 2;
561
- "react/no-unsafe": 0;
562
- "react/prop-types": 2;
563
- "react/react-in-jsx-scope": 2;
564
- "react/require-render-return": 2;
565
- };
566
- };
567
- all: {
568
- plugins: ["react"];
569
- parserOptions: {
570
- ecmaFeatures: {
571
- jsx: boolean;
572
- };
573
- };
574
- rules: Record<"boolean-prop-naming" | "button-has-type" | "checked-requires-onchange-or-readonly" | "default-props-match-prop-types" | "destructuring-assignment" | "display-name" | "forbid-component-props" | "forbid-dom-props" | "forbid-elements" | "forbid-foreign-prop-types" | "forbid-prop-types" | "prop-types" | "forward-ref-uses-ref" | "function-component-definition" | "hook-use-state" | "iframe-missing-sandbox" | "jsx-boolean-value" | "jsx-child-element-spacing" | "jsx-closing-bracket-location" | "jsx-closing-tag-location" | "jsx-curly-spacing" | "jsx-curly-newline" | "jsx-equals-spacing" | "jsx-filename-extension" | "jsx-first-prop-new-line" | "jsx-handler-names" | "jsx-indent" | "jsx-indent-props" | "jsx-key" | "jsx-max-depth" | "jsx-max-props-per-line" | "jsx-newline" | "jsx-no-bind" | "jsx-no-comment-textnodes" | "jsx-no-constructed-context-values" | "jsx-no-duplicate-props" | "jsx-no-leaked-render" | "jsx-no-literals" | "jsx-no-script-url" | "jsx-no-target-blank" | "jsx-no-useless-fragment" | "jsx-one-expression-per-line" | "jsx-no-undef" | "jsx-curly-brace-presence" | "jsx-pascal-case" | "jsx-fragments" | "jsx-props-no-multi-spaces" | "jsx-props-no-spreading" | "jsx-props-no-spread-multi" | "sort-default-props" | "jsx-sort-default-props" | "jsx-sort-props" | "jsx-tag-spacing" | "jsx-space-before-closing" | "jsx-uses-react" | "jsx-uses-vars" | "jsx-wrap-multilines" | "no-invalid-html-attribute" | "no-access-state-in-setstate" | "no-adjacent-inline-elements" | "no-array-index-key" | "no-arrow-function-lifecycle" | "no-children-prop" | "no-danger" | "no-danger-with-children" | "no-deprecated" | "no-direct-mutation-state" | "no-find-dom-node" | "no-is-mounted" | "no-multi-comp" | "no-namespace" | "no-set-state" | "no-string-refs" | "no-redundant-should-component-update" | "no-render-return-value" | "no-this-in-sfc" | "no-typos" | "no-unescaped-entities" | "no-unknown-property" | "no-unsafe" | "no-unstable-nested-components" | "no-unused-class-component-methods" | "no-unused-prop-types" | "no-unused-state" | "no-object-type-as-default-prop" | "prefer-es6-class" | "prefer-exact-props" | "prefer-read-only-props" | "prefer-stateless-function" | "react-in-jsx-scope" | "require-default-props" | "require-optimization" | "require-render-return" | "self-closing-comp" | "sort-comp" | "sort-prop-types" | "state-in-constructor" | "static-property-placement" | "style-prop-object" | "void-dom-elements-no-children" | "no-did-mount-set-state" | "no-did-update-set-state" | "no-will-update-set-state", 2 | "error">;
575
- };
576
- 'jsx-runtime': {
577
- plugins: ["react"];
578
- parserOptions: {
579
- ecmaFeatures: {
580
- jsx: boolean;
581
- };
582
- jsxPragma: any;
583
- };
584
- rules: {
585
- "react/react-in-jsx-scope": 0;
586
- "react/jsx-uses-react": 0;
587
- };
588
- };
589
- flat: Record<string, import("eslint-plugin-react").ReactFlatConfig>;
590
- } & {
591
- flat: Record<string, import("eslint-plugin-react").ReactFlatConfig>;
592
- };
593
- };
594
- pluginReactHooks: typeof import("eslint-plugin-react-hooks");
595
- pluginReactRefresh: {
596
- rules: Record<string, any>;
597
- configs: {
598
- recommended: {
599
- plugins: {
600
- "react-refresh": {
601
- rules: Record<string, any>;
602
- };
603
- };
604
- rules: Record<string, any>;
605
- };
606
- vite: {
607
- plugins: {
608
- "react-refresh": {
609
- rules: Record<string, any>;
610
- };
611
- };
612
- rules: Record<string, any>;
613
- };
614
- };
615
- };
616
- }>;
617
- export declare function importParserJsonc(): Promise<{
618
- parserJsonc: typeof import("jsonc-eslint-parser");
619
- }>;
620
- export declare function importPluginJsonc(): Promise<{
621
- pluginJsonc: {
622
- meta: typeof import("eslint-plugin-jsonc/meta");
623
- configs: {
624
- base: {
625
- plugins: string[];
626
- overrides: {
627
- files: string[];
628
- parser: string;
629
- rules: {
630
- strict: string;
631
- "no-unused-expressions": string;
632
- "no-unused-vars": string;
633
- };
634
- }[];
635
- };
636
- "auto-config": {
637
- extends: string[];
638
- rules: {
639
- "jsonc/auto": string;
640
- };
641
- };
642
- "recommended-with-json": {
643
- extends: string[];
644
- rules: {
645
- "jsonc/comma-dangle": string;
646
- "jsonc/no-bigint-literals": string;
647
- "jsonc/no-binary-expression": string;
648
- "jsonc/no-binary-numeric-literals": string;
649
- "jsonc/no-comments": string;
650
- "jsonc/no-dupe-keys": string;
651
- "jsonc/no-escape-sequence-in-identifier": string;
652
- "jsonc/no-floating-decimal": string;
653
- "jsonc/no-hexadecimal-numeric-literals": string;
654
- "jsonc/no-infinity": string;
655
- "jsonc/no-multi-str": string;
656
- "jsonc/no-nan": string;
657
- "jsonc/no-number-props": string;
658
- "jsonc/no-numeric-separators": string;
659
- "jsonc/no-octal-numeric-literals": string;
660
- "jsonc/no-octal": string;
661
- "jsonc/no-parenthesized": string;
662
- "jsonc/no-plus-sign": string;
663
- "jsonc/no-regexp-literals": string;
664
- "jsonc/no-sparse-arrays": string;
665
- "jsonc/no-template-literals": string;
666
- "jsonc/no-undefined-value": string;
667
- "jsonc/no-unicode-codepoint-escapes": string;
668
- "jsonc/no-useless-escape": string;
669
- "jsonc/quote-props": string;
670
- "jsonc/quotes": string;
671
- "jsonc/space-unary-ops": string;
672
- "jsonc/valid-json-number": string;
673
- "jsonc/vue-custom-block/no-parsing-error": string;
674
- };
675
- };
676
- "recommended-with-jsonc": {
677
- extends: string[];
678
- rules: {
679
- "jsonc/no-bigint-literals": string;
680
- "jsonc/no-binary-expression": string;
681
- "jsonc/no-binary-numeric-literals": string;
682
- "jsonc/no-dupe-keys": string;
683
- "jsonc/no-escape-sequence-in-identifier": string;
684
- "jsonc/no-floating-decimal": string;
685
- "jsonc/no-hexadecimal-numeric-literals": string;
686
- "jsonc/no-infinity": string;
687
- "jsonc/no-multi-str": string;
688
- "jsonc/no-nan": string;
689
- "jsonc/no-number-props": string;
690
- "jsonc/no-numeric-separators": string;
691
- "jsonc/no-octal-numeric-literals": string;
692
- "jsonc/no-octal": string;
693
- "jsonc/no-parenthesized": string;
694
- "jsonc/no-plus-sign": string;
695
- "jsonc/no-regexp-literals": string;
696
- "jsonc/no-sparse-arrays": string;
697
- "jsonc/no-template-literals": string;
698
- "jsonc/no-undefined-value": string;
699
- "jsonc/no-unicode-codepoint-escapes": string;
700
- "jsonc/no-useless-escape": string;
701
- "jsonc/quote-props": string;
702
- "jsonc/quotes": string;
703
- "jsonc/space-unary-ops": string;
704
- "jsonc/valid-json-number": string;
705
- "jsonc/vue-custom-block/no-parsing-error": string;
706
- };
707
- };
708
- "recommended-with-json5": {
709
- extends: string[];
710
- rules: {
711
- "jsonc/no-bigint-literals": string;
712
- "jsonc/no-binary-expression": string;
713
- "jsonc/no-binary-numeric-literals": string;
714
- "jsonc/no-dupe-keys": string;
715
- "jsonc/no-escape-sequence-in-identifier": string;
716
- "jsonc/no-number-props": string;
717
- "jsonc/no-numeric-separators": string;
718
- "jsonc/no-octal-numeric-literals": string;
719
- "jsonc/no-octal": string;
720
- "jsonc/no-parenthesized": string;
721
- "jsonc/no-regexp-literals": string;
722
- "jsonc/no-sparse-arrays": string;
723
- "jsonc/no-template-literals": string;
724
- "jsonc/no-undefined-value": string;
725
- "jsonc/no-unicode-codepoint-escapes": string;
726
- "jsonc/no-useless-escape": string;
727
- "jsonc/space-unary-ops": string;
728
- "jsonc/vue-custom-block/no-parsing-error": string;
729
- };
730
- };
731
- prettier: {
732
- extends: string[];
733
- rules: {
734
- "jsonc/array-bracket-newline": string;
735
- "jsonc/array-bracket-spacing": string;
736
- "jsonc/array-element-newline": string;
737
- "jsonc/comma-dangle": string;
738
- "jsonc/comma-style": string;
739
- "jsonc/indent": string;
740
- "jsonc/key-spacing": string;
741
- "jsonc/no-floating-decimal": string;
742
- "jsonc/object-curly-newline": string;
743
- "jsonc/object-curly-spacing": string;
744
- "jsonc/object-property-newline": string;
745
- "jsonc/quote-props": string;
746
- "jsonc/quotes": string;
747
- "jsonc/space-unary-ops": string;
748
- };
749
- };
750
- all: {
751
- extends: string[];
752
- rules: {
753
- [x: string]: string;
754
- };
755
- };
756
- "flat/base": ({
757
- plugins: {
758
- readonly jsonc: import("eslint").ESLint.Plugin;
759
- };
760
- files?: undefined;
761
- languageOptions?: undefined;
762
- rules?: undefined;
763
- } | {
764
- files: string[];
765
- languageOptions: {
766
- parser: typeof import("jsonc-eslint-parser");
767
- };
768
- rules: {
769
- strict: "off";
770
- "no-unused-expressions": "off";
771
- "no-unused-vars": "off";
772
- };
773
- plugins?: undefined;
774
- })[];
775
- "flat/recommended-with-json": ({
776
- plugins: {
777
- readonly jsonc: import("eslint").ESLint.Plugin;
778
- };
779
- files?: undefined;
780
- languageOptions?: undefined;
781
- rules?: undefined;
782
- } | {
783
- files: string[];
784
- languageOptions: {
785
- parser: typeof import("jsonc-eslint-parser");
786
- };
787
- rules: {
788
- strict: "off";
789
- "no-unused-expressions": "off";
790
- "no-unused-vars": "off";
791
- };
792
- plugins?: undefined;
793
- } | {
794
- rules: {
795
- "jsonc/comma-dangle": "error";
796
- "jsonc/no-bigint-literals": "error";
797
- "jsonc/no-binary-expression": "error";
798
- "jsonc/no-binary-numeric-literals": "error";
799
- "jsonc/no-comments": "error";
800
- "jsonc/no-dupe-keys": "error";
801
- "jsonc/no-escape-sequence-in-identifier": "error";
802
- "jsonc/no-floating-decimal": "error";
803
- "jsonc/no-hexadecimal-numeric-literals": "error";
804
- "jsonc/no-infinity": "error";
805
- "jsonc/no-multi-str": "error";
806
- "jsonc/no-nan": "error";
807
- "jsonc/no-number-props": "error";
808
- "jsonc/no-numeric-separators": "error";
809
- "jsonc/no-octal-numeric-literals": "error";
810
- "jsonc/no-octal": "error";
811
- "jsonc/no-parenthesized": "error";
812
- "jsonc/no-plus-sign": "error";
813
- "jsonc/no-regexp-literals": "error";
814
- "jsonc/no-sparse-arrays": "error";
815
- "jsonc/no-template-literals": "error";
816
- "jsonc/no-undefined-value": "error";
817
- "jsonc/no-unicode-codepoint-escapes": "error";
818
- "jsonc/no-useless-escape": "error";
819
- "jsonc/quote-props": "error";
820
- "jsonc/quotes": "error";
821
- "jsonc/space-unary-ops": "error";
822
- "jsonc/valid-json-number": "error";
823
- "jsonc/vue-custom-block/no-parsing-error": "error";
824
- };
825
- })[];
826
- "flat/recommended-with-jsonc": ({
827
- plugins: {
828
- readonly jsonc: import("eslint").ESLint.Plugin;
829
- };
830
- files?: undefined;
831
- languageOptions?: undefined;
832
- rules?: undefined;
833
- } | {
834
- files: string[];
835
- languageOptions: {
836
- parser: typeof import("jsonc-eslint-parser");
837
- };
838
- rules: {
839
- strict: "off";
840
- "no-unused-expressions": "off";
841
- "no-unused-vars": "off";
842
- };
843
- plugins?: undefined;
844
- } | {
845
- rules: {
846
- "jsonc/no-bigint-literals": "error";
847
- "jsonc/no-binary-expression": "error";
848
- "jsonc/no-binary-numeric-literals": "error";
849
- "jsonc/no-dupe-keys": "error";
850
- "jsonc/no-escape-sequence-in-identifier": "error";
851
- "jsonc/no-floating-decimal": "error";
852
- "jsonc/no-hexadecimal-numeric-literals": "error";
853
- "jsonc/no-infinity": "error";
854
- "jsonc/no-multi-str": "error";
855
- "jsonc/no-nan": "error";
856
- "jsonc/no-number-props": "error";
857
- "jsonc/no-numeric-separators": "error";
858
- "jsonc/no-octal-numeric-literals": "error";
859
- "jsonc/no-octal": "error";
860
- "jsonc/no-parenthesized": "error";
861
- "jsonc/no-plus-sign": "error";
862
- "jsonc/no-regexp-literals": "error";
863
- "jsonc/no-sparse-arrays": "error";
864
- "jsonc/no-template-literals": "error";
865
- "jsonc/no-undefined-value": "error";
866
- "jsonc/no-unicode-codepoint-escapes": "error";
867
- "jsonc/no-useless-escape": "error";
868
- "jsonc/quote-props": "error";
869
- "jsonc/quotes": "error";
870
- "jsonc/space-unary-ops": "error";
871
- "jsonc/valid-json-number": "error";
872
- "jsonc/vue-custom-block/no-parsing-error": "error";
873
- };
874
- })[];
875
- "flat/recommended-with-json5": ({
876
- plugins: {
877
- readonly jsonc: import("eslint").ESLint.Plugin;
878
- };
879
- files?: undefined;
880
- languageOptions?: undefined;
881
- rules?: undefined;
882
- } | {
883
- files: string[];
884
- languageOptions: {
885
- parser: typeof import("jsonc-eslint-parser");
886
- };
887
- rules: {
888
- strict: "off";
889
- "no-unused-expressions": "off";
890
- "no-unused-vars": "off";
891
- };
892
- plugins?: undefined;
893
- } | {
894
- rules: {
895
- "jsonc/no-bigint-literals": "error";
896
- "jsonc/no-binary-expression": "error";
897
- "jsonc/no-binary-numeric-literals": "error";
898
- "jsonc/no-dupe-keys": "error";
899
- "jsonc/no-escape-sequence-in-identifier": "error";
900
- "jsonc/no-number-props": "error";
901
- "jsonc/no-numeric-separators": "error";
902
- "jsonc/no-octal-numeric-literals": "error";
903
- "jsonc/no-octal": "error";
904
- "jsonc/no-parenthesized": "error";
905
- "jsonc/no-regexp-literals": "error";
906
- "jsonc/no-sparse-arrays": "error";
907
- "jsonc/no-template-literals": "error";
908
- "jsonc/no-undefined-value": "error";
909
- "jsonc/no-unicode-codepoint-escapes": "error";
910
- "jsonc/no-useless-escape": "error";
911
- "jsonc/space-unary-ops": "error";
912
- "jsonc/vue-custom-block/no-parsing-error": "error";
913
- };
914
- })[];
915
- "flat/prettier": ({
916
- plugins: {
917
- readonly jsonc: import("eslint").ESLint.Plugin;
918
- };
919
- files?: undefined;
920
- languageOptions?: undefined;
921
- rules?: undefined;
922
- } | {
923
- files: string[];
924
- languageOptions: {
925
- parser: typeof import("jsonc-eslint-parser");
926
- };
927
- rules: {
928
- strict: "off";
929
- "no-unused-expressions": "off";
930
- "no-unused-vars": "off";
931
- };
932
- plugins?: undefined;
933
- } | {
934
- rules: {
935
- "jsonc/array-bracket-newline": "off";
936
- "jsonc/array-bracket-spacing": "off";
937
- "jsonc/array-element-newline": "off";
938
- "jsonc/comma-dangle": "off";
939
- "jsonc/comma-style": "off";
940
- "jsonc/indent": "off";
941
- "jsonc/key-spacing": "off";
942
- "jsonc/no-floating-decimal": "off";
943
- "jsonc/object-curly-newline": "off";
944
- "jsonc/object-curly-spacing": "off";
945
- "jsonc/object-property-newline": "off";
946
- "jsonc/quote-props": "off";
947
- "jsonc/quotes": "off";
948
- "jsonc/space-unary-ops": "off";
949
- };
950
- })[];
951
- "flat/all": ({
952
- plugins: {
953
- readonly jsonc: import("eslint").ESLint.Plugin;
954
- };
955
- files?: undefined;
956
- languageOptions?: undefined;
957
- rules?: undefined;
958
- } | {
959
- files: string[];
960
- languageOptions: {
961
- parser: typeof import("jsonc-eslint-parser");
962
- };
963
- rules: {
964
- strict: "off";
965
- "no-unused-expressions": "off";
966
- "no-unused-vars": "off";
967
- };
968
- plugins?: undefined;
969
- } | {
970
- rules: {
971
- [rule: string]: import("eslint").Linter.RuleEntry<any[]>;
972
- };
973
- })[];
974
- };
975
- rules: {
976
- [key: string]: import("eslint-plugin-jsonc/types").RuleModule<unknown[]>;
977
- };
978
- parseForESLint: typeof import("jsonc-eslint-parser").parseForESLint;
979
- parseJSON: typeof import("jsonc-eslint-parser").parseJSON;
980
- traverseNodes: typeof import("jsonc-eslint-parser").traverseNodes;
981
- getStaticJSONValue: typeof import("jsonc-eslint-parser").getStaticJSONValue;
982
- };
983
- }>;
984
- export declare function importJsoncLibs(): Promise<{
985
- parserJsonc: typeof import("jsonc-eslint-parser");
986
- pluginJsonc: {
987
- meta: typeof import("eslint-plugin-jsonc/meta");
988
- configs: {
989
- base: {
990
- plugins: string[];
991
- overrides: {
992
- files: string[];
993
- parser: string;
994
- rules: {
995
- strict: string;
996
- "no-unused-expressions": string;
997
- "no-unused-vars": string;
998
- };
999
- }[];
1000
- };
1001
- "auto-config": {
1002
- extends: string[];
1003
- rules: {
1004
- "jsonc/auto": string;
1005
- };
1006
- };
1007
- "recommended-with-json": {
1008
- extends: string[];
1009
- rules: {
1010
- "jsonc/comma-dangle": string;
1011
- "jsonc/no-bigint-literals": string;
1012
- "jsonc/no-binary-expression": string;
1013
- "jsonc/no-binary-numeric-literals": string;
1014
- "jsonc/no-comments": string;
1015
- "jsonc/no-dupe-keys": string;
1016
- "jsonc/no-escape-sequence-in-identifier": string;
1017
- "jsonc/no-floating-decimal": string;
1018
- "jsonc/no-hexadecimal-numeric-literals": string;
1019
- "jsonc/no-infinity": string;
1020
- "jsonc/no-multi-str": string;
1021
- "jsonc/no-nan": string;
1022
- "jsonc/no-number-props": string;
1023
- "jsonc/no-numeric-separators": string;
1024
- "jsonc/no-octal-numeric-literals": string;
1025
- "jsonc/no-octal": string;
1026
- "jsonc/no-parenthesized": string;
1027
- "jsonc/no-plus-sign": string;
1028
- "jsonc/no-regexp-literals": string;
1029
- "jsonc/no-sparse-arrays": string;
1030
- "jsonc/no-template-literals": string;
1031
- "jsonc/no-undefined-value": string;
1032
- "jsonc/no-unicode-codepoint-escapes": string;
1033
- "jsonc/no-useless-escape": string;
1034
- "jsonc/quote-props": string;
1035
- "jsonc/quotes": string;
1036
- "jsonc/space-unary-ops": string;
1037
- "jsonc/valid-json-number": string;
1038
- "jsonc/vue-custom-block/no-parsing-error": string;
1039
- };
1040
- };
1041
- "recommended-with-jsonc": {
1042
- extends: string[];
1043
- rules: {
1044
- "jsonc/no-bigint-literals": string;
1045
- "jsonc/no-binary-expression": string;
1046
- "jsonc/no-binary-numeric-literals": string;
1047
- "jsonc/no-dupe-keys": string;
1048
- "jsonc/no-escape-sequence-in-identifier": string;
1049
- "jsonc/no-floating-decimal": string;
1050
- "jsonc/no-hexadecimal-numeric-literals": string;
1051
- "jsonc/no-infinity": string;
1052
- "jsonc/no-multi-str": string;
1053
- "jsonc/no-nan": string;
1054
- "jsonc/no-number-props": string;
1055
- "jsonc/no-numeric-separators": string;
1056
- "jsonc/no-octal-numeric-literals": string;
1057
- "jsonc/no-octal": string;
1058
- "jsonc/no-parenthesized": string;
1059
- "jsonc/no-plus-sign": string;
1060
- "jsonc/no-regexp-literals": string;
1061
- "jsonc/no-sparse-arrays": string;
1062
- "jsonc/no-template-literals": string;
1063
- "jsonc/no-undefined-value": string;
1064
- "jsonc/no-unicode-codepoint-escapes": string;
1065
- "jsonc/no-useless-escape": string;
1066
- "jsonc/quote-props": string;
1067
- "jsonc/quotes": string;
1068
- "jsonc/space-unary-ops": string;
1069
- "jsonc/valid-json-number": string;
1070
- "jsonc/vue-custom-block/no-parsing-error": string;
1071
- };
1072
- };
1073
- "recommended-with-json5": {
1074
- extends: string[];
1075
- rules: {
1076
- "jsonc/no-bigint-literals": string;
1077
- "jsonc/no-binary-expression": string;
1078
- "jsonc/no-binary-numeric-literals": string;
1079
- "jsonc/no-dupe-keys": string;
1080
- "jsonc/no-escape-sequence-in-identifier": string;
1081
- "jsonc/no-number-props": string;
1082
- "jsonc/no-numeric-separators": string;
1083
- "jsonc/no-octal-numeric-literals": string;
1084
- "jsonc/no-octal": string;
1085
- "jsonc/no-parenthesized": string;
1086
- "jsonc/no-regexp-literals": string;
1087
- "jsonc/no-sparse-arrays": string;
1088
- "jsonc/no-template-literals": string;
1089
- "jsonc/no-undefined-value": string;
1090
- "jsonc/no-unicode-codepoint-escapes": string;
1091
- "jsonc/no-useless-escape": string;
1092
- "jsonc/space-unary-ops": string;
1093
- "jsonc/vue-custom-block/no-parsing-error": string;
1094
- };
1095
- };
1096
- prettier: {
1097
- extends: string[];
1098
- rules: {
1099
- "jsonc/array-bracket-newline": string;
1100
- "jsonc/array-bracket-spacing": string;
1101
- "jsonc/array-element-newline": string;
1102
- "jsonc/comma-dangle": string;
1103
- "jsonc/comma-style": string;
1104
- "jsonc/indent": string;
1105
- "jsonc/key-spacing": string;
1106
- "jsonc/no-floating-decimal": string;
1107
- "jsonc/object-curly-newline": string;
1108
- "jsonc/object-curly-spacing": string;
1109
- "jsonc/object-property-newline": string;
1110
- "jsonc/quote-props": string;
1111
- "jsonc/quotes": string;
1112
- "jsonc/space-unary-ops": string;
1113
- };
1114
- };
1115
- all: {
1116
- extends: string[];
1117
- rules: {
1118
- [x: string]: string;
1119
- };
1120
- };
1121
- "flat/base": ({
1122
- plugins: {
1123
- readonly jsonc: import("eslint").ESLint.Plugin;
1124
- };
1125
- files?: undefined;
1126
- languageOptions?: undefined;
1127
- rules?: undefined;
1128
- } | {
1129
- files: string[];
1130
- languageOptions: {
1131
- parser: typeof import("jsonc-eslint-parser");
1132
- };
1133
- rules: {
1134
- strict: "off";
1135
- "no-unused-expressions": "off";
1136
- "no-unused-vars": "off";
1137
- };
1138
- plugins?: undefined;
1139
- })[];
1140
- "flat/recommended-with-json": ({
1141
- plugins: {
1142
- readonly jsonc: import("eslint").ESLint.Plugin;
1143
- };
1144
- files?: undefined;
1145
- languageOptions?: undefined;
1146
- rules?: undefined;
1147
- } | {
1148
- files: string[];
1149
- languageOptions: {
1150
- parser: typeof import("jsonc-eslint-parser");
1151
- };
1152
- rules: {
1153
- strict: "off";
1154
- "no-unused-expressions": "off";
1155
- "no-unused-vars": "off";
1156
- };
1157
- plugins?: undefined;
1158
- } | {
1159
- rules: {
1160
- "jsonc/comma-dangle": "error";
1161
- "jsonc/no-bigint-literals": "error";
1162
- "jsonc/no-binary-expression": "error";
1163
- "jsonc/no-binary-numeric-literals": "error";
1164
- "jsonc/no-comments": "error";
1165
- "jsonc/no-dupe-keys": "error";
1166
- "jsonc/no-escape-sequence-in-identifier": "error";
1167
- "jsonc/no-floating-decimal": "error";
1168
- "jsonc/no-hexadecimal-numeric-literals": "error";
1169
- "jsonc/no-infinity": "error";
1170
- "jsonc/no-multi-str": "error";
1171
- "jsonc/no-nan": "error";
1172
- "jsonc/no-number-props": "error";
1173
- "jsonc/no-numeric-separators": "error";
1174
- "jsonc/no-octal-numeric-literals": "error";
1175
- "jsonc/no-octal": "error";
1176
- "jsonc/no-parenthesized": "error";
1177
- "jsonc/no-plus-sign": "error";
1178
- "jsonc/no-regexp-literals": "error";
1179
- "jsonc/no-sparse-arrays": "error";
1180
- "jsonc/no-template-literals": "error";
1181
- "jsonc/no-undefined-value": "error";
1182
- "jsonc/no-unicode-codepoint-escapes": "error";
1183
- "jsonc/no-useless-escape": "error";
1184
- "jsonc/quote-props": "error";
1185
- "jsonc/quotes": "error";
1186
- "jsonc/space-unary-ops": "error";
1187
- "jsonc/valid-json-number": "error";
1188
- "jsonc/vue-custom-block/no-parsing-error": "error";
1189
- };
1190
- })[];
1191
- "flat/recommended-with-jsonc": ({
1192
- plugins: {
1193
- readonly jsonc: import("eslint").ESLint.Plugin;
1194
- };
1195
- files?: undefined;
1196
- languageOptions?: undefined;
1197
- rules?: undefined;
1198
- } | {
1199
- files: string[];
1200
- languageOptions: {
1201
- parser: typeof import("jsonc-eslint-parser");
1202
- };
1203
- rules: {
1204
- strict: "off";
1205
- "no-unused-expressions": "off";
1206
- "no-unused-vars": "off";
1207
- };
1208
- plugins?: undefined;
1209
- } | {
1210
- rules: {
1211
- "jsonc/no-bigint-literals": "error";
1212
- "jsonc/no-binary-expression": "error";
1213
- "jsonc/no-binary-numeric-literals": "error";
1214
- "jsonc/no-dupe-keys": "error";
1215
- "jsonc/no-escape-sequence-in-identifier": "error";
1216
- "jsonc/no-floating-decimal": "error";
1217
- "jsonc/no-hexadecimal-numeric-literals": "error";
1218
- "jsonc/no-infinity": "error";
1219
- "jsonc/no-multi-str": "error";
1220
- "jsonc/no-nan": "error";
1221
- "jsonc/no-number-props": "error";
1222
- "jsonc/no-numeric-separators": "error";
1223
- "jsonc/no-octal-numeric-literals": "error";
1224
- "jsonc/no-octal": "error";
1225
- "jsonc/no-parenthesized": "error";
1226
- "jsonc/no-plus-sign": "error";
1227
- "jsonc/no-regexp-literals": "error";
1228
- "jsonc/no-sparse-arrays": "error";
1229
- "jsonc/no-template-literals": "error";
1230
- "jsonc/no-undefined-value": "error";
1231
- "jsonc/no-unicode-codepoint-escapes": "error";
1232
- "jsonc/no-useless-escape": "error";
1233
- "jsonc/quote-props": "error";
1234
- "jsonc/quotes": "error";
1235
- "jsonc/space-unary-ops": "error";
1236
- "jsonc/valid-json-number": "error";
1237
- "jsonc/vue-custom-block/no-parsing-error": "error";
1238
- };
1239
- })[];
1240
- "flat/recommended-with-json5": ({
1241
- plugins: {
1242
- readonly jsonc: import("eslint").ESLint.Plugin;
1243
- };
1244
- files?: undefined;
1245
- languageOptions?: undefined;
1246
- rules?: undefined;
1247
- } | {
1248
- files: string[];
1249
- languageOptions: {
1250
- parser: typeof import("jsonc-eslint-parser");
1251
- };
1252
- rules: {
1253
- strict: "off";
1254
- "no-unused-expressions": "off";
1255
- "no-unused-vars": "off";
1256
- };
1257
- plugins?: undefined;
1258
- } | {
1259
- rules: {
1260
- "jsonc/no-bigint-literals": "error";
1261
- "jsonc/no-binary-expression": "error";
1262
- "jsonc/no-binary-numeric-literals": "error";
1263
- "jsonc/no-dupe-keys": "error";
1264
- "jsonc/no-escape-sequence-in-identifier": "error";
1265
- "jsonc/no-number-props": "error";
1266
- "jsonc/no-numeric-separators": "error";
1267
- "jsonc/no-octal-numeric-literals": "error";
1268
- "jsonc/no-octal": "error";
1269
- "jsonc/no-parenthesized": "error";
1270
- "jsonc/no-regexp-literals": "error";
1271
- "jsonc/no-sparse-arrays": "error";
1272
- "jsonc/no-template-literals": "error";
1273
- "jsonc/no-undefined-value": "error";
1274
- "jsonc/no-unicode-codepoint-escapes": "error";
1275
- "jsonc/no-useless-escape": "error";
1276
- "jsonc/space-unary-ops": "error";
1277
- "jsonc/vue-custom-block/no-parsing-error": "error";
1278
- };
1279
- })[];
1280
- "flat/prettier": ({
1281
- plugins: {
1282
- readonly jsonc: import("eslint").ESLint.Plugin;
1283
- };
1284
- files?: undefined;
1285
- languageOptions?: undefined;
1286
- rules?: undefined;
1287
- } | {
1288
- files: string[];
1289
- languageOptions: {
1290
- parser: typeof import("jsonc-eslint-parser");
1291
- };
1292
- rules: {
1293
- strict: "off";
1294
- "no-unused-expressions": "off";
1295
- "no-unused-vars": "off";
1296
- };
1297
- plugins?: undefined;
1298
- } | {
1299
- rules: {
1300
- "jsonc/array-bracket-newline": "off";
1301
- "jsonc/array-bracket-spacing": "off";
1302
- "jsonc/array-element-newline": "off";
1303
- "jsonc/comma-dangle": "off";
1304
- "jsonc/comma-style": "off";
1305
- "jsonc/indent": "off";
1306
- "jsonc/key-spacing": "off";
1307
- "jsonc/no-floating-decimal": "off";
1308
- "jsonc/object-curly-newline": "off";
1309
- "jsonc/object-curly-spacing": "off";
1310
- "jsonc/object-property-newline": "off";
1311
- "jsonc/quote-props": "off";
1312
- "jsonc/quotes": "off";
1313
- "jsonc/space-unary-ops": "off";
1314
- };
1315
- })[];
1316
- "flat/all": ({
1317
- plugins: {
1318
- readonly jsonc: import("eslint").ESLint.Plugin;
1319
- };
1320
- files?: undefined;
1321
- languageOptions?: undefined;
1322
- rules?: undefined;
1323
- } | {
1324
- files: string[];
1325
- languageOptions: {
1326
- parser: typeof import("jsonc-eslint-parser");
1327
- };
1328
- rules: {
1329
- strict: "off";
1330
- "no-unused-expressions": "off";
1331
- "no-unused-vars": "off";
1332
- };
1333
- plugins?: undefined;
1334
- } | {
1335
- rules: {
1336
- [rule: string]: import("eslint").Linter.RuleEntry<any[]>;
1337
- };
1338
- })[];
1339
- };
1340
- rules: {
1341
- [key: string]: import("eslint-plugin-jsonc/types").RuleModule<unknown[]>;
1342
- };
1343
- parseForESLint: typeof import("jsonc-eslint-parser").parseForESLint;
1344
- parseJSON: typeof import("jsonc-eslint-parser").parseJSON;
1345
- traverseNodes: typeof import("jsonc-eslint-parser").traverseNodes;
1346
- getStaticJSONValue: typeof import("jsonc-eslint-parser").getStaticJSONValue;
1347
- };
1348
- }>;
1349
- export declare function importYmlLibs(): Promise<{
1350
- parserYaml: typeof import("yaml-eslint-parser");
1351
- pluginYaml: {
1352
- meta: typeof import("eslint-plugin-yml/lib/meta.js");
1353
- configs: {
1354
- base: {
1355
- plugins: string[];
1356
- overrides: {
1357
- files: string[];
1358
- parser: string;
1359
- rules: {
1360
- "no-irregular-whitespace": string;
1361
- "no-unused-vars": string;
1362
- "spaced-comment": string;
1363
- };
1364
- }[];
1365
- };
1366
- recommended: {
1367
- extends: string[];
1368
- rules: {
1369
- "yml/no-empty-document": string;
1370
- "yml/no-empty-key": string;
1371
- "yml/no-empty-mapping-value": string;
1372
- "yml/no-empty-sequence-entry": string;
1373
- "yml/no-irregular-whitespace": string;
1374
- "yml/no-tab-indent": string;
1375
- "yml/vue-custom-block/no-parsing-error": string;
1376
- };
1377
- };
1378
- standard: {
1379
- extends: string[];
1380
- rules: {
1381
- "yml/block-mapping-question-indicator-newline": string;
1382
- "yml/block-mapping": string;
1383
- "yml/block-sequence-hyphen-indicator-newline": string;
1384
- "yml/block-sequence": string;
1385
- "yml/flow-mapping-curly-newline": string;
1386
- "yml/flow-mapping-curly-spacing": string;
1387
- "yml/flow-sequence-bracket-newline": string;
1388
- "yml/flow-sequence-bracket-spacing": string;
1389
- "yml/indent": string;
1390
- "yml/key-spacing": string;
1391
- "yml/no-empty-document": string;
1392
- "yml/no-empty-key": string;
1393
- "yml/no-empty-mapping-value": string;
1394
- "yml/no-empty-sequence-entry": string;
1395
- "yml/no-irregular-whitespace": string;
1396
- "yml/no-tab-indent": string;
1397
- "yml/plain-scalar": string;
1398
- "yml/quotes": string;
1399
- "yml/spaced-comment": string;
1400
- "yml/vue-custom-block/no-parsing-error": string;
1401
- };
1402
- };
1403
- prettier: {
1404
- extends: string[];
1405
- rules: {
1406
- "yml/block-mapping-colon-indicator-newline": string;
1407
- "yml/block-mapping-question-indicator-newline": string;
1408
- "yml/block-sequence-hyphen-indicator-newline": string;
1409
- "yml/flow-mapping-curly-newline": string;
1410
- "yml/flow-mapping-curly-spacing": string;
1411
- "yml/flow-sequence-bracket-newline": string;
1412
- "yml/flow-sequence-bracket-spacing": string;
1413
- "yml/indent": string;
1414
- "yml/key-spacing": string;
1415
- "yml/no-multiple-empty-lines": string;
1416
- "yml/no-trailing-zeros": string;
1417
- "yml/quotes": string;
1418
- };
1419
- };
1420
- "flat/base": ({
1421
- plugins: {
1422
- readonly yml: import("eslint").ESLint.Plugin;
1423
- };
1424
- files?: undefined;
1425
- languageOptions?: undefined;
1426
- rules?: undefined;
1427
- } | {
1428
- files: string[];
1429
- languageOptions: {
1430
- parser: typeof import("yaml-eslint-parser");
1431
- };
1432
- rules: {
1433
- "no-irregular-whitespace": "off";
1434
- "no-unused-vars": "off";
1435
- "spaced-comment": "off";
1436
- };
1437
- plugins?: undefined;
1438
- })[];
1439
- "flat/recommended": ({
1440
- plugins: {
1441
- readonly yml: import("eslint").ESLint.Plugin;
1442
- };
1443
- files?: undefined;
1444
- languageOptions?: undefined;
1445
- rules?: undefined;
1446
- } | {
1447
- files: string[];
1448
- languageOptions: {
1449
- parser: typeof import("yaml-eslint-parser");
1450
- };
1451
- rules: {
1452
- "no-irregular-whitespace": "off";
1453
- "no-unused-vars": "off";
1454
- "spaced-comment": "off";
1455
- };
1456
- plugins?: undefined;
1457
- } | {
1458
- rules: {
1459
- "yml/no-empty-document": "error";
1460
- "yml/no-empty-key": "error";
1461
- "yml/no-empty-mapping-value": "error";
1462
- "yml/no-empty-sequence-entry": "error";
1463
- "yml/no-irregular-whitespace": "error";
1464
- "yml/no-tab-indent": "error";
1465
- "yml/vue-custom-block/no-parsing-error": "error";
1466
- };
1467
- })[];
1468
- "flat/standard": ({
1469
- plugins: {
1470
- readonly yml: import("eslint").ESLint.Plugin;
1471
- };
1472
- files?: undefined;
1473
- languageOptions?: undefined;
1474
- rules?: undefined;
1475
- } | {
1476
- files: string[];
1477
- languageOptions: {
1478
- parser: typeof import("yaml-eslint-parser");
1479
- };
1480
- rules: {
1481
- "no-irregular-whitespace": "off";
1482
- "no-unused-vars": "off";
1483
- "spaced-comment": "off";
1484
- };
1485
- plugins?: undefined;
1486
- } | {
1487
- rules: {
1488
- "yml/block-mapping-question-indicator-newline": "error";
1489
- "yml/block-mapping": "error";
1490
- "yml/block-sequence-hyphen-indicator-newline": "error";
1491
- "yml/block-sequence": "error";
1492
- "yml/flow-mapping-curly-newline": "error";
1493
- "yml/flow-mapping-curly-spacing": "error";
1494
- "yml/flow-sequence-bracket-newline": "error";
1495
- "yml/flow-sequence-bracket-spacing": "error";
1496
- "yml/indent": "error";
1497
- "yml/key-spacing": "error";
1498
- "yml/no-empty-document": "error";
1499
- "yml/no-empty-key": "error";
1500
- "yml/no-empty-mapping-value": "error";
1501
- "yml/no-empty-sequence-entry": "error";
1502
- "yml/no-irregular-whitespace": "error";
1503
- "yml/no-tab-indent": "error";
1504
- "yml/plain-scalar": "error";
1505
- "yml/quotes": "error";
1506
- "yml/spaced-comment": "error";
1507
- "yml/vue-custom-block/no-parsing-error": "error";
1508
- };
1509
- })[];
1510
- "flat/prettier": ({
1511
- plugins: {
1512
- readonly yml: import("eslint").ESLint.Plugin;
1513
- };
1514
- files?: undefined;
1515
- languageOptions?: undefined;
1516
- rules?: undefined;
1517
- } | {
1518
- files: string[];
1519
- languageOptions: {
1520
- parser: typeof import("yaml-eslint-parser");
1521
- };
1522
- rules: {
1523
- "no-irregular-whitespace": "off";
1524
- "no-unused-vars": "off";
1525
- "spaced-comment": "off";
1526
- };
1527
- plugins?: undefined;
1528
- } | {
1529
- rules: {
1530
- "yml/block-mapping-colon-indicator-newline": "off";
1531
- "yml/block-mapping-question-indicator-newline": "off";
1532
- "yml/block-sequence-hyphen-indicator-newline": "off";
1533
- "yml/flow-mapping-curly-newline": "off";
1534
- "yml/flow-mapping-curly-spacing": "off";
1535
- "yml/flow-sequence-bracket-newline": "off";
1536
- "yml/flow-sequence-bracket-spacing": "off";
1537
- "yml/indent": "off";
1538
- "yml/key-spacing": "off";
1539
- "yml/no-multiple-empty-lines": "off";
1540
- "yml/no-trailing-zeros": "off";
1541
- "yml/quotes": "off";
1542
- };
1543
- })[];
1544
- };
1545
- rules: {
1546
- [key: string]: import("eslint-plugin-yml/lib/types.js").RuleModule;
1547
- };
1548
- };
1549
- }>;
1550
- export declare function importPluginMarkdown(): Promise<{
1551
- pluginMarkdown: typeof import("@eslint/markdown").default;
1552
- }>;
1553
- export declare function importPluginJsdoc(): Promise<{
1554
- pluginJsdoc: import("eslint").ESLint.Plugin & {
1555
- configs: Record<`flat/${import("eslint-plugin-jsdoc").ConfigGroups}${import("eslint-plugin-jsdoc").ConfigVariants}${import("eslint-plugin-jsdoc").ErrorLevelVariants}`, import("eslint").Linter.Config>;
1556
- };
1557
- }>;
1558
- export declare function importPluginTsdoc(): Promise<{
1559
- pluginTsdoc: {
1560
- rules: {
1561
- [x: string]: Rule.RuleModule;
1562
- };
1563
- };
1564
- }>;
1565
- export declare function importPluginStylistic(): Promise<{
1566
- pluginStylistic: {
1567
- rules: import("@stylistic/eslint-plugin").Rules;
1568
- configs: import("eslint").ESLint.Plugin["configs"] & import("@stylistic/eslint-plugin").Configs;
1569
- };
1570
- }>;