@pawover/eslint-rules 0.0.0-beta.12 → 0.0.0-beta.13
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/dist/core.react.js +96 -95
- package/dist/core.reactHooks.js +7 -0
- package/dist/index.js +3 -0
- package/dist/types/core.react.d.ts +96 -95
- package/dist/types/core.react.d.ts.map +1 -1
- package/dist/types/core.reactHooks.d.ts +9 -0
- package/dist/types/core.reactHooks.d.ts.map +1 -0
- package/dist/types/index.d.ts +2 -1
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +7 -7
package/dist/core.react.js
CHANGED
|
@@ -1,97 +1,98 @@
|
|
|
1
1
|
export default {
|
|
2
|
-
"react
|
|
3
|
-
"react
|
|
4
|
-
"react
|
|
5
|
-
"react
|
|
6
|
-
"react
|
|
7
|
-
"react
|
|
8
|
-
"react
|
|
9
|
-
"react
|
|
10
|
-
"react-
|
|
11
|
-
"react
|
|
12
|
-
"react
|
|
13
|
-
"react
|
|
14
|
-
"react
|
|
15
|
-
"react
|
|
16
|
-
"react
|
|
17
|
-
"react
|
|
18
|
-
"react
|
|
19
|
-
"react
|
|
20
|
-
"react
|
|
21
|
-
"react
|
|
22
|
-
"react
|
|
23
|
-
"react
|
|
24
|
-
"react
|
|
25
|
-
"react
|
|
26
|
-
"react
|
|
27
|
-
"react
|
|
28
|
-
"react
|
|
29
|
-
"react
|
|
30
|
-
"react
|
|
31
|
-
"react
|
|
32
|
-
"react
|
|
33
|
-
"react
|
|
34
|
-
"react
|
|
35
|
-
"react
|
|
36
|
-
"react
|
|
37
|
-
"react
|
|
38
|
-
"react
|
|
39
|
-
"react
|
|
40
|
-
"react
|
|
41
|
-
"react
|
|
42
|
-
"react
|
|
43
|
-
"react
|
|
44
|
-
"react
|
|
45
|
-
"react
|
|
46
|
-
"react
|
|
47
|
-
"react
|
|
48
|
-
"react
|
|
49
|
-
"react
|
|
50
|
-
"react
|
|
51
|
-
"react
|
|
52
|
-
"react
|
|
53
|
-
"react
|
|
54
|
-
"react
|
|
55
|
-
"react
|
|
56
|
-
"react
|
|
57
|
-
"react
|
|
58
|
-
"react-
|
|
59
|
-
"react-
|
|
60
|
-
"react
|
|
61
|
-
"react
|
|
62
|
-
"react
|
|
63
|
-
"react
|
|
64
|
-
"react
|
|
65
|
-
"react
|
|
66
|
-
"react
|
|
67
|
-
"react
|
|
68
|
-
"react-
|
|
69
|
-
"react-
|
|
70
|
-
"react-
|
|
71
|
-
"react-
|
|
72
|
-
"react-
|
|
73
|
-
"react-
|
|
74
|
-
"react-
|
|
75
|
-
"react-
|
|
76
|
-
"react-
|
|
77
|
-
"react-
|
|
78
|
-
"react-
|
|
79
|
-
"react-
|
|
80
|
-
"react-
|
|
81
|
-
"react-
|
|
82
|
-
"react-
|
|
83
|
-
"react-
|
|
84
|
-
"react-
|
|
85
|
-
"react
|
|
86
|
-
"react
|
|
87
|
-
"react
|
|
88
|
-
"react
|
|
89
|
-
"react
|
|
90
|
-
"react
|
|
91
|
-
"react
|
|
92
|
-
"react-
|
|
93
|
-
"react-
|
|
94
|
-
"react-
|
|
95
|
-
"react
|
|
96
|
-
"react
|
|
2
|
+
"@eslint-react/component-hook-factories": 2,
|
|
3
|
+
"@eslint-react/error-boundaries": 2,
|
|
4
|
+
"@eslint-react/exhaustive-deps": 1,
|
|
5
|
+
"@eslint-react/immutability": 2,
|
|
6
|
+
"@eslint-react/no-access-state-in-setstate": 2,
|
|
7
|
+
"@eslint-react/no-array-index-key": 1,
|
|
8
|
+
"@eslint-react/no-children-count": 1,
|
|
9
|
+
"@eslint-react/no-children-for-each": 1,
|
|
10
|
+
"@eslint-react/no-children-map": 1,
|
|
11
|
+
"@eslint-react/no-children-only": 1,
|
|
12
|
+
"@eslint-react/no-children-to-array": 1,
|
|
13
|
+
"@eslint-react/no-class-component": 2,
|
|
14
|
+
"@eslint-react/no-clone-element": 1,
|
|
15
|
+
"@eslint-react/no-component-will-mount": 2,
|
|
16
|
+
"@eslint-react/no-component-will-receive-props": 2,
|
|
17
|
+
"@eslint-react/no-component-will-update": 2,
|
|
18
|
+
"@eslint-react/no-context-provider": 2,
|
|
19
|
+
"@eslint-react/no-create-ref": 2,
|
|
20
|
+
"@eslint-react/no-direct-mutation-state": 2,
|
|
21
|
+
"@eslint-react/no-duplicate-key": 1,
|
|
22
|
+
"@eslint-react/no-forward-ref": 2,
|
|
23
|
+
"@eslint-react/no-implicit-children": 1,
|
|
24
|
+
"@eslint-react/no-implicit-key": 1,
|
|
25
|
+
"@eslint-react/no-implicit-ref": 1,
|
|
26
|
+
"@eslint-react/no-leaked-conditional-rendering": 2,
|
|
27
|
+
"@eslint-react/no-missing-component-display-name": 2,
|
|
28
|
+
"@eslint-react/no-missing-context-display-name": 2,
|
|
29
|
+
"@eslint-react/no-missing-key": 2,
|
|
30
|
+
"@eslint-react/no-misused-capture-owner-stack": 2,
|
|
31
|
+
"@eslint-react/no-nested-component-definitions": 2,
|
|
32
|
+
"@eslint-react/no-nested-lazy-component-declarations": 2,
|
|
33
|
+
"@eslint-react/no-redundant-should-component-update": 2,
|
|
34
|
+
"@eslint-react/no-set-state-in-component-did-mount": 2,
|
|
35
|
+
"@eslint-react/no-set-state-in-component-did-update": 2,
|
|
36
|
+
"@eslint-react/no-set-state-in-component-will-update": 2,
|
|
37
|
+
"@eslint-react/no-unnecessary-use-callback": 2,
|
|
38
|
+
"@eslint-react/no-unnecessary-use-memo": 2,
|
|
39
|
+
"@eslint-react/no-unnecessary-use-prefix": 2,
|
|
40
|
+
"@eslint-react/no-unsafe-component-will-mount": 2,
|
|
41
|
+
"@eslint-react/no-unsafe-component-will-receive-props": 2,
|
|
42
|
+
"@eslint-react/no-unsafe-component-will-update": 2,
|
|
43
|
+
"@eslint-react/no-unstable-context-value": 2,
|
|
44
|
+
"@eslint-react/no-unstable-default-props": 2,
|
|
45
|
+
"@eslint-react/no-unused-class-component-members": 1,
|
|
46
|
+
"@eslint-react/no-unused-props": 1,
|
|
47
|
+
"@eslint-react/no-unused-state": 1,
|
|
48
|
+
"@eslint-react/no-use-context": 2,
|
|
49
|
+
"@eslint-react/prefer-destructuring-assignment": 2,
|
|
50
|
+
"@eslint-react/prefer-namespace-import": 0,
|
|
51
|
+
"@eslint-react/purity": 1,
|
|
52
|
+
"@eslint-react/refs": 2,
|
|
53
|
+
"@eslint-react/rules-of-hooks": 2,
|
|
54
|
+
"@eslint-react/set-state-in-effect": 2,
|
|
55
|
+
"@eslint-react/set-state-in-render": 2,
|
|
56
|
+
"@eslint-react/unsupported-syntax": 2,
|
|
57
|
+
"@eslint-react/use-memo": 2,
|
|
58
|
+
"@eslint-react/use-state": 2,
|
|
59
|
+
"@eslint-react/jsx-no-children-prop": 0,
|
|
60
|
+
"@eslint-react/jsx-no-children-prop-with-children": 2,
|
|
61
|
+
"@eslint-react/jsx-no-comment-textnodes": 1,
|
|
62
|
+
"@eslint-react/jsx-no-key-after-spread": 2,
|
|
63
|
+
"@eslint-react/jsx-no-leaked-dollar": 2,
|
|
64
|
+
"@eslint-react/jsx-no-leaked-semicolon": 2,
|
|
65
|
+
"@eslint-react/jsx-no-namespace": 2,
|
|
66
|
+
"@eslint-react/jsx-no-useless-fragment": 2,
|
|
67
|
+
"@eslint-react/rsc-function-definition": 0,
|
|
68
|
+
"@eslint-react/dom-no-dangerously-set-innerhtml-with-children": 2,
|
|
69
|
+
"@eslint-react/dom-no-dangerously-set-innerhtml": 1,
|
|
70
|
+
"@eslint-react/dom-no-find-dom-node": 2,
|
|
71
|
+
"@eslint-react/dom-no-flush-sync": 2,
|
|
72
|
+
"@eslint-react/dom-no-hydrate": 2,
|
|
73
|
+
"@eslint-react/dom-no-missing-button-type": 1,
|
|
74
|
+
"@eslint-react/dom-no-missing-iframe-sandbox": 1,
|
|
75
|
+
"@eslint-react/dom-no-render-return-value": 2,
|
|
76
|
+
"@eslint-react/dom-no-render": 2,
|
|
77
|
+
"@eslint-react/dom-no-script-url": 1,
|
|
78
|
+
"@eslint-react/dom-no-string-style-prop": 2,
|
|
79
|
+
"@eslint-react/dom-no-unknown-property": 2,
|
|
80
|
+
"@eslint-react/dom-no-unsafe-iframe-sandbox": 1,
|
|
81
|
+
"@eslint-react/dom-no-unsafe-target-blank": 1,
|
|
82
|
+
"@eslint-react/dom-no-use-form-state": 2,
|
|
83
|
+
"@eslint-react/dom-no-void-elements-with-children": 2,
|
|
84
|
+
"@eslint-react/dom-prefer-namespace-import": 0,
|
|
85
|
+
"@eslint-react/web-api-no-leaked-event-listener": 2,
|
|
86
|
+
"@eslint-react/web-api-no-leaked-interval": 2,
|
|
87
|
+
"@eslint-react/web-api-no-leaked-resize-observer": 2,
|
|
88
|
+
"@eslint-react/web-api-no-leaked-timeout": 2,
|
|
89
|
+
"@eslint-react/naming-convention-context-name": 2,
|
|
90
|
+
"@eslint-react/naming-convention-id-name": 2,
|
|
91
|
+
"@eslint-react/naming-convention-ref-name": 2,
|
|
92
|
+
"@eslint-react/debug-class-component": 0,
|
|
93
|
+
"@eslint-react/debug-function-component": 0,
|
|
94
|
+
"@eslint-react/debug-hook": 0,
|
|
95
|
+
"@eslint-react/debug-is-from-react": 0,
|
|
96
|
+
"@eslint-react/debug-is-from-ref": 0,
|
|
97
|
+
"@eslint-react/debug-jsx": 0,
|
|
97
98
|
};
|
package/dist/index.js
CHANGED
|
@@ -3,11 +3,13 @@ import typescriptRules from "./core.typescript.js";
|
|
|
3
3
|
import antfuRules from "./core.antfu.js";
|
|
4
4
|
import importsRules from "./core.imports.js";
|
|
5
5
|
import reactRules from "./core.react.js";
|
|
6
|
+
import reactHooksRules from "./core.reactHooks.js";
|
|
6
7
|
import stylisticRules from "./core.stylistic.js";
|
|
7
8
|
import vueRules from "./core.vue.js";
|
|
8
9
|
const javascript = javascriptRules;
|
|
9
10
|
const typescript = typescriptRules;
|
|
10
11
|
const react = reactRules;
|
|
12
|
+
const reactHooks = reactHooksRules;
|
|
11
13
|
const vue = vueRules;
|
|
12
14
|
const stylistic = stylisticRules;
|
|
13
15
|
const antfu = antfuRules;
|
|
@@ -16,6 +18,7 @@ export default {
|
|
|
16
18
|
javascript,
|
|
17
19
|
typescript,
|
|
18
20
|
react,
|
|
21
|
+
reactHooks,
|
|
19
22
|
vue,
|
|
20
23
|
stylistic,
|
|
21
24
|
antfu,
|
|
@@ -1,99 +1,100 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
"react
|
|
3
|
-
"react
|
|
4
|
-
"react
|
|
5
|
-
"react
|
|
6
|
-
"react
|
|
7
|
-
"react
|
|
8
|
-
"react
|
|
9
|
-
"react
|
|
10
|
-
"react-
|
|
11
|
-
"react
|
|
12
|
-
"react
|
|
13
|
-
"react
|
|
14
|
-
"react
|
|
15
|
-
"react
|
|
16
|
-
"react
|
|
17
|
-
"react
|
|
18
|
-
"react
|
|
19
|
-
"react
|
|
20
|
-
"react
|
|
21
|
-
"react
|
|
22
|
-
"react
|
|
23
|
-
"react
|
|
24
|
-
"react
|
|
25
|
-
"react
|
|
26
|
-
"react
|
|
27
|
-
"react
|
|
28
|
-
"react
|
|
29
|
-
"react
|
|
30
|
-
"react
|
|
31
|
-
"react
|
|
32
|
-
"react
|
|
33
|
-
"react
|
|
34
|
-
"react
|
|
35
|
-
"react
|
|
36
|
-
"react
|
|
37
|
-
"react
|
|
38
|
-
"react
|
|
39
|
-
"react
|
|
40
|
-
"react
|
|
41
|
-
"react
|
|
42
|
-
"react
|
|
43
|
-
"react
|
|
44
|
-
"react
|
|
45
|
-
"react
|
|
46
|
-
"react
|
|
47
|
-
"react
|
|
48
|
-
"react
|
|
49
|
-
"react
|
|
50
|
-
"react
|
|
51
|
-
"react
|
|
52
|
-
"react
|
|
53
|
-
"react
|
|
54
|
-
"react
|
|
55
|
-
"react
|
|
56
|
-
"react
|
|
57
|
-
"react
|
|
58
|
-
"react-
|
|
59
|
-
"react-
|
|
60
|
-
"react
|
|
61
|
-
"react
|
|
62
|
-
"react
|
|
63
|
-
"react
|
|
64
|
-
"react
|
|
65
|
-
"react
|
|
66
|
-
"react
|
|
67
|
-
"react
|
|
68
|
-
"react-
|
|
69
|
-
"react-
|
|
70
|
-
"react-
|
|
71
|
-
"react-
|
|
72
|
-
"react-
|
|
73
|
-
"react-
|
|
74
|
-
"react-
|
|
75
|
-
"react-
|
|
76
|
-
"react-
|
|
77
|
-
"react-
|
|
78
|
-
"react-
|
|
79
|
-
"react-
|
|
80
|
-
"react-
|
|
81
|
-
"react-
|
|
82
|
-
"react-
|
|
83
|
-
"react-
|
|
84
|
-
"react-
|
|
85
|
-
"react
|
|
86
|
-
"react
|
|
87
|
-
"react
|
|
88
|
-
"react
|
|
89
|
-
"react
|
|
90
|
-
"react
|
|
91
|
-
"react
|
|
92
|
-
"react-
|
|
93
|
-
"react-
|
|
94
|
-
"react-
|
|
95
|
-
"react
|
|
96
|
-
"react
|
|
2
|
+
"@eslint-react/component-hook-factories": number;
|
|
3
|
+
"@eslint-react/error-boundaries": number;
|
|
4
|
+
"@eslint-react/exhaustive-deps": number;
|
|
5
|
+
"@eslint-react/immutability": number;
|
|
6
|
+
"@eslint-react/no-access-state-in-setstate": number;
|
|
7
|
+
"@eslint-react/no-array-index-key": number;
|
|
8
|
+
"@eslint-react/no-children-count": number;
|
|
9
|
+
"@eslint-react/no-children-for-each": number;
|
|
10
|
+
"@eslint-react/no-children-map": number;
|
|
11
|
+
"@eslint-react/no-children-only": number;
|
|
12
|
+
"@eslint-react/no-children-to-array": number;
|
|
13
|
+
"@eslint-react/no-class-component": number;
|
|
14
|
+
"@eslint-react/no-clone-element": number;
|
|
15
|
+
"@eslint-react/no-component-will-mount": number;
|
|
16
|
+
"@eslint-react/no-component-will-receive-props": number;
|
|
17
|
+
"@eslint-react/no-component-will-update": number;
|
|
18
|
+
"@eslint-react/no-context-provider": number;
|
|
19
|
+
"@eslint-react/no-create-ref": number;
|
|
20
|
+
"@eslint-react/no-direct-mutation-state": number;
|
|
21
|
+
"@eslint-react/no-duplicate-key": number;
|
|
22
|
+
"@eslint-react/no-forward-ref": number;
|
|
23
|
+
"@eslint-react/no-implicit-children": number;
|
|
24
|
+
"@eslint-react/no-implicit-key": number;
|
|
25
|
+
"@eslint-react/no-implicit-ref": number;
|
|
26
|
+
"@eslint-react/no-leaked-conditional-rendering": number;
|
|
27
|
+
"@eslint-react/no-missing-component-display-name": number;
|
|
28
|
+
"@eslint-react/no-missing-context-display-name": number;
|
|
29
|
+
"@eslint-react/no-missing-key": number;
|
|
30
|
+
"@eslint-react/no-misused-capture-owner-stack": number;
|
|
31
|
+
"@eslint-react/no-nested-component-definitions": number;
|
|
32
|
+
"@eslint-react/no-nested-lazy-component-declarations": number;
|
|
33
|
+
"@eslint-react/no-redundant-should-component-update": number;
|
|
34
|
+
"@eslint-react/no-set-state-in-component-did-mount": number;
|
|
35
|
+
"@eslint-react/no-set-state-in-component-did-update": number;
|
|
36
|
+
"@eslint-react/no-set-state-in-component-will-update": number;
|
|
37
|
+
"@eslint-react/no-unnecessary-use-callback": number;
|
|
38
|
+
"@eslint-react/no-unnecessary-use-memo": number;
|
|
39
|
+
"@eslint-react/no-unnecessary-use-prefix": number;
|
|
40
|
+
"@eslint-react/no-unsafe-component-will-mount": number;
|
|
41
|
+
"@eslint-react/no-unsafe-component-will-receive-props": number;
|
|
42
|
+
"@eslint-react/no-unsafe-component-will-update": number;
|
|
43
|
+
"@eslint-react/no-unstable-context-value": number;
|
|
44
|
+
"@eslint-react/no-unstable-default-props": number;
|
|
45
|
+
"@eslint-react/no-unused-class-component-members": number;
|
|
46
|
+
"@eslint-react/no-unused-props": number;
|
|
47
|
+
"@eslint-react/no-unused-state": number;
|
|
48
|
+
"@eslint-react/no-use-context": number;
|
|
49
|
+
"@eslint-react/prefer-destructuring-assignment": number;
|
|
50
|
+
"@eslint-react/prefer-namespace-import": number;
|
|
51
|
+
"@eslint-react/purity": number;
|
|
52
|
+
"@eslint-react/refs": number;
|
|
53
|
+
"@eslint-react/rules-of-hooks": number;
|
|
54
|
+
"@eslint-react/set-state-in-effect": number;
|
|
55
|
+
"@eslint-react/set-state-in-render": number;
|
|
56
|
+
"@eslint-react/unsupported-syntax": number;
|
|
57
|
+
"@eslint-react/use-memo": number;
|
|
58
|
+
"@eslint-react/use-state": number;
|
|
59
|
+
"@eslint-react/jsx-no-children-prop": number;
|
|
60
|
+
"@eslint-react/jsx-no-children-prop-with-children": number;
|
|
61
|
+
"@eslint-react/jsx-no-comment-textnodes": number;
|
|
62
|
+
"@eslint-react/jsx-no-key-after-spread": number;
|
|
63
|
+
"@eslint-react/jsx-no-leaked-dollar": number;
|
|
64
|
+
"@eslint-react/jsx-no-leaked-semicolon": number;
|
|
65
|
+
"@eslint-react/jsx-no-namespace": number;
|
|
66
|
+
"@eslint-react/jsx-no-useless-fragment": number;
|
|
67
|
+
"@eslint-react/rsc-function-definition": number;
|
|
68
|
+
"@eslint-react/dom-no-dangerously-set-innerhtml-with-children": number;
|
|
69
|
+
"@eslint-react/dom-no-dangerously-set-innerhtml": number;
|
|
70
|
+
"@eslint-react/dom-no-find-dom-node": number;
|
|
71
|
+
"@eslint-react/dom-no-flush-sync": number;
|
|
72
|
+
"@eslint-react/dom-no-hydrate": number;
|
|
73
|
+
"@eslint-react/dom-no-missing-button-type": number;
|
|
74
|
+
"@eslint-react/dom-no-missing-iframe-sandbox": number;
|
|
75
|
+
"@eslint-react/dom-no-render-return-value": number;
|
|
76
|
+
"@eslint-react/dom-no-render": number;
|
|
77
|
+
"@eslint-react/dom-no-script-url": number;
|
|
78
|
+
"@eslint-react/dom-no-string-style-prop": number;
|
|
79
|
+
"@eslint-react/dom-no-unknown-property": number;
|
|
80
|
+
"@eslint-react/dom-no-unsafe-iframe-sandbox": number;
|
|
81
|
+
"@eslint-react/dom-no-unsafe-target-blank": number;
|
|
82
|
+
"@eslint-react/dom-no-use-form-state": number;
|
|
83
|
+
"@eslint-react/dom-no-void-elements-with-children": number;
|
|
84
|
+
"@eslint-react/dom-prefer-namespace-import": number;
|
|
85
|
+
"@eslint-react/web-api-no-leaked-event-listener": number;
|
|
86
|
+
"@eslint-react/web-api-no-leaked-interval": number;
|
|
87
|
+
"@eslint-react/web-api-no-leaked-resize-observer": number;
|
|
88
|
+
"@eslint-react/web-api-no-leaked-timeout": number;
|
|
89
|
+
"@eslint-react/naming-convention-context-name": number;
|
|
90
|
+
"@eslint-react/naming-convention-id-name": number;
|
|
91
|
+
"@eslint-react/naming-convention-ref-name": number;
|
|
92
|
+
"@eslint-react/debug-class-component": number;
|
|
93
|
+
"@eslint-react/debug-function-component": number;
|
|
94
|
+
"@eslint-react/debug-hook": number;
|
|
95
|
+
"@eslint-react/debug-is-from-react": number;
|
|
96
|
+
"@eslint-react/debug-is-from-ref": number;
|
|
97
|
+
"@eslint-react/debug-jsx": number;
|
|
97
98
|
};
|
|
98
99
|
export default _default;
|
|
99
100
|
//# sourceMappingURL=core.react.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core.react.d.ts","sourceRoot":"","sources":["../../src/core.react.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"core.react.d.ts","sourceRoot":"","sources":["../../src/core.react.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAuGE"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"react-hooks/config": number;
|
|
3
|
+
"react-hooks/gating": number;
|
|
4
|
+
"react-hooks/globals": number;
|
|
5
|
+
"react-hooks/incompatible-library": number;
|
|
6
|
+
"react-hooks/preserve-manual-memoization": number;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
//# sourceMappingURL=core.reactHooks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"core.reactHooks.d.ts","sourceRoot":"","sources":["../../src/core.reactHooks.ts"],"names":[],"mappings":";;;;;;;AAAA,wBAME"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -5,7 +5,8 @@ export type RuleConfig = Severity | [Severity];
|
|
|
5
5
|
declare const _default: {
|
|
6
6
|
javascript: Record<"array-callback-return" | "constructor-super" | "for-direction" | "getter-return" | "no-async-promise-executor" | "no-await-in-loop" | "no-class-assign" | "no-compare-neg-zero" | "no-cond-assign" | "no-const-assign" | "no-constant-binary-expression" | "no-constant-condition" | "no-constructor-return" | "no-control-regex" | "no-debugger" | "no-dupe-args" | "no-dupe-class-members" | "no-dupe-else-if" | "no-dupe-keys" | "no-duplicate-case" | "no-duplicate-imports" | "no-empty-character-class" | "no-empty-pattern" | "no-ex-assign" | "no-fallthrough" | "no-func-assign" | "no-import-assign" | "no-inner-declarations" | "no-invalid-regexp" | "no-irregular-whitespace" | "no-loss-of-precision" | "no-misleading-character-class" | "no-new-native-nonconstructor" | "no-obj-calls" | "no-promise-executor-return" | "no-prototype-builtins" | "no-self-assign" | "no-self-compare" | "no-setter-return" | "no-sparse-arrays" | "no-template-curly-in-string" | "no-this-before-super" | "no-undef" | "no-unexpected-multiline" | "no-unmodified-loop-condition" | "no-unreachable" | "no-unreachable-loop" | "no-unsafe-finally" | "no-unsafe-negation" | "no-unsafe-optional-chaining" | "no-unused-private-class-members" | "no-unused-vars" | "no-use-before-define" | "no-useless-assignment" | "no-useless-backreference" | "require-atomic-updates" | "use-isnan" | "valid-typeof" | "accessor-pairs" | "arrow-body-style" | "block-scoped-var" | "camelcase" | "capitalized-comments" | "class-methods-use-this" | "complexity" | "consistent-return" | "consistent-this" | "curly" | "default-case" | "default-case-last" | "default-param-last" | "dot-notation" | "eqeqeq" | "func-name-matching" | "func-names" | "func-style" | "grouped-accessor-pairs" | "guard-for-in" | "id-denylist" | "id-length" | "id-match" | "init-declarations" | "logical-assignment-operators" | "max-classes-per-file" | "max-depth" | "max-lines" | "max-lines-per-function" | "max-nested-callbacks" | "max-params" | "max-statements" | "new-cap" | "no-alert" | "no-array-constructor" | "no-bitwise" | "no-caller" | "no-case-declarations" | "no-console" | "no-continue" | "no-delete-var" | "no-div-regex" | "no-else-return" | "no-empty" | "no-empty-function" | "no-empty-static-block" | "no-eq-null" | "no-eval" | "no-extend-native" | "no-extra-bind" | "no-extra-boolean-cast" | "no-extra-label" | "no-global-assign" | "no-implicit-coercion" | "no-implicit-globals" | "no-implied-eval" | "no-inline-comments" | "no-invalid-this" | "no-iterator" | "no-label-var" | "no-labels" | "no-lone-blocks" | "no-lonely-if" | "no-loop-func" | "no-magic-numbers" | "no-multi-assign" | "no-multi-str" | "no-negated-condition" | "no-nested-ternary" | "no-new" | "no-new-func" | "no-new-wrappers" | "no-nonoctal-decimal-escape" | "no-object-constructor" | "no-octal" | "no-octal-escape" | "no-param-reassign" | "no-plusplus" | "no-proto" | "no-redeclare" | "no-regex-spaces" | "no-restricted-exports" | "no-restricted-globals" | "no-restricted-imports" | "no-restricted-properties" | "no-restricted-syntax" | "no-return-assign" | "no-script-url" | "no-sequences" | "no-shadow" | "no-shadow-restricted-names" | "no-ternary" | "no-throw-literal" | "no-undef-init" | "no-undefined" | "no-underscore-dangle" | "no-unneeded-ternary" | "no-unused-expressions" | "no-unused-labels" | "no-useless-call" | "no-useless-catch" | "no-useless-computed-key" | "no-useless-concat" | "no-useless-constructor" | "no-useless-escape" | "no-useless-rename" | "no-useless-return" | "no-var" | "no-void" | "no-warning-comments" | "no-with" | "object-shorthand" | "one-var" | "operator-assignment" | "prefer-arrow-callback" | "prefer-const" | "prefer-destructuring" | "prefer-exponentiation-operator" | "prefer-named-capture-group" | "prefer-numeric-literals" | "prefer-object-has-own" | "prefer-object-spread" | "prefer-promise-reject-errors" | "prefer-regex-literals" | "prefer-rest-params" | "prefer-spread" | "prefer-template" | "radix" | "require-await" | "require-unicode-regexp" | "require-yield" | "sort-imports" | "sort-keys" | "sort-vars" | "strict" | "symbol-description" | "vars-on-top" | "yoda", RuleConfig>;
|
|
7
7
|
typescript: Record<"no-dupe-class-members" | "no-unused-vars" | "no-use-before-define" | "class-methods-use-this" | "default-param-last" | "dot-notation" | "init-declarations" | "max-params" | "no-array-constructor" | "no-empty-function" | "no-implied-eval" | "no-loop-func" | "no-magic-numbers" | "no-redeclare" | "no-restricted-imports" | "no-shadow" | "no-unused-expressions" | "no-useless-constructor" | "prefer-destructuring" | "prefer-promise-reject-errors" | "require-await" | "ts/adjacent-overload-signatures" | "ts/array-type" | "ts/await-thenable" | "ts/ban-ts-comment" | "ts/ban-tslint-comment" | "ts/class-literal-property-style" | "ts/class-methods-use-this" | "ts/consistent-generic-constructors" | "ts/consistent-indexed-object-style" | "ts/consistent-type-assertions" | "ts/consistent-type-definitions" | "ts/consistent-type-exports" | "ts/consistent-type-imports" | "ts/default-param-last" | "ts/dot-notation" | "ts/explicit-function-return-type" | "ts/explicit-member-accessibility" | "ts/explicit-module-boundary-types" | "ts/init-declarations" | "ts/max-params" | "ts/member-ordering" | "ts/method-signature-style" | "ts/naming-convention" | "ts/no-array-constructor" | "ts/no-array-delete" | "ts/no-base-to-string" | "ts/no-confusing-non-null-assertion" | "ts/no-confusing-void-expression" | "ts/no-deprecated" | "ts/no-dupe-class-members" | "ts/no-duplicate-enum-values" | "ts/no-duplicate-type-constituents" | "ts/no-dynamic-delete" | "ts/no-empty-function" | "ts/no-empty-object-type" | "ts/no-explicit-any" | "ts/no-extra-non-null-assertion" | "ts/no-extraneous-class" | "ts/no-floating-promises" | "ts/no-for-in-array" | "ts/no-implied-eval" | "ts/no-import-type-side-effects" | "ts/no-inferrable-types" | "ts/no-invalid-void-type" | "ts/no-loop-func" | "ts/no-magic-numbers" | "ts/no-meaningless-void-operator" | "ts/no-misused-new" | "ts/no-misused-promises" | "ts/no-misused-spread" | "ts/no-mixed-enums" | "ts/no-namespace" | "ts/no-non-null-asserted-nullish-coalescing" | "ts/no-non-null-asserted-optional-chain" | "ts/no-non-null-assertion" | "ts/no-redeclare" | "ts/no-redundant-type-constituents" | "ts/no-require-imports" | "ts/no-restricted-imports" | "ts/no-restricted-types" | "ts/no-shadow" | "ts/no-this-alias" | "ts/no-unnecessary-boolean-literal-compare" | "ts/no-unnecessary-condition" | "ts/no-unnecessary-parameter-property-assignment" | "ts/no-unnecessary-qualifier" | "ts/no-unnecessary-template-expression" | "ts/no-unnecessary-type-arguments" | "ts/no-unnecessary-type-assertion" | "ts/no-unnecessary-type-constraint" | "ts/no-unnecessary-type-parameters" | "ts/no-unsafe-argument" | "ts/no-unsafe-assignment" | "ts/no-unsafe-call" | "ts/no-unsafe-declaration-merging" | "ts/no-unsafe-enum-comparison" | "ts/no-unsafe-function-type" | "ts/no-unsafe-member-access" | "ts/no-unsafe-return" | "ts/no-unsafe-type-assertion" | "ts/no-unsafe-unary-minus" | "ts/no-unused-expressions" | "ts/no-unused-vars" | "ts/no-use-before-define" | "ts/no-useless-constructor" | "ts/no-useless-empty-export" | "ts/no-wrapper-object-types" | "ts/non-nullable-type-assertion-style" | "ts/only-throw-error" | "ts/parameter-properties" | "ts/prefer-as-const" | "ts/prefer-destructuring" | "ts/prefer-enum-initializers" | "ts/prefer-find" | "ts/prefer-for-of" | "ts/prefer-function-type" | "ts/prefer-includes" | "ts/prefer-literal-enum-member" | "ts/prefer-namespace-keyword" | "ts/prefer-nullish-coalescing" | "ts/prefer-optional-chain" | "ts/prefer-promise-reject-errors" | "ts/prefer-readonly" | "ts/prefer-readonly-parameter-types" | "ts/prefer-reduce-type-parameter" | "ts/prefer-regexp-exec" | "ts/prefer-return-this-type" | "ts/prefer-string-starts-ends-with" | "ts/promise-function-async" | "ts/related-getter-setter-pairs" | "ts/require-array-sort-compare" | "ts/require-await" | "ts/restrict-plus-operands" | "ts/restrict-template-expressions" | "ts/return-await" | "ts/strict-boolean-expressions" | "ts/switch-exhaustiveness-check" | "ts/triple-slash-reference" | "ts/typedef" | "ts/unbound-method" | "ts/unified-signatures" | "ts/use-unknown-in-catch-callback-variable", RuleConfig>;
|
|
8
|
-
react: Record<"
|
|
8
|
+
react: Record<"@eslint-react/component-hook-factories" | "@eslint-react/error-boundaries" | "@eslint-react/exhaustive-deps" | "@eslint-react/immutability" | "@eslint-react/no-access-state-in-setstate" | "@eslint-react/no-array-index-key" | "@eslint-react/no-children-count" | "@eslint-react/no-children-for-each" | "@eslint-react/no-children-map" | "@eslint-react/no-children-only" | "@eslint-react/no-children-to-array" | "@eslint-react/no-class-component" | "@eslint-react/no-clone-element" | "@eslint-react/no-component-will-mount" | "@eslint-react/no-component-will-receive-props" | "@eslint-react/no-component-will-update" | "@eslint-react/no-context-provider" | "@eslint-react/no-create-ref" | "@eslint-react/no-direct-mutation-state" | "@eslint-react/no-duplicate-key" | "@eslint-react/no-forward-ref" | "@eslint-react/no-implicit-children" | "@eslint-react/no-implicit-key" | "@eslint-react/no-implicit-ref" | "@eslint-react/no-leaked-conditional-rendering" | "@eslint-react/no-missing-component-display-name" | "@eslint-react/no-missing-context-display-name" | "@eslint-react/no-missing-key" | "@eslint-react/no-misused-capture-owner-stack" | "@eslint-react/no-nested-component-definitions" | "@eslint-react/no-nested-lazy-component-declarations" | "@eslint-react/no-redundant-should-component-update" | "@eslint-react/no-set-state-in-component-did-mount" | "@eslint-react/no-set-state-in-component-did-update" | "@eslint-react/no-set-state-in-component-will-update" | "@eslint-react/no-unnecessary-use-callback" | "@eslint-react/no-unnecessary-use-memo" | "@eslint-react/no-unnecessary-use-prefix" | "@eslint-react/no-unsafe-component-will-mount" | "@eslint-react/no-unsafe-component-will-receive-props" | "@eslint-react/no-unsafe-component-will-update" | "@eslint-react/no-unstable-context-value" | "@eslint-react/no-unstable-default-props" | "@eslint-react/no-unused-class-component-members" | "@eslint-react/no-unused-props" | "@eslint-react/no-unused-state" | "@eslint-react/no-use-context" | "@eslint-react/prefer-destructuring-assignment" | "@eslint-react/prefer-namespace-import" | "@eslint-react/purity" | "@eslint-react/refs" | "@eslint-react/rules-of-hooks" | "@eslint-react/set-state-in-effect" | "@eslint-react/set-state-in-render" | "@eslint-react/unsupported-syntax" | "@eslint-react/use-memo" | "@eslint-react/use-state" | "@eslint-react/jsx-no-children-prop" | "@eslint-react/jsx-no-children-prop-with-children" | "@eslint-react/jsx-no-comment-textnodes" | "@eslint-react/jsx-no-key-after-spread" | "@eslint-react/jsx-no-leaked-dollar" | "@eslint-react/jsx-no-leaked-semicolon" | "@eslint-react/jsx-no-namespace" | "@eslint-react/jsx-no-useless-fragment" | "@eslint-react/rsc-function-definition" | "@eslint-react/dom-no-dangerously-set-innerhtml-with-children" | "@eslint-react/dom-no-dangerously-set-innerhtml" | "@eslint-react/dom-no-find-dom-node" | "@eslint-react/dom-no-flush-sync" | "@eslint-react/dom-no-hydrate" | "@eslint-react/dom-no-missing-button-type" | "@eslint-react/dom-no-missing-iframe-sandbox" | "@eslint-react/dom-no-render-return-value" | "@eslint-react/dom-no-render" | "@eslint-react/dom-no-script-url" | "@eslint-react/dom-no-string-style-prop" | "@eslint-react/dom-no-unknown-property" | "@eslint-react/dom-no-unsafe-iframe-sandbox" | "@eslint-react/dom-no-unsafe-target-blank" | "@eslint-react/dom-no-use-form-state" | "@eslint-react/dom-no-void-elements-with-children" | "@eslint-react/dom-prefer-namespace-import" | "@eslint-react/web-api-no-leaked-event-listener" | "@eslint-react/web-api-no-leaked-interval" | "@eslint-react/web-api-no-leaked-resize-observer" | "@eslint-react/web-api-no-leaked-timeout" | "@eslint-react/naming-convention-context-name" | "@eslint-react/naming-convention-id-name" | "@eslint-react/naming-convention-ref-name" | "@eslint-react/debug-class-component" | "@eslint-react/debug-function-component" | "@eslint-react/debug-hook" | "@eslint-react/debug-is-from-react" | "@eslint-react/debug-is-from-ref" | "@eslint-react/debug-jsx", RuleConfig>;
|
|
9
|
+
reactHooks: Record<"react-hooks/config" | "react-hooks/gating" | "react-hooks/globals" | "react-hooks/incompatible-library" | "react-hooks/preserve-manual-memoization", RuleConfig>;
|
|
9
10
|
vue: Record<"vue/comment-directive" | "vue/jsx-uses-vars" | "vue/multi-word-component-names" | "vue/no-arrow-functions-in-watch" | "vue/no-async-in-computed-properties" | "vue/no-child-content" | "vue/no-computed-properties-in-data" | "vue/no-dupe-keys" | "vue/no-dupe-v-else-if" | "vue/no-duplicate-attributes" | "vue/no-export-in-script-setup" | "vue/no-mutating-props" | "vue/no-parsing-error" | "vue/no-ref-as-operand" | "vue/no-reserved-component-names" | "vue/no-reserved-keys" | "vue/no-reserved-props" | "vue/no-shared-component-data" | "vue/no-side-effects-in-computed-properties" | "vue/no-template-key" | "vue/no-textarea-mustache" | "vue/no-unused-components" | "vue/no-unused-vars" | "vue/no-use-computed-property-like-method" | "vue/no-use-v-if-with-v-for" | "vue/no-useless-template-attributes" | "vue/no-v-text-v-html-on-component" | "vue/require-component-is" | "vue/require-prop-type-constructor" | "vue/require-render-return" | "vue/require-v-for-key" | "vue/require-valid-default-prop" | "vue/return-in-computed-property" | "vue/return-in-emits-validator" | "vue/use-v-on-exact" | "vue/valid-attribute-name" | "vue/valid-define-emits" | "vue/valid-define-props" | "vue/valid-next-tick" | "vue/valid-template-root" | "vue/valid-v-bind" | "vue/valid-v-cloak" | "vue/valid-v-else-if" | "vue/valid-v-else" | "vue/valid-v-for" | "vue/valid-v-html" | "vue/valid-v-if" | "vue/valid-v-model" | "vue/valid-v-on" | "vue/valid-v-once" | "vue/valid-v-pre" | "vue/valid-v-show" | "vue/valid-v-slot" | "vue/valid-v-text" | "vue/no-deprecated-data-object-declaration" | "vue/no-deprecated-delete-set" | "vue/no-deprecated-destroyed-lifecycle" | "vue/no-deprecated-dollar-listeners-api" | "vue/no-deprecated-dollar-scopedslots-api" | "vue/no-deprecated-events-api" | "vue/no-deprecated-filter" | "vue/no-deprecated-functional-template" | "vue/no-deprecated-html-element-is" | "vue/no-deprecated-inline-template" | "vue/no-deprecated-model-definition" | "vue/no-deprecated-props-default-this" | "vue/no-deprecated-router-link-tag-prop" | "vue/no-deprecated-scope-attribute" | "vue/no-deprecated-slot-attribute" | "vue/no-deprecated-slot-scope-attribute" | "vue/no-deprecated-v-bind-sync" | "vue/no-deprecated-v-is" | "vue/no-deprecated-v-on-native-modifier" | "vue/no-deprecated-v-on-number-modifiers" | "vue/no-deprecated-vue-config-keycodes" | "vue/no-expose-after-await" | "vue/no-lifecycle-after-await" | "vue/no-v-for-template-key-on-child" | "vue/no-watch-after-await" | "vue/prefer-import-from-vue" | "vue/require-slots-as-functions" | "vue/require-toggle-inside-transition" | "vue/valid-define-options" | "vue/valid-v-is" | "vue/valid-v-memo" | "vue/no-custom-modifiers-on-v-model" | "vue/no-multiple-template-root" | "vue/attribute-hyphenation" | "vue/component-definition-name-casing" | "vue/first-attribute-linebreak" | "vue/html-closing-bracket-newline" | "vue/html-closing-bracket-spacing" | "vue/html-end-tags" | "vue/html-indent" | "vue/html-quotes" | "vue/html-self-closing" | "vue/max-attributes-per-line" | "vue/multiline-html-element-content-newline" | "vue/mustache-interpolation-spacing" | "vue/no-multi-spaces" | "vue/no-spaces-around-equal-signs-in-attribute" | "vue/no-template-shadow" | "vue/one-component-per-file" | "vue/prop-name-casing" | "vue/require-default-prop" | "vue/require-prop-types" | "vue/singleline-html-element-content-newline" | "vue/v-bind-style" | "vue/v-on-style" | "vue/v-slot-style" | "vue/require-explicit-emits" | "vue/v-on-event-hyphenation" | "vue/attributes-order" | "vue/block-order" | "vue/no-lone-template" | "vue/no-multiple-slot-args" | "vue/no-required-prop-with-default" | "vue/no-v-html" | "vue/order-in-components" | "vue/this-in-template" | "vue/block-lang" | "vue/block-tag-newline" | "vue/component-api-style" | "vue/component-name-in-template-casing" | "vue/component-options-name-casing" | "vue/custom-event-name-casing" | "vue/define-emits-declaration" | "vue/define-macros-order" | "vue/define-props-declaration" | "vue/define-props-destructuring" | "vue/enforce-style-attribute" | "vue/html-button-has-type" | "vue/html-comment-content-newline" | "vue/html-comment-content-spacing" | "vue/html-comment-indent" | "vue/match-component-file-name" | "vue/match-component-import-name" | "vue/max-lines-per-block" | "vue/max-props" | "vue/max-template-depth" | "vue/new-line-between-multi-line-property" | "vue/next-tick-style" | "vue/no-bare-strings-in-template" | "vue/no-boolean-default" | "vue/no-duplicate-attr-inheritance" | "vue/no-duplicate-class-names" | "vue/no-empty-component-block" | "vue/no-import-compiler-macros" | "vue/no-multiple-objects-in-class" | "vue/no-negated-v-if-condition" | "vue/no-potential-component-option-typo" | "vue/no-ref-object-reactivity-loss" | "vue/no-restricted-block" | "vue/no-restricted-call-after-await" | "vue/no-restricted-class" | "vue/no-restricted-component-names" | "vue/no-restricted-component-options" | "vue/no-restricted-custom-event" | "vue/no-restricted-html-elements" | "vue/no-restricted-props" | "vue/no-restricted-static-attribute" | "vue/no-restricted-v-bind" | "vue/no-restricted-v-on" | "vue/no-root-v-if" | "vue/no-setup-props-reactivity-loss" | "vue/no-static-inline-styles" | "vue/no-template-target-blank" | "vue/no-this-in-before-route-enter" | "vue/no-undef-components" | "vue/no-undef-properties" | "vue/no-unsupported-features" | "vue/no-unused-emit-declarations" | "vue/no-unused-properties" | "vue/no-unused-refs" | "vue/no-use-v-else-with-v-for" | "vue/no-useless-mustaches" | "vue/no-useless-v-bind" | "vue/no-v-text" | "vue/padding-line-between-blocks" | "vue/padding-line-between-tags" | "vue/padding-lines-in-component-definition" | "vue/prefer-define-options" | "vue/prefer-prop-type-boolean-first" | "vue/prefer-separate-static-class" | "vue/prefer-true-attribute-shorthand" | "vue/prefer-use-template-ref" | "vue/require-default-export" | "vue/require-direct-export" | "vue/require-emit-validator" | "vue/require-explicit-slots" | "vue/require-expose" | "vue/require-macro-variable-name" | "vue/require-name-property" | "vue/require-prop-comment" | "vue/require-typed-object-prop" | "vue/require-typed-ref" | "vue/restricted-component-names" | "vue/script-indent" | "vue/slot-name-casing" | "vue/sort-keys" | "vue/static-class-names-order" | "vue/v-for-delimiter-style" | "vue/v-if-else-key" | "vue/v-on-handler-style" | "vue/array-bracket-newline" | "vue/array-bracket-spacing" | "vue/array-element-newline" | "vue/arrow-spacing" | "vue/block-spacing" | "vue/brace-style" | "vue/camelcase" | "vue/comma-dangle" | "vue/comma-spacing" | "vue/comma-style" | "vue/dot-location" | "vue/dot-notation" | "vue/eqeqeq" | "vue/func-call-spacing" | "vue/key-spacing" | "vue/keyword-spacing" | "vue/max-len" | "vue/multiline-ternary" | "vue/no-console" | "vue/no-constant-condition" | "vue/no-empty-pattern" | "vue/no-extra-parens" | "vue/no-implicit-coercion" | "vue/no-irregular-whitespace" | "vue/no-loss-of-precision" | "vue/no-negated-condition" | "vue/no-restricted-syntax" | "vue/no-sparse-arrays" | "vue/no-useless-concat" | "vue/object-curly-newline" | "vue/object-curly-spacing" | "vue/object-property-newline" | "vue/object-shorthand" | "vue/operator-linebreak" | "vue/prefer-template" | "vue/quote-props" | "vue/space-in-parens" | "vue/space-infix-ops" | "vue/space-unary-ops" | "vue/template-curly-spacing", RuleConfig>;
|
|
10
11
|
stylistic: Record<"stylistic/array-bracket-newline" | "stylistic/array-bracket-spacing" | "stylistic/array-element-newline" | "stylistic/arrow-parens" | "stylistic/arrow-spacing" | "stylistic/block-spacing" | "stylistic/brace-style" | "stylistic/comma-dangle" | "stylistic/comma-spacing" | "stylistic/comma-style" | "stylistic/computed-property-spacing" | "stylistic/curly-newline" | "stylistic/dot-location" | "stylistic/eol-last" | "stylistic/function-call-argument-newline" | "stylistic/function-call-spacing" | "stylistic/function-paren-newline" | "stylistic/generator-star-spacing" | "stylistic/implicit-arrow-linebreak" | "stylistic/indent" | "stylistic/indent-binary-ops" | "stylistic/jsx-child-element-spacing" | "stylistic/jsx-closing-bracket-location" | "stylistic/jsx-closing-tag-location" | "stylistic/jsx-curly-brace-presence" | "stylistic/jsx-curly-newline" | "stylistic/jsx-curly-spacing" | "stylistic/jsx-equals-spacing" | "stylistic/jsx-first-prop-new-line" | "stylistic/jsx-function-call-newline" | "stylistic/jsx-indent-props" | "stylistic/jsx-max-props-per-line" | "stylistic/jsx-newline" | "stylistic/jsx-one-expression-per-line" | "stylistic/jsx-pascal-case" | "stylistic/jsx-quotes" | "stylistic/jsx-self-closing-comp" | "stylistic/jsx-tag-spacing" | "stylistic/jsx-wrap-multilines" | "stylistic/key-spacing" | "stylistic/keyword-spacing" | "stylistic/line-comment-position" | "stylistic/linebreak-style" | "stylistic/lines-around-comment" | "stylistic/lines-between-class-members" | "stylistic/max-len" | "stylistic/max-statements-per-line" | "stylistic/member-delimiter-style" | "stylistic/multiline-comment-style" | "stylistic/multiline-ternary" | "stylistic/new-parens" | "stylistic/newline-per-chained-call" | "stylistic/no-confusing-arrow" | "stylistic/no-extra-parens" | "stylistic/no-extra-semi" | "stylistic/no-floating-decimal" | "stylistic/no-mixed-operators" | "stylistic/no-mixed-spaces-and-tabs" | "stylistic/no-multi-spaces" | "stylistic/no-multiple-empty-lines" | "stylistic/no-tabs" | "stylistic/no-trailing-spaces" | "stylistic/no-whitespace-before-property" | "stylistic/nonblock-statement-body-position" | "stylistic/object-curly-newline" | "stylistic/object-curly-spacing" | "stylistic/object-property-newline" | "stylistic/one-var-declaration-per-line" | "stylistic/operator-linebreak" | "stylistic/padded-blocks" | "stylistic/padding-line-between-statements" | "stylistic/quote-props" | "stylistic/quotes" | "stylistic/rest-spread-spacing" | "stylistic/semi" | "stylistic/semi-spacing" | "stylistic/semi-style" | "stylistic/space-before-blocks" | "stylistic/space-before-function-paren" | "stylistic/space-in-parens" | "stylistic/space-infix-ops" | "stylistic/space-unary-ops" | "stylistic/spaced-comment" | "stylistic/switch-colon-spacing" | "stylistic/template-curly-spacing" | "stylistic/template-tag-spacing" | "stylistic/type-annotation-spacing" | "stylistic/type-generic-spacing" | "stylistic/type-named-tuple-spacing" | "stylistic/wrap-iife" | "stylistic/wrap-regex" | "stylistic/yield-star-spacing", RuleConfig>;
|
|
11
12
|
antfu: Record<"antfu/consistent-chaining" | "antfu/consistent-list-newline" | "antfu/curly" | "antfu/if-newline" | "antfu/import-dedupe" | "antfu/indent-unindent" | "antfu/no-import-dist" | "antfu/no-import-node-modules-by-path" | "antfu/no-top-level-await" | "antfu/no-ts-export-equal" | "antfu/top-level-function", RuleConfig>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAUA,MAAM,MAAM,aAAa,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AACtC,MAAM,MAAM,YAAY,GAAG,KAAK,GAAG,MAAM,GAAG,OAAO,CAAC;AACpD,MAAM,MAAM,QAAQ,GAAG,YAAY,GAAG,aAAa,CAAC;AACpD,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,CAAC,QAAQ,CAAC,CAAC;;;;;;;;;;;AAW/C,wBASE"}
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"description": "pawover's esLint rules",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
|
-
"version": "0.0.0-beta.
|
|
7
|
+
"version": "0.0.0-beta.13",
|
|
8
8
|
"packageManager": "pnpm@10.28.2",
|
|
9
9
|
"engines": {
|
|
10
10
|
"node": ">=22.22.0"
|
|
@@ -52,18 +52,18 @@
|
|
|
52
52
|
"lib:up": "taze -I -r --exclude pnpm"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@eslint-react/eslint-plugin": "^
|
|
55
|
+
"@eslint-react/eslint-plugin": "^4.2.3",
|
|
56
56
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
57
|
-
"eslint": "^10.0
|
|
57
|
+
"eslint": "^10.1.0",
|
|
58
58
|
"eslint-plugin-antfu": "^3.2.2",
|
|
59
|
-
"eslint-plugin-import-lite": "^0.
|
|
59
|
+
"eslint-plugin-import-lite": "^0.6.0",
|
|
60
60
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
61
61
|
"eslint-plugin-vue": "^10.8.0",
|
|
62
62
|
"prettier": "^3.8.1",
|
|
63
63
|
"rimraf": "^6.1.3",
|
|
64
|
-
"taze": "^19.
|
|
65
|
-
"typescript": "^
|
|
66
|
-
"typescript-eslint": "^8.
|
|
64
|
+
"taze": "^19.11.0",
|
|
65
|
+
"typescript": "^6.0.2",
|
|
66
|
+
"typescript-eslint": "^8.58.0"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
69
|
"@eslint-react/eslint-plugin": ">=3.0.0",
|