@fenge/eslint-config 0.5.0 → 0.5.2

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @fenge/eslint-config
2
2
 
3
+ ## 0.5.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 9fcef9d: fix(eslint-config): move `class-literal-property-style` back to ts base
8
+ - 3f45e5f: feat(eslint-config): add rule `unicorn/prefer-object-from-entries`
9
+
10
+ ## 0.5.1
11
+
12
+ ### Patch Changes
13
+
14
+ - 57d1dfe: chore: upgrade deps
15
+ - 553928a: feat(eslint-config): add rule `func-style`
16
+ - 8c4b1d4: feat(eslint-config): add rule `no-inner-declarations`
17
+ - 6c0185f: feat(eslint-config): add rule `logical-assignment-operators`
18
+ - 9bb1dd5: feat(eslint-config): add rule `func-names`
19
+ - Updated dependencies [85cd2d5]
20
+ - Updated dependencies [a2e9f23]
21
+ - Updated dependencies [36c4c6b]
22
+ - eslint-plugin-esm@0.4.0
23
+ - eslint-plugin-pkg-json@0.1.3
24
+
3
25
  ## 0.5.0
4
26
 
5
27
  ### Minor Changes
package/README.md CHANGED
@@ -29,7 +29,7 @@ A strict eslint config preset containing a comprehensive set of rules for lintin
29
29
  Install it in the root of js / ts project.
30
30
 
31
31
  ```sh
32
- npm install -D eslint @fenge/eslint-config
32
+ npm i -D eslint @fenge/eslint-config
33
33
  ```
34
34
 
35
35
  Config `eslint.config.js` (for ESM).
@@ -55,7 +55,7 @@ Config `package.json`
55
55
  }
56
56
  ```
57
57
 
58
- > Note: TypeScript project is required a `tsconfig.json` file in the root.
58
+ > Note: For TypeScript project, adding a `tsconfig.json` file in the root is recommended.
59
59
 
60
60
  ## Advanced Usage
61
61
 
@@ -64,6 +64,7 @@ Config `package.json`
64
64
  You can use `Builder` class to customize for selecting or omitting some rules.
65
65
 
66
66
  ```ts
67
+ // @ts-check
67
68
  import { Builder } from "@fenge/eslint-config";
68
69
 
69
70
  export default new Builder()
@@ -90,6 +91,8 @@ export default new Builder()
90
91
  .toConfig();
91
92
  ```
92
93
 
94
+ > Tips: By adding a `// @ts-check` at the top of the config file, you will get code hinting in VSCode/WebStorm. It will highly improve your development experience.
95
+
93
96
  ## License
94
97
 
95
98
  MIT
@@ -35,27 +35,7 @@ export declare function javascript(): readonly [{
35
35
  'forbid-elements': import("eslint").Rule.RuleModule;
36
36
  'forbid-foreign-prop-types': import("eslint").Rule.RuleModule;
37
37
  'forbid-prop-types': import("eslint").Rule.RuleModule;
38
- 'forward-ref-uses-ref': {
39
- meta: {
40
- docs: {
41
- description: string;
42
- category: string;
43
- recommended: boolean;
44
- url: string;
45
- };
46
- messages: {
47
- missingRefParameter: string;
48
- addRefParameter: string;
49
- removeForwardRef: string;
50
- };
51
- schema: undefined[];
52
- type: string;
53
- hasSuggestions: boolean;
54
- };
55
- create(context: any): {
56
- "FunctionExpression, ArrowFunctionExpression"(node: any): void;
57
- };
58
- };
38
+ 'forward-ref-uses-ref': import("eslint").Rule.RuleModule;
59
39
  'function-component-definition': import("eslint").Rule.RuleModule;
60
40
  'hook-use-state': import("eslint").Rule.RuleModule;
61
41
  'iframe-missing-sandbox': import("eslint").Rule.RuleModule;
@@ -80,23 +60,7 @@ export declare function javascript(): readonly [{
80
60
  'jsx-no-constructed-context-values': import("eslint").Rule.RuleModule;
81
61
  'jsx-no-duplicate-props': import("eslint").Rule.RuleModule;
82
62
  'jsx-no-leaked-render': import("eslint").Rule.RuleModule;
83
- 'jsx-no-literals': {
84
- meta: import("eslint").Rule.RuleMetaData;
85
- create(context: any): (false & {
86
- Literal(node: any): void;
87
- JSXAttribute(node: any): void;
88
- JSXText(node: any): void;
89
- TemplateLiteral(node: any): void;
90
- }) | ({
91
- ImportDeclaration(node: any): void;
92
- VariableDeclaration(node: any): void;
93
- } & {
94
- Literal(node: any): void;
95
- JSXAttribute(node: any): void;
96
- JSXText(node: any): void;
97
- TemplateLiteral(node: any): void;
98
- });
99
- };
63
+ 'jsx-no-literals': import("eslint").Rule.RuleModule;
100
64
  'jsx-no-script-url': import("eslint").Rule.RuleModule;
101
65
  'jsx-no-target-blank': import("eslint").Rule.RuleModule;
102
66
  'jsx-no-useless-fragment': import("eslint").Rule.RuleModule;
@@ -107,22 +71,7 @@ export declare function javascript(): readonly [{
107
71
  'jsx-fragments': import("eslint").Rule.RuleModule;
108
72
  'jsx-props-no-multi-spaces': import("eslint").Rule.RuleModule;
109
73
  'jsx-props-no-spreading': import("eslint").Rule.RuleModule;
110
- 'jsx-props-no-spread-multi': {
111
- meta: {
112
- docs: {
113
- description: string;
114
- category: string;
115
- recommended: boolean;
116
- url: string;
117
- };
118
- messages: {
119
- noMultiSpreading: string;
120
- };
121
- };
122
- create(context: any): {
123
- JSXOpeningElement(node: any): void;
124
- };
125
- };
74
+ 'jsx-props-no-spread-multi': import("eslint").Rule.RuleModule;
126
75
  'jsx-sort-default-props': import("eslint").Rule.RuleModule;
127
76
  'jsx-sort-props': import("eslint").Rule.RuleModule;
128
77
  'jsx-space-before-closing': import("eslint").Rule.RuleModule;
@@ -191,27 +140,7 @@ export declare function javascript(): readonly [{
191
140
  'forbid-elements': import("eslint").Rule.RuleModule;
192
141
  'forbid-foreign-prop-types': import("eslint").Rule.RuleModule;
193
142
  'forbid-prop-types': import("eslint").Rule.RuleModule;
194
- 'forward-ref-uses-ref': {
195
- meta: {
196
- docs: {
197
- description: string;
198
- category: string;
199
- recommended: boolean;
200
- url: string;
201
- };
202
- messages: {
203
- missingRefParameter: string;
204
- addRefParameter: string;
205
- removeForwardRef: string;
206
- };
207
- schema: undefined[];
208
- type: string;
209
- hasSuggestions: boolean;
210
- };
211
- create(context: any): {
212
- "FunctionExpression, ArrowFunctionExpression"(node: any): void;
213
- };
214
- };
143
+ 'forward-ref-uses-ref': import("eslint").Rule.RuleModule;
215
144
  'function-component-definition': import("eslint").Rule.RuleModule;
216
145
  'hook-use-state': import("eslint").Rule.RuleModule;
217
146
  'iframe-missing-sandbox': import("eslint").Rule.RuleModule;
@@ -236,23 +165,7 @@ export declare function javascript(): readonly [{
236
165
  'jsx-no-constructed-context-values': import("eslint").Rule.RuleModule;
237
166
  'jsx-no-duplicate-props': import("eslint").Rule.RuleModule;
238
167
  'jsx-no-leaked-render': import("eslint").Rule.RuleModule;
239
- 'jsx-no-literals': {
240
- meta: import("eslint").Rule.RuleMetaData;
241
- create(context: any): (false & {
242
- Literal(node: any): void;
243
- JSXAttribute(node: any): void;
244
- JSXText(node: any): void;
245
- TemplateLiteral(node: any): void;
246
- }) | ({
247
- ImportDeclaration(node: any): void;
248
- VariableDeclaration(node: any): void;
249
- } & {
250
- Literal(node: any): void;
251
- JSXAttribute(node: any): void;
252
- JSXText(node: any): void;
253
- TemplateLiteral(node: any): void;
254
- });
255
- };
168
+ 'jsx-no-literals': import("eslint").Rule.RuleModule;
256
169
  'jsx-no-script-url': import("eslint").Rule.RuleModule;
257
170
  'jsx-no-target-blank': import("eslint").Rule.RuleModule;
258
171
  'jsx-no-useless-fragment': import("eslint").Rule.RuleModule;
@@ -263,22 +176,7 @@ export declare function javascript(): readonly [{
263
176
  'jsx-fragments': import("eslint").Rule.RuleModule;
264
177
  'jsx-props-no-multi-spaces': import("eslint").Rule.RuleModule;
265
178
  'jsx-props-no-spreading': import("eslint").Rule.RuleModule;
266
- 'jsx-props-no-spread-multi': {
267
- meta: {
268
- docs: {
269
- description: string;
270
- category: string;
271
- recommended: boolean;
272
- url: string;
273
- };
274
- messages: {
275
- noMultiSpreading: string;
276
- };
277
- };
278
- create(context: any): {
279
- JSXOpeningElement(node: any): void;
280
- };
281
- };
179
+ 'jsx-props-no-spread-multi': import("eslint").Rule.RuleModule;
282
180
  'jsx-sort-default-props': import("eslint").Rule.RuleModule;
283
181
  'jsx-sort-props': import("eslint").Rule.RuleModule;
284
182
  'jsx-space-before-closing': import("eslint").Rule.RuleModule;
@@ -344,28 +242,28 @@ export declare function javascript(): readonly [{
344
242
  };
345
243
  };
346
244
  rules: {
347
- "react/display-name": number;
348
- "react/jsx-key": number;
349
- "react/jsx-no-comment-textnodes": number;
350
- "react/jsx-no-duplicate-props": number;
351
- "react/jsx-no-target-blank": number;
352
- "react/jsx-no-undef": number;
353
- "react/jsx-uses-react": number;
354
- "react/jsx-uses-vars": number;
355
- "react/no-children-prop": number;
356
- "react/no-danger-with-children": number;
357
- "react/no-deprecated": number;
358
- "react/no-direct-mutation-state": number;
359
- "react/no-find-dom-node": number;
360
- "react/no-is-mounted": number;
361
- "react/no-render-return-value": number;
362
- "react/no-string-refs": number;
363
- "react/no-unescaped-entities": number;
364
- "react/no-unknown-property": number;
365
- "react/no-unsafe": number;
366
- "react/prop-types": number;
367
- "react/react-in-jsx-scope": number;
368
- "react/require-render-return": number;
245
+ "react/display-name": 2;
246
+ "react/jsx-key": 2;
247
+ "react/jsx-no-comment-textnodes": 2;
248
+ "react/jsx-no-duplicate-props": 2;
249
+ "react/jsx-no-target-blank": 2;
250
+ "react/jsx-no-undef": 2;
251
+ "react/jsx-uses-react": 2;
252
+ "react/jsx-uses-vars": 2;
253
+ "react/no-children-prop": 2;
254
+ "react/no-danger-with-children": 2;
255
+ "react/no-deprecated": 2;
256
+ "react/no-direct-mutation-state": 2;
257
+ "react/no-find-dom-node": 2;
258
+ "react/no-is-mounted": 2;
259
+ "react/no-render-return-value": 2;
260
+ "react/no-string-refs": 2;
261
+ "react/no-unescaped-entities": 2;
262
+ "react/no-unknown-property": 2;
263
+ "react/no-unsafe": 0;
264
+ "react/prop-types": 2;
265
+ "react/react-in-jsx-scope": 2;
266
+ "react/require-render-return": 2;
369
267
  };
370
268
  };
371
269
  all: {
@@ -386,8 +284,8 @@ export declare function javascript(): readonly [{
386
284
  jsxPragma: any;
387
285
  };
388
286
  rules: {
389
- "react/react-in-jsx-scope": number;
390
- "react/jsx-uses-react": number;
287
+ "react/react-in-jsx-scope": 0;
288
+ "react/jsx-uses-react": 0;
391
289
  };
392
290
  };
393
291
  } & {
@@ -424,8 +322,15 @@ export declare function javascript(): readonly [{
424
322
  readonly "unicorn/escape-case": "error";
425
323
  readonly "default-param-last": "error";
426
324
  readonly "func-name-matching": "error";
325
+ readonly "func-names": "error";
326
+ readonly "func-style": readonly ["error", "declaration", {
327
+ readonly allowArrowFunctions: true;
328
+ }];
427
329
  readonly "getter-return": "error";
428
330
  readonly "init-declarations": "error";
331
+ readonly "logical-assignment-operators": readonly ["error", "always", {
332
+ readonly enforceForIfStatements: true;
333
+ }];
429
334
  readonly "max-depth": readonly ["error", {
430
335
  readonly max: 5;
431
336
  }];
@@ -443,6 +348,7 @@ export declare function javascript(): readonly [{
443
348
  readonly disallowTemplateShorthand: true;
444
349
  readonly allow: readonly ["!!"];
445
350
  }];
351
+ readonly "no-inner-declarations": "error";
446
352
  readonly "no-invalid-this": "error";
447
353
  readonly "no-lonely-if": "error";
448
354
  readonly "no-multi-assign": "error";
@@ -473,7 +379,6 @@ export declare function javascript(): readonly [{
473
379
  readonly "es-x/no-hashbang": "error";
474
380
  readonly "es-x/no-legacy-object-prototype-accessor-methods": "error";
475
381
  readonly "es-x/no-top-level-await": "error";
476
- readonly "esm/nearest-relative-path": "error";
477
382
  readonly "esm/no-directory-imports": "error";
478
383
  readonly "esm/no-dynamic-imports": "error";
479
384
  readonly "esm/no-empty-exports": "error";
@@ -484,6 +389,7 @@ export declare function javascript(): readonly [{
484
389
  readonly "esm/no-rename-imports": "error";
485
390
  readonly "esm/no-side-effect-imports": "error";
486
391
  readonly "esm/no-ts-file-imports": "error";
392
+ readonly "esm/no-useless-path-segments": "error";
487
393
  readonly "esm/required-exports": "error";
488
394
  readonly "fp/no-arguments": "error";
489
395
  readonly "fp/no-delete": "error";
@@ -600,6 +506,7 @@ export declare function javascript(): readonly [{
600
506
  readonly "unicorn/prefer-module": "error";
601
507
  readonly "unicorn/prefer-negative-index": "error";
602
508
  readonly "unicorn/prefer-number-properties": "error";
509
+ readonly "unicorn/prefer-object-from-entries": "error";
603
510
  readonly "unicorn/prefer-optional-catch-binding": "error";
604
511
  readonly "unicorn/prefer-regexp-test": "error";
605
512
  readonly "unicorn/prefer-string-replace-all": "error";
@@ -619,7 +526,6 @@ export declare function javascript(): readonly [{
619
526
  readonly "ts-ignore": true;
620
527
  readonly "ts-nocheck": true;
621
528
  }];
622
- readonly "@typescript-eslint/class-literal-property-style": "error";
623
529
  readonly "@typescript-eslint/no-this-alias": "error";
624
530
  readonly "@typescript-eslint/no-useless-empty-export": "error";
625
531
  readonly "@typescript-eslint/prefer-for-of": "error";
@@ -1 +1 @@
1
- {"version":3,"file":"javascript.d.ts","sourceRoot":"","sources":["../../src/config/javascript.ts"],"names":[],"mappings":"AAKA,wBAAgB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;8CAG8c,QAAQ;0CAAiD,QAAQ;gEAAuE,QAAQ;yDAAgE,QAAQ;mDAA0D,QAAQ;uCAA8C,QAAQ;iDAAwD,QAAQ;2CAAkD,QAAQ;0CAAiD,QAAQ;oDAA2D,QAAQ;4CAAmD,QAAQ;;;;;;;;;;;;;;;;;;;;;;wDAA0qB,QAAQ;yCAAgD,QAAQ;iDAAwD,QAAQ;4CAAmD,QAAQ;oDAA2D,QAAQ;uDAA8D,QAAQ;mDAA0D,QAAQ;4CAAmD,QAAQ;4CAAmD,QAAQ;6CAAoD,QAAQ;iDAAwD,QAAQ;kDAAyD,QAAQ;4CAAmD,QAAQ;qCAA4C,QAAQ;2CAAkD,QAAQ;kCAAyC,QAAQ;wCAA+C,QAAQ;iDAAwD,QAAQ;sCAA6C,QAAQ;sCAA6C,QAAQ;mDAA0D,QAAQ;4DAAmE,QAAQ;iDAAwD,QAAQ;+CAAsD,QAAQ;;iCAAiE,QAAQ;;;;;;;;;;;;;;;;4CAA2jB,QAAQ;8CAAqD,QAAQ;kDAAyD,QAAQ;sDAA6D,QAAQ;uCAA8C,QAAQ;mDAA0D,QAAQ;0CAAiD,QAAQ;wCAA+C,QAAQ;oDAA2D,QAAQ;iDAAwD,QAAQ;;;;;;;;;;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;0CAAiD,QAAQ;yDAAgE,QAAQ;mDAA0D,QAAQ;2CAAkD,QAAQ;6CAAoD,QAAQ;iDAAwD,QAAQ;oDAA2D,QAAQ;qCAA4C,QAAQ;6CAAoD,QAAQ;gDAAuD,QAAQ;+CAAsD,QAAQ;gDAAuD,QAAQ;4CAAmD,QAAQ;oCAA2C,QAAQ;6CAAoD,QAAQ;0CAAiD,QAAQ;+CAAsD,QAAQ;oDAA2D,QAAQ;4CAAmD,QAAQ;wDAA+D,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAAh5M,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GADhO"}
@@ -40,27 +40,7 @@ export declare function getJsBase(): {
40
40
  'forbid-elements': import("eslint").Rule.RuleModule;
41
41
  'forbid-foreign-prop-types': import("eslint").Rule.RuleModule;
42
42
  'forbid-prop-types': import("eslint").Rule.RuleModule;
43
- 'forward-ref-uses-ref': {
44
- meta: {
45
- docs: {
46
- description: string;
47
- category: string;
48
- recommended: boolean;
49
- url: string;
50
- };
51
- messages: {
52
- missingRefParameter: string;
53
- addRefParameter: string;
54
- removeForwardRef: string;
55
- };
56
- schema: undefined[];
57
- type: string;
58
- hasSuggestions: boolean;
59
- };
60
- create(context: any): {
61
- "FunctionExpression, ArrowFunctionExpression"(node: any): void;
62
- };
63
- };
43
+ 'forward-ref-uses-ref': import("eslint").Rule.RuleModule;
64
44
  'function-component-definition': import("eslint").Rule.RuleModule;
65
45
  'hook-use-state': import("eslint").Rule.RuleModule;
66
46
  'iframe-missing-sandbox': import("eslint").Rule.RuleModule;
@@ -85,23 +65,7 @@ export declare function getJsBase(): {
85
65
  'jsx-no-constructed-context-values': import("eslint").Rule.RuleModule;
86
66
  'jsx-no-duplicate-props': import("eslint").Rule.RuleModule;
87
67
  'jsx-no-leaked-render': import("eslint").Rule.RuleModule;
88
- 'jsx-no-literals': {
89
- meta: import("eslint").Rule.RuleMetaData;
90
- create(context: any): (false & {
91
- Literal(node: any): void;
92
- JSXAttribute(node: any): void;
93
- JSXText(node: any): void;
94
- TemplateLiteral(node: any): void;
95
- }) | ({
96
- ImportDeclaration(node: any): void;
97
- VariableDeclaration(node: any): void;
98
- } & {
99
- Literal(node: any): void;
100
- JSXAttribute(node: any): void;
101
- JSXText(node: any): void;
102
- TemplateLiteral(node: any): void;
103
- });
104
- };
68
+ 'jsx-no-literals': import("eslint").Rule.RuleModule;
105
69
  'jsx-no-script-url': import("eslint").Rule.RuleModule;
106
70
  'jsx-no-target-blank': import("eslint").Rule.RuleModule;
107
71
  'jsx-no-useless-fragment': import("eslint").Rule.RuleModule;
@@ -112,22 +76,7 @@ export declare function getJsBase(): {
112
76
  'jsx-fragments': import("eslint").Rule.RuleModule;
113
77
  'jsx-props-no-multi-spaces': import("eslint").Rule.RuleModule;
114
78
  'jsx-props-no-spreading': import("eslint").Rule.RuleModule;
115
- 'jsx-props-no-spread-multi': {
116
- meta: {
117
- docs: {
118
- description: string;
119
- category: string;
120
- recommended: boolean;
121
- url: string;
122
- };
123
- messages: {
124
- noMultiSpreading: string;
125
- };
126
- };
127
- create(context: any): {
128
- JSXOpeningElement(node: any): void;
129
- };
130
- };
79
+ 'jsx-props-no-spread-multi': import("eslint").Rule.RuleModule;
131
80
  'jsx-sort-default-props': import("eslint").Rule.RuleModule;
132
81
  'jsx-sort-props': import("eslint").Rule.RuleModule;
133
82
  'jsx-space-before-closing': import("eslint").Rule.RuleModule;
@@ -196,27 +145,7 @@ export declare function getJsBase(): {
196
145
  'forbid-elements': import("eslint").Rule.RuleModule;
197
146
  'forbid-foreign-prop-types': import("eslint").Rule.RuleModule;
198
147
  'forbid-prop-types': import("eslint").Rule.RuleModule;
199
- 'forward-ref-uses-ref': {
200
- meta: {
201
- docs: {
202
- description: string;
203
- category: string;
204
- recommended: boolean;
205
- url: string;
206
- };
207
- messages: {
208
- missingRefParameter: string;
209
- addRefParameter: string;
210
- removeForwardRef: string;
211
- };
212
- schema: undefined[];
213
- type: string;
214
- hasSuggestions: boolean;
215
- };
216
- create(context: any): {
217
- "FunctionExpression, ArrowFunctionExpression"(node: any): void;
218
- };
219
- };
148
+ 'forward-ref-uses-ref': import("eslint").Rule.RuleModule;
220
149
  'function-component-definition': import("eslint").Rule.RuleModule;
221
150
  'hook-use-state': import("eslint").Rule.RuleModule;
222
151
  'iframe-missing-sandbox': import("eslint").Rule.RuleModule;
@@ -241,23 +170,7 @@ export declare function getJsBase(): {
241
170
  'jsx-no-constructed-context-values': import("eslint").Rule.RuleModule;
242
171
  'jsx-no-duplicate-props': import("eslint").Rule.RuleModule;
243
172
  'jsx-no-leaked-render': import("eslint").Rule.RuleModule;
244
- 'jsx-no-literals': {
245
- meta: import("eslint").Rule.RuleMetaData;
246
- create(context: any): (false & {
247
- Literal(node: any): void;
248
- JSXAttribute(node: any): void;
249
- JSXText(node: any): void;
250
- TemplateLiteral(node: any): void;
251
- }) | ({
252
- ImportDeclaration(node: any): void;
253
- VariableDeclaration(node: any): void;
254
- } & {
255
- Literal(node: any): void;
256
- JSXAttribute(node: any): void;
257
- JSXText(node: any): void;
258
- TemplateLiteral(node: any): void;
259
- });
260
- };
173
+ 'jsx-no-literals': import("eslint").Rule.RuleModule;
261
174
  'jsx-no-script-url': import("eslint").Rule.RuleModule;
262
175
  'jsx-no-target-blank': import("eslint").Rule.RuleModule;
263
176
  'jsx-no-useless-fragment': import("eslint").Rule.RuleModule;
@@ -268,22 +181,7 @@ export declare function getJsBase(): {
268
181
  'jsx-fragments': import("eslint").Rule.RuleModule;
269
182
  'jsx-props-no-multi-spaces': import("eslint").Rule.RuleModule;
270
183
  'jsx-props-no-spreading': import("eslint").Rule.RuleModule;
271
- 'jsx-props-no-spread-multi': {
272
- meta: {
273
- docs: {
274
- description: string;
275
- category: string;
276
- recommended: boolean;
277
- url: string;
278
- };
279
- messages: {
280
- noMultiSpreading: string;
281
- };
282
- };
283
- create(context: any): {
284
- JSXOpeningElement(node: any): void;
285
- };
286
- };
184
+ 'jsx-props-no-spread-multi': import("eslint").Rule.RuleModule;
287
185
  'jsx-sort-default-props': import("eslint").Rule.RuleModule;
288
186
  'jsx-sort-props': import("eslint").Rule.RuleModule;
289
187
  'jsx-space-before-closing': import("eslint").Rule.RuleModule;
@@ -349,28 +247,28 @@ export declare function getJsBase(): {
349
247
  };
350
248
  };
351
249
  rules: {
352
- "react/display-name": number;
353
- "react/jsx-key": number;
354
- "react/jsx-no-comment-textnodes": number;
355
- "react/jsx-no-duplicate-props": number;
356
- "react/jsx-no-target-blank": number;
357
- "react/jsx-no-undef": number;
358
- "react/jsx-uses-react": number;
359
- "react/jsx-uses-vars": number;
360
- "react/no-children-prop": number;
361
- "react/no-danger-with-children": number;
362
- "react/no-deprecated": number;
363
- "react/no-direct-mutation-state": number;
364
- "react/no-find-dom-node": number;
365
- "react/no-is-mounted": number;
366
- "react/no-render-return-value": number;
367
- "react/no-string-refs": number;
368
- "react/no-unescaped-entities": number;
369
- "react/no-unknown-property": number;
370
- "react/no-unsafe": number;
371
- "react/prop-types": number;
372
- "react/react-in-jsx-scope": number;
373
- "react/require-render-return": number;
250
+ "react/display-name": 2;
251
+ "react/jsx-key": 2;
252
+ "react/jsx-no-comment-textnodes": 2;
253
+ "react/jsx-no-duplicate-props": 2;
254
+ "react/jsx-no-target-blank": 2;
255
+ "react/jsx-no-undef": 2;
256
+ "react/jsx-uses-react": 2;
257
+ "react/jsx-uses-vars": 2;
258
+ "react/no-children-prop": 2;
259
+ "react/no-danger-with-children": 2;
260
+ "react/no-deprecated": 2;
261
+ "react/no-direct-mutation-state": 2;
262
+ "react/no-find-dom-node": 2;
263
+ "react/no-is-mounted": 2;
264
+ "react/no-render-return-value": 2;
265
+ "react/no-string-refs": 2;
266
+ "react/no-unescaped-entities": 2;
267
+ "react/no-unknown-property": 2;
268
+ "react/no-unsafe": 0;
269
+ "react/prop-types": 2;
270
+ "react/react-in-jsx-scope": 2;
271
+ "react/require-render-return": 2;
374
272
  };
375
273
  };
376
274
  all: {
@@ -391,8 +289,8 @@ export declare function getJsBase(): {
391
289
  jsxPragma: any;
392
290
  };
393
291
  rules: {
394
- "react/react-in-jsx-scope": number;
395
- "react/jsx-uses-react": number;
292
+ "react/react-in-jsx-scope": 0;
293
+ "react/jsx-uses-react": 0;
396
294
  };
397
295
  };
398
296
  } & {
@@ -429,8 +327,15 @@ export declare function getJsBase(): {
429
327
  readonly "unicorn/escape-case": "error";
430
328
  readonly "default-param-last": "error";
431
329
  readonly "func-name-matching": "error";
330
+ readonly "func-names": "error";
331
+ readonly "func-style": readonly ["error", "declaration", {
332
+ readonly allowArrowFunctions: true;
333
+ }];
432
334
  readonly "getter-return": "error";
433
335
  readonly "init-declarations": "error";
336
+ readonly "logical-assignment-operators": readonly ["error", "always", {
337
+ readonly enforceForIfStatements: true;
338
+ }];
434
339
  readonly "max-depth": readonly ["error", {
435
340
  readonly max: 5;
436
341
  }];
@@ -448,6 +353,7 @@ export declare function getJsBase(): {
448
353
  readonly disallowTemplateShorthand: true;
449
354
  readonly allow: readonly ["!!"];
450
355
  }];
356
+ readonly "no-inner-declarations": "error";
451
357
  readonly "no-invalid-this": "error";
452
358
  readonly "no-lonely-if": "error";
453
359
  readonly "no-multi-assign": "error";
@@ -478,7 +384,6 @@ export declare function getJsBase(): {
478
384
  readonly "es-x/no-hashbang": "error";
479
385
  readonly "es-x/no-legacy-object-prototype-accessor-methods": "error";
480
386
  readonly "es-x/no-top-level-await": "error";
481
- readonly "esm/nearest-relative-path": "error";
482
387
  readonly "esm/no-directory-imports": "error";
483
388
  readonly "esm/no-dynamic-imports": "error";
484
389
  readonly "esm/no-empty-exports": "error";
@@ -489,6 +394,7 @@ export declare function getJsBase(): {
489
394
  readonly "esm/no-rename-imports": "error";
490
395
  readonly "esm/no-side-effect-imports": "error";
491
396
  readonly "esm/no-ts-file-imports": "error";
397
+ readonly "esm/no-useless-path-segments": "error";
492
398
  readonly "esm/required-exports": "error";
493
399
  readonly "fp/no-arguments": "error";
494
400
  readonly "fp/no-delete": "error";
@@ -609,6 +515,7 @@ export declare function getJsBase(): {
609
515
  readonly "unicorn/prefer-module": "error";
610
516
  readonly "unicorn/prefer-negative-index": "error";
611
517
  readonly "unicorn/prefer-number-properties": "error";
518
+ readonly "unicorn/prefer-object-from-entries": "error";
612
519
  readonly "unicorn/prefer-optional-catch-binding": "error";
613
520
  readonly "unicorn/prefer-regexp-test": "error";
614
521
  readonly "unicorn/prefer-string-replace-all": "error";
@@ -628,7 +535,6 @@ export declare function getJsBase(): {
628
535
  readonly "ts-ignore": true;
629
536
  readonly "ts-nocheck": true;
630
537
  }];
631
- readonly "@typescript-eslint/class-literal-property-style": "error";
632
538
  readonly "@typescript-eslint/no-this-alias": "error";
633
539
  readonly "@typescript-eslint/no-useless-empty-export": "error";
634
540
  readonly "@typescript-eslint/prefer-for-of": "error";