@thomaflette/eslint-plugin-solid-2 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -2
- package/dist/index.cjs +810 -468
- package/dist/index.d.cts +79 -63
- package/dist/index.d.mts +79 -63
- package/dist/index.mjs +810 -468
- package/docs/README.md +24 -0
- package/docs/adr/0001-only-false-positive-free-rules.md +60 -0
- package/docs/adr/0002-sound-component-detection.md +66 -0
- package/docs/adr/0003-require-solid-binding.md +50 -0
- package/docs/adr/0004-correctness-guard-not-migration-tool.md +48 -0
- package/docs/adr/0005-recommended-type-checked-config.md +27 -0
- package/docs/adr/0006-merge-leaf-owner-rules.md +42 -0
- package/docs/adr/0007-typescript-audience.md +35 -0
- package/docs/components-return-once.md +89 -0
- package/docs/jsx-no-duplicate-props.md +34 -0
- package/docs/no-destructure.md +92 -0
- package/docs/no-leaf-owner-operations.md +82 -0
- package/docs/no-owned-scope-writes.md +117 -0
- package/docs/no-reactive-read-after-await.md +87 -0
- package/docs/no-stale-props-alias.md +157 -0
- package/docs/no-untracked-read-in-effect-apply.md +97 -0
- package/docs/prefer-for.md +81 -0
- package/docs/prefer-show.md +59 -0
- package/docs/self-closing-comp.md +42 -0
- package/package.json +7 -5
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _$_typescript_eslint_utils_ts_eslint0 from "@typescript-eslint/utils/ts-eslint";
|
|
2
2
|
|
|
3
|
-
//#region src/
|
|
3
|
+
//#region src/rule-catalog.d.ts
|
|
4
4
|
type SolidRuleLevel = "off" | "warn" | "error";
|
|
5
|
-
type SolidRuleConfig = SolidRuleLevel | [SolidRuleLevel, ...unknown[]];
|
|
5
|
+
type SolidRuleConfig = SolidRuleLevel | readonly [SolidRuleLevel, ...unknown[]];
|
|
6
6
|
type SolidRuleMap = Record<string, SolidRuleConfig>;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/index.d.ts
|
|
@@ -11,49 +11,53 @@ declare const pluginWithConfigs: {
|
|
|
11
11
|
name: string;
|
|
12
12
|
};
|
|
13
13
|
rules: {
|
|
14
|
-
"components-return-once": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noConditionalReturn" | "noEarlyReturn", [({
|
|
14
|
+
readonly "components-return-once": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noConditionalReturn" | "noEarlyReturn", [({
|
|
15
15
|
typescriptEnabled?: boolean;
|
|
16
16
|
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
17
17
|
name: string;
|
|
18
18
|
};
|
|
19
|
-
"jsx-no-duplicate-props": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noDuplicateChildren", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
19
|
+
readonly "jsx-no-duplicate-props": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noDuplicateChildren", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
20
20
|
name: string;
|
|
21
21
|
};
|
|
22
|
-
"no-destructure": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noDestructure", [({
|
|
22
|
+
readonly "no-destructure": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noDestructure", [({
|
|
23
23
|
typescriptEnabled?: boolean;
|
|
24
24
|
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
25
25
|
name: string;
|
|
26
26
|
};
|
|
27
|
-
"no-leaf-owner-operations": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noCleanup" | "noFlush" | "noPrimitives", [
|
|
27
|
+
readonly "no-leaf-owner-operations": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noCleanup" | "noFlush" | "noPrimitives", [({
|
|
28
|
+
typescriptEnabled?: boolean;
|
|
29
|
+
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
28
30
|
name: string;
|
|
29
31
|
};
|
|
30
|
-
"no-owned-scope-writes": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noActionInOwnedScope" | "noOwnedScopeWrite", [({
|
|
32
|
+
readonly "no-owned-scope-writes": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noActionInOwnedScope" | "noOwnedScopeRefresh" | "noOwnedScopeWrite", [({
|
|
31
33
|
typescriptEnabled?: boolean;
|
|
32
34
|
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
33
35
|
name: string;
|
|
34
36
|
};
|
|
35
|
-
"no-reactive-read-after-await": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"reactiveReadAfterAwait", [({
|
|
37
|
+
readonly "no-reactive-read-after-await": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"reactiveReadAfterAwait", [({
|
|
36
38
|
typescriptEnabled?: boolean;
|
|
37
39
|
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
38
40
|
name: string;
|
|
39
41
|
};
|
|
40
|
-
"no-stale-props-alias": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"stalePropsAlias", [({
|
|
42
|
+
readonly "no-stale-props-alias": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"stalePropsAlias" | "stalePropsRead" | "staleReactiveRead", [({
|
|
41
43
|
typescriptEnabled?: boolean;
|
|
42
44
|
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
43
45
|
name: string;
|
|
44
46
|
};
|
|
45
|
-
"no-untracked-read-in-effect-apply": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"signalRead" | "storeProxyRead", [
|
|
47
|
+
readonly "no-untracked-read-in-effect-apply": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"signalRead" | "storeProxyRead", [({
|
|
48
|
+
typescriptEnabled?: boolean;
|
|
49
|
+
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
46
50
|
name: string;
|
|
47
51
|
};
|
|
48
|
-
"prefer-for": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"preferFor", [({
|
|
52
|
+
readonly "prefer-for": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"preferFor", [({
|
|
49
53
|
typescriptEnabled?: boolean;
|
|
50
54
|
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
51
55
|
name: string;
|
|
52
56
|
};
|
|
53
|
-
"prefer-show": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"convertToShow" | "preferShowAnd" | "preferShowTernary", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
57
|
+
readonly "prefer-show": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"convertToShow" | "preferShowAnd" | "preferShowTernary", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
54
58
|
name: string;
|
|
55
59
|
};
|
|
56
|
-
"self-closing-comp": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"dontSelfClose" | "selfClose", [({
|
|
60
|
+
readonly "self-closing-comp": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"dontSelfClose" | "selfClose", [({
|
|
57
61
|
component?: "all" | "none";
|
|
58
62
|
html?: "all" | "none" | "void";
|
|
59
63
|
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
@@ -69,49 +73,53 @@ declare const pluginWithConfigs: {
|
|
|
69
73
|
name: string;
|
|
70
74
|
};
|
|
71
75
|
rules: {
|
|
72
|
-
"components-return-once": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noConditionalReturn" | "noEarlyReturn", [({
|
|
76
|
+
readonly "components-return-once": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noConditionalReturn" | "noEarlyReturn", [({
|
|
73
77
|
typescriptEnabled?: boolean;
|
|
74
78
|
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
75
79
|
name: string;
|
|
76
80
|
};
|
|
77
|
-
"jsx-no-duplicate-props": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noDuplicateChildren", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
81
|
+
readonly "jsx-no-duplicate-props": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noDuplicateChildren", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
78
82
|
name: string;
|
|
79
83
|
};
|
|
80
|
-
"no-destructure": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noDestructure", [({
|
|
84
|
+
readonly "no-destructure": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noDestructure", [({
|
|
81
85
|
typescriptEnabled?: boolean;
|
|
82
86
|
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
83
87
|
name: string;
|
|
84
88
|
};
|
|
85
|
-
"no-leaf-owner-operations": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noCleanup" | "noFlush" | "noPrimitives", [
|
|
89
|
+
readonly "no-leaf-owner-operations": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noCleanup" | "noFlush" | "noPrimitives", [({
|
|
90
|
+
typescriptEnabled?: boolean;
|
|
91
|
+
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
86
92
|
name: string;
|
|
87
93
|
};
|
|
88
|
-
"no-owned-scope-writes": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noActionInOwnedScope" | "noOwnedScopeWrite", [({
|
|
94
|
+
readonly "no-owned-scope-writes": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noActionInOwnedScope" | "noOwnedScopeRefresh" | "noOwnedScopeWrite", [({
|
|
89
95
|
typescriptEnabled?: boolean;
|
|
90
96
|
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
91
97
|
name: string;
|
|
92
98
|
};
|
|
93
|
-
"no-reactive-read-after-await": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"reactiveReadAfterAwait", [({
|
|
99
|
+
readonly "no-reactive-read-after-await": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"reactiveReadAfterAwait", [({
|
|
94
100
|
typescriptEnabled?: boolean;
|
|
95
101
|
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
96
102
|
name: string;
|
|
97
103
|
};
|
|
98
|
-
"no-stale-props-alias": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"stalePropsAlias", [({
|
|
104
|
+
readonly "no-stale-props-alias": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"stalePropsAlias" | "stalePropsRead" | "staleReactiveRead", [({
|
|
99
105
|
typescriptEnabled?: boolean;
|
|
100
106
|
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
101
107
|
name: string;
|
|
102
108
|
};
|
|
103
|
-
"no-untracked-read-in-effect-apply": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"signalRead" | "storeProxyRead", [
|
|
109
|
+
readonly "no-untracked-read-in-effect-apply": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"signalRead" | "storeProxyRead", [({
|
|
110
|
+
typescriptEnabled?: boolean;
|
|
111
|
+
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
104
112
|
name: string;
|
|
105
113
|
};
|
|
106
|
-
"prefer-for": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"preferFor", [({
|
|
114
|
+
readonly "prefer-for": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"preferFor", [({
|
|
107
115
|
typescriptEnabled?: boolean;
|
|
108
116
|
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
109
117
|
name: string;
|
|
110
118
|
};
|
|
111
|
-
"prefer-show": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"convertToShow" | "preferShowAnd" | "preferShowTernary", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
119
|
+
readonly "prefer-show": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"convertToShow" | "preferShowAnd" | "preferShowTernary", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
112
120
|
name: string;
|
|
113
121
|
};
|
|
114
|
-
"self-closing-comp": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"dontSelfClose" | "selfClose", [({
|
|
122
|
+
readonly "self-closing-comp": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"dontSelfClose" | "selfClose", [({
|
|
115
123
|
component?: "all" | "none";
|
|
116
124
|
html?: "all" | "none" | "void";
|
|
117
125
|
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
@@ -130,49 +138,53 @@ declare const pluginWithConfigs: {
|
|
|
130
138
|
name: string;
|
|
131
139
|
};
|
|
132
140
|
rules: {
|
|
133
|
-
"components-return-once": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noConditionalReturn" | "noEarlyReturn", [({
|
|
141
|
+
readonly "components-return-once": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noConditionalReturn" | "noEarlyReturn", [({
|
|
134
142
|
typescriptEnabled?: boolean;
|
|
135
143
|
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
136
144
|
name: string;
|
|
137
145
|
};
|
|
138
|
-
"jsx-no-duplicate-props": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noDuplicateChildren", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
146
|
+
readonly "jsx-no-duplicate-props": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noDuplicateChildren", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
139
147
|
name: string;
|
|
140
148
|
};
|
|
141
|
-
"no-destructure": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noDestructure", [({
|
|
149
|
+
readonly "no-destructure": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noDestructure", [({
|
|
142
150
|
typescriptEnabled?: boolean;
|
|
143
151
|
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
144
152
|
name: string;
|
|
145
153
|
};
|
|
146
|
-
"no-leaf-owner-operations": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noCleanup" | "noFlush" | "noPrimitives", [
|
|
154
|
+
readonly "no-leaf-owner-operations": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noCleanup" | "noFlush" | "noPrimitives", [({
|
|
155
|
+
typescriptEnabled?: boolean;
|
|
156
|
+
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
147
157
|
name: string;
|
|
148
158
|
};
|
|
149
|
-
"no-owned-scope-writes": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noActionInOwnedScope" | "noOwnedScopeWrite", [({
|
|
159
|
+
readonly "no-owned-scope-writes": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noActionInOwnedScope" | "noOwnedScopeRefresh" | "noOwnedScopeWrite", [({
|
|
150
160
|
typescriptEnabled?: boolean;
|
|
151
161
|
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
152
162
|
name: string;
|
|
153
163
|
};
|
|
154
|
-
"no-reactive-read-after-await": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"reactiveReadAfterAwait", [({
|
|
164
|
+
readonly "no-reactive-read-after-await": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"reactiveReadAfterAwait", [({
|
|
155
165
|
typescriptEnabled?: boolean;
|
|
156
166
|
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
157
167
|
name: string;
|
|
158
168
|
};
|
|
159
|
-
"no-stale-props-alias": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"stalePropsAlias", [({
|
|
169
|
+
readonly "no-stale-props-alias": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"stalePropsAlias" | "stalePropsRead" | "staleReactiveRead", [({
|
|
160
170
|
typescriptEnabled?: boolean;
|
|
161
171
|
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
162
172
|
name: string;
|
|
163
173
|
};
|
|
164
|
-
"no-untracked-read-in-effect-apply": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"signalRead" | "storeProxyRead", [
|
|
174
|
+
readonly "no-untracked-read-in-effect-apply": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"signalRead" | "storeProxyRead", [({
|
|
175
|
+
typescriptEnabled?: boolean;
|
|
176
|
+
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
165
177
|
name: string;
|
|
166
178
|
};
|
|
167
|
-
"prefer-for": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"preferFor", [({
|
|
179
|
+
readonly "prefer-for": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"preferFor", [({
|
|
168
180
|
typescriptEnabled?: boolean;
|
|
169
181
|
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
170
182
|
name: string;
|
|
171
183
|
};
|
|
172
|
-
"prefer-show": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"convertToShow" | "preferShowAnd" | "preferShowTernary", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
184
|
+
readonly "prefer-show": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"convertToShow" | "preferShowAnd" | "preferShowTernary", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
173
185
|
name: string;
|
|
174
186
|
};
|
|
175
|
-
"self-closing-comp": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"dontSelfClose" | "selfClose", [({
|
|
187
|
+
readonly "self-closing-comp": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"dontSelfClose" | "selfClose", [({
|
|
176
188
|
component?: "all" | "none";
|
|
177
189
|
html?: "all" | "none" | "void";
|
|
178
190
|
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
@@ -191,49 +203,53 @@ declare const pluginWithConfigs: {
|
|
|
191
203
|
name: string;
|
|
192
204
|
};
|
|
193
205
|
rules: {
|
|
194
|
-
"components-return-once": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noConditionalReturn" | "noEarlyReturn", [({
|
|
206
|
+
readonly "components-return-once": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noConditionalReturn" | "noEarlyReturn", [({
|
|
195
207
|
typescriptEnabled?: boolean;
|
|
196
208
|
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
197
209
|
name: string;
|
|
198
210
|
};
|
|
199
|
-
"jsx-no-duplicate-props": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noDuplicateChildren", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
211
|
+
readonly "jsx-no-duplicate-props": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noDuplicateChildren", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
200
212
|
name: string;
|
|
201
213
|
};
|
|
202
|
-
"no-destructure": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noDestructure", [({
|
|
214
|
+
readonly "no-destructure": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noDestructure", [({
|
|
203
215
|
typescriptEnabled?: boolean;
|
|
204
216
|
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
205
217
|
name: string;
|
|
206
218
|
};
|
|
207
|
-
"no-leaf-owner-operations": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noCleanup" | "noFlush" | "noPrimitives", [
|
|
219
|
+
readonly "no-leaf-owner-operations": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noCleanup" | "noFlush" | "noPrimitives", [({
|
|
220
|
+
typescriptEnabled?: boolean;
|
|
221
|
+
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
208
222
|
name: string;
|
|
209
223
|
};
|
|
210
|
-
"no-owned-scope-writes": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noActionInOwnedScope" | "noOwnedScopeWrite", [({
|
|
224
|
+
readonly "no-owned-scope-writes": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noActionInOwnedScope" | "noOwnedScopeRefresh" | "noOwnedScopeWrite", [({
|
|
211
225
|
typescriptEnabled?: boolean;
|
|
212
226
|
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
213
227
|
name: string;
|
|
214
228
|
};
|
|
215
|
-
"no-reactive-read-after-await": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"reactiveReadAfterAwait", [({
|
|
229
|
+
readonly "no-reactive-read-after-await": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"reactiveReadAfterAwait", [({
|
|
216
230
|
typescriptEnabled?: boolean;
|
|
217
231
|
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
218
232
|
name: string;
|
|
219
233
|
};
|
|
220
|
-
"no-stale-props-alias": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"stalePropsAlias", [({
|
|
234
|
+
readonly "no-stale-props-alias": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"stalePropsAlias" | "stalePropsRead" | "staleReactiveRead", [({
|
|
221
235
|
typescriptEnabled?: boolean;
|
|
222
236
|
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
223
237
|
name: string;
|
|
224
238
|
};
|
|
225
|
-
"no-untracked-read-in-effect-apply": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"signalRead" | "storeProxyRead", [
|
|
239
|
+
readonly "no-untracked-read-in-effect-apply": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"signalRead" | "storeProxyRead", [({
|
|
240
|
+
typescriptEnabled?: boolean;
|
|
241
|
+
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
226
242
|
name: string;
|
|
227
243
|
};
|
|
228
|
-
"prefer-for": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"preferFor", [({
|
|
244
|
+
readonly "prefer-for": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"preferFor", [({
|
|
229
245
|
typescriptEnabled?: boolean;
|
|
230
246
|
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
231
247
|
name: string;
|
|
232
248
|
};
|
|
233
|
-
"prefer-show": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"convertToShow" | "preferShowAnd" | "preferShowTernary", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
249
|
+
readonly "prefer-show": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"convertToShow" | "preferShowAnd" | "preferShowTernary", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
234
250
|
name: string;
|
|
235
251
|
};
|
|
236
|
-
"self-closing-comp": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"dontSelfClose" | "selfClose", [({
|
|
252
|
+
readonly "self-closing-comp": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"dontSelfClose" | "selfClose", [({
|
|
237
253
|
component?: "all" | "none";
|
|
238
254
|
html?: "all" | "none" | "void";
|
|
239
255
|
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
@@ -242,9 +258,7 @@ declare const pluginWithConfigs: {
|
|
|
242
258
|
};
|
|
243
259
|
};
|
|
244
260
|
};
|
|
245
|
-
rules:
|
|
246
|
-
[x: string]: SolidRuleConfig;
|
|
247
|
-
};
|
|
261
|
+
rules: SolidRuleMap;
|
|
248
262
|
};
|
|
249
263
|
"flat/recommended-type-checked": {
|
|
250
264
|
name: string;
|
|
@@ -254,49 +268,53 @@ declare const pluginWithConfigs: {
|
|
|
254
268
|
name: string;
|
|
255
269
|
};
|
|
256
270
|
rules: {
|
|
257
|
-
"components-return-once": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noConditionalReturn" | "noEarlyReturn", [({
|
|
271
|
+
readonly "components-return-once": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noConditionalReturn" | "noEarlyReturn", [({
|
|
258
272
|
typescriptEnabled?: boolean;
|
|
259
273
|
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
260
274
|
name: string;
|
|
261
275
|
};
|
|
262
|
-
"jsx-no-duplicate-props": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noDuplicateChildren", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
276
|
+
readonly "jsx-no-duplicate-props": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noDuplicateChildren", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
263
277
|
name: string;
|
|
264
278
|
};
|
|
265
|
-
"no-destructure": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noDestructure", [({
|
|
279
|
+
readonly "no-destructure": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noDestructure", [({
|
|
266
280
|
typescriptEnabled?: boolean;
|
|
267
281
|
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
268
282
|
name: string;
|
|
269
283
|
};
|
|
270
|
-
"no-leaf-owner-operations": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noCleanup" | "noFlush" | "noPrimitives", [
|
|
284
|
+
readonly "no-leaf-owner-operations": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noCleanup" | "noFlush" | "noPrimitives", [({
|
|
285
|
+
typescriptEnabled?: boolean;
|
|
286
|
+
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
271
287
|
name: string;
|
|
272
288
|
};
|
|
273
|
-
"no-owned-scope-writes": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noActionInOwnedScope" | "noOwnedScopeWrite", [({
|
|
289
|
+
readonly "no-owned-scope-writes": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noActionInOwnedScope" | "noOwnedScopeRefresh" | "noOwnedScopeWrite", [({
|
|
274
290
|
typescriptEnabled?: boolean;
|
|
275
291
|
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
276
292
|
name: string;
|
|
277
293
|
};
|
|
278
|
-
"no-reactive-read-after-await": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"reactiveReadAfterAwait", [({
|
|
294
|
+
readonly "no-reactive-read-after-await": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"reactiveReadAfterAwait", [({
|
|
279
295
|
typescriptEnabled?: boolean;
|
|
280
296
|
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
281
297
|
name: string;
|
|
282
298
|
};
|
|
283
|
-
"no-stale-props-alias": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"stalePropsAlias", [({
|
|
299
|
+
readonly "no-stale-props-alias": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"stalePropsAlias" | "stalePropsRead" | "staleReactiveRead", [({
|
|
284
300
|
typescriptEnabled?: boolean;
|
|
285
301
|
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
286
302
|
name: string;
|
|
287
303
|
};
|
|
288
|
-
"no-untracked-read-in-effect-apply": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"signalRead" | "storeProxyRead", [
|
|
304
|
+
readonly "no-untracked-read-in-effect-apply": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"signalRead" | "storeProxyRead", [({
|
|
305
|
+
typescriptEnabled?: boolean;
|
|
306
|
+
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
289
307
|
name: string;
|
|
290
308
|
};
|
|
291
|
-
"prefer-for": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"preferFor", [({
|
|
309
|
+
readonly "prefer-for": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"preferFor", [({
|
|
292
310
|
typescriptEnabled?: boolean;
|
|
293
311
|
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
294
312
|
name: string;
|
|
295
313
|
};
|
|
296
|
-
"prefer-show": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"convertToShow" | "preferShowAnd" | "preferShowTernary", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
314
|
+
readonly "prefer-show": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"convertToShow" | "preferShowAnd" | "preferShowTernary", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
297
315
|
name: string;
|
|
298
316
|
};
|
|
299
|
-
"self-closing-comp": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"dontSelfClose" | "selfClose", [({
|
|
317
|
+
readonly "self-closing-comp": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"dontSelfClose" | "selfClose", [({
|
|
300
318
|
component?: "all" | "none";
|
|
301
319
|
html?: "all" | "none" | "void";
|
|
302
320
|
} | undefined)?], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
|
|
@@ -305,9 +323,7 @@ declare const pluginWithConfigs: {
|
|
|
305
323
|
};
|
|
306
324
|
};
|
|
307
325
|
};
|
|
308
|
-
rules:
|
|
309
|
-
[x: string]: SolidRuleConfig;
|
|
310
|
-
};
|
|
326
|
+
rules: SolidRuleMap;
|
|
311
327
|
};
|
|
312
328
|
};
|
|
313
329
|
};
|