eslint-plugin-effector 0.17.0 → 0.18.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/dist/index.d.cts CHANGED
@@ -1,5 +1,40 @@
1
- import { TSESLint } from "@typescript-eslint/utils";
1
+ import * as _$_typescript_eslint_utils_ts_eslint0 from "@typescript-eslint/utils/ts-eslint";
2
+ import { Linter } from "eslint";
2
3
 
4
+ //#region src/ruleset.d.ts
5
+ declare const ruleset: {
6
+ recommended: {
7
+ "effector/enforce-effect-naming-convention": "error";
8
+ "effector/enforce-store-naming-convention": "error";
9
+ "effector/keep-options-order": "warn";
10
+ "effector/no-ambiguity-target": "warn";
11
+ "effector/no-duplicate-on": "error";
12
+ "effector/no-forward": "error";
13
+ "effector/no-getState": "error";
14
+ "effector/no-guard": "error";
15
+ "effector/no-unnecessary-combination": "warn";
16
+ "effector/no-unnecessary-duplication": "warn";
17
+ "effector/no-useless-methods": "error";
18
+ "effector/no-watch": "warn";
19
+ };
20
+ patronum: {
21
+ "effector/no-patronum-debug": "warn";
22
+ };
23
+ scope: {
24
+ "effector/require-pickup-in-persist": "error";
25
+ "effector/strict-effect-handlers": "error";
26
+ };
27
+ react: {
28
+ "effector/enforce-gate-naming-convention": "error";
29
+ "effector/mandatory-scope-binding": "error";
30
+ "effector/no-units-spawn-in-render": "error";
31
+ "effector/prefer-useUnit": "error";
32
+ };
33
+ future: {
34
+ "effector/no-domain-unit-creators": "warn";
35
+ };
36
+ };
37
+ //#endregion
3
38
  //#region src/index.d.ts
4
39
  declare const base: {
5
40
  meta: {
@@ -8,116 +43,79 @@ declare const base: {
8
43
  namespace: string;
9
44
  };
10
45
  rules: {
11
- "enforce-effect-naming-convention": TSESLint.RuleModule<"invalid" | "rename", [], unknown, TSESLint.RuleListener> & {
46
+ "enforce-effect-naming-convention": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"invalid" | "rename", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
12
47
  name: string;
13
48
  };
14
- "enforce-gate-naming-convention": TSESLint.RuleModule<"invalid" | "rename", [], unknown, TSESLint.RuleListener> & {
49
+ "enforce-gate-naming-convention": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"invalid" | "rename", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
15
50
  name: string;
16
51
  };
17
- "enforce-store-naming-convention": TSESLint.RuleModule<"invalid" | "rename", [{
52
+ "enforce-store-naming-convention": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"invalid" | "rename", [{
18
53
  mode: "prefix" | "postfix";
19
- }], unknown, TSESLint.RuleListener> & {
54
+ }], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
20
55
  name: string;
21
56
  };
22
- "keep-options-order": TSESLint.RuleModule<"invalidOrder" | "changeOrder", [], unknown, TSESLint.RuleListener> & {
57
+ "keep-options-order": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"invalidOrder" | "changeOrder", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
23
58
  name: string;
24
59
  };
25
- "mandatory-scope-binding": TSESLint.RuleModule<"useUnitNeeded", [], unknown, TSESLint.RuleListener> & {
60
+ "mandatory-scope-binding": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"useUnitNeeded", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
26
61
  name: string;
27
62
  };
28
- "no-ambiguity-target": TSESLint.RuleModule<"ambiguous", [], unknown, TSESLint.RuleListener> & {
63
+ "no-ambiguity-target": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"ambiguous", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
29
64
  name: string;
30
65
  };
31
- "no-domain-unit-creators": TSESLint.RuleModule<"avoid", [], unknown, TSESLint.RuleListener> & {
66
+ "no-domain-unit-creators": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"avoid", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
32
67
  name: string;
33
68
  };
34
- "no-duplicate-clock-or-source-array-values": TSESLint.RuleModule<"duplicate" | "remove", [], unknown, TSESLint.RuleListener> & {
69
+ "no-duplicate-clock-or-source-array-values": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"duplicate" | "remove", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
35
70
  name: string;
36
71
  };
37
- "no-duplicate-on": TSESLint.RuleModule<"duplicate", [], unknown, TSESLint.RuleListener> & {
72
+ "no-duplicate-on": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"duplicate", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
38
73
  name: string;
39
74
  };
40
- "no-forward": TSESLint.RuleModule<"noForward" | "replaceWithSample", [], unknown, TSESLint.RuleListener> & {
75
+ "no-forward": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noForward" | "replaceWithSample", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
41
76
  name: string;
42
77
  };
43
- "no-getState": TSESLint.RuleModule<"named" | "anonymous", [], unknown, TSESLint.RuleListener> & {
78
+ "no-getState": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"named" | "anonymous", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
44
79
  name: string;
45
80
  };
46
- "no-guard": TSESLint.RuleModule<"replaceWithSample" | "noGuard", [], unknown, TSESLint.RuleListener> & {
81
+ "no-guard": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"replaceWithSample" | "noGuard", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
47
82
  name: string;
48
83
  };
49
- "no-patronum-debug": TSESLint.RuleModule<"remove" | "unexpected", [], unknown, TSESLint.RuleListener> & {
84
+ "no-patronum-debug": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"remove" | "unexpected", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
50
85
  name: string;
51
86
  };
52
- "no-unnecessary-combination": TSESLint.RuleModule<"unnecessary", [], unknown, TSESLint.RuleListener> & {
87
+ "no-units-spawn-in-render": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noFactoryInRender" | "noOperatorInRender" | "noCustomFactoryInRender", [{
88
+ detectCustomFactories: true | false | {
89
+ allowlist: string[];
90
+ };
91
+ }], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
53
92
  name: string;
54
93
  };
55
- "no-unnecessary-duplication": TSESLint.RuleModule<"duplicate" | "removeClock" | "removeSource", [], unknown, TSESLint.RuleListener> & {
94
+ "no-unnecessary-combination": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"unnecessary", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
56
95
  name: string;
57
96
  };
58
- "no-useless-methods": TSESLint.RuleModule<"uselessMethod", [], unknown, TSESLint.RuleListener> & {
97
+ "no-unnecessary-duplication": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"duplicate" | "removeClock" | "removeSource", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
59
98
  name: string;
60
99
  };
61
- "no-watch": TSESLint.RuleModule<"restricted", [], unknown, TSESLint.RuleListener> & {
100
+ "no-useless-methods": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"uselessMethod", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
62
101
  name: string;
63
102
  };
64
- "prefer-useUnit": TSESLint.RuleModule<"useUseUnit", [], unknown, TSESLint.RuleListener> & {
103
+ "no-watch": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"restricted", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
65
104
  name: string;
66
105
  };
67
- "require-pickup-in-persist": TSESLint.RuleModule<"missing", [], unknown, TSESLint.RuleListener> & {
106
+ "prefer-useUnit": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"useUseUnit", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
68
107
  name: string;
69
108
  };
70
- "strict-effect-handlers": TSESLint.RuleModule<"mixed", [], unknown, TSESLint.RuleListener> & {
109
+ "require-pickup-in-persist": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"missing", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
71
110
  name: string;
72
111
  };
73
- };
74
- };
75
- declare const legacyConfigs: {
76
- recommended: {
77
- rules: {
78
- "effector/enforce-effect-naming-convention": "error";
79
- "effector/enforce-store-naming-convention": "error";
80
- "effector/keep-options-order": "warn";
81
- "effector/no-ambiguity-target": "warn";
82
- "effector/no-duplicate-on": "error";
83
- "effector/no-forward": "error";
84
- "effector/no-getState": "error";
85
- "effector/no-guard": "error";
86
- "effector/no-unnecessary-combination": "warn";
87
- "effector/no-unnecessary-duplication": "warn";
88
- "effector/no-useless-methods": "error";
89
- "effector/no-watch": "warn";
90
- };
91
- };
92
- scope: {
93
- rules: {
94
- "effector/require-pickup-in-persist": "error";
95
- "effector/strict-effect-handlers": "error";
96
- };
97
- };
98
- react: {
99
- rules: {
100
- "effector/enforce-gate-naming-convention": "error";
101
- "effector/mandatory-scope-binding": "error";
102
- "effector/prefer-useUnit": "error";
103
- };
104
- };
105
- future: {
106
- rules: {
107
- "effector/no-domain-unit-creators": "warn";
108
- };
109
- };
110
- patronum: {
111
- rules: {
112
- "effector/no-patronum-debug": "warn";
112
+ "strict-effect-handlers": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"mixed", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
113
+ name: string;
113
114
  };
114
115
  };
115
116
  };
116
- declare const flatConfigs: {
117
+ declare const legacyConfigs: {
117
118
  recommended: {
118
- plugins: {
119
- effector: TSESLint.FlatConfig.Plugin;
120
- };
121
119
  rules: {
122
120
  "effector/enforce-effect-naming-convention": "error";
123
121
  "effector/enforce-store-naming-convention": "error";
@@ -134,44 +132,33 @@ declare const flatConfigs: {
134
132
  };
135
133
  };
136
134
  scope: {
137
- plugins: {
138
- effector: TSESLint.FlatConfig.Plugin;
139
- };
140
135
  rules: {
141
136
  "effector/require-pickup-in-persist": "error";
142
137
  "effector/strict-effect-handlers": "error";
143
138
  };
144
139
  };
145
140
  react: {
146
- plugins: {
147
- effector: TSESLint.FlatConfig.Plugin;
148
- };
149
141
  rules: {
150
142
  "effector/enforce-gate-naming-convention": "error";
151
143
  "effector/mandatory-scope-binding": "error";
144
+ "effector/no-units-spawn-in-render": "error";
152
145
  "effector/prefer-useUnit": "error";
153
146
  };
154
147
  };
155
148
  future: {
156
- plugins: {
157
- effector: TSESLint.FlatConfig.Plugin;
158
- };
159
149
  rules: {
160
150
  "effector/no-domain-unit-creators": "warn";
161
151
  };
162
152
  };
163
153
  patronum: {
164
- plugins: {
165
- effector: TSESLint.FlatConfig.Plugin;
166
- };
167
154
  rules: {
168
155
  "effector/no-patronum-debug": "warn";
169
156
  };
170
157
  };
171
158
  };
159
+ declare const flatConfigs: Record<keyof typeof ruleset, Linter.Config>;
172
160
  declare const plugin: {
173
- flatConfigs: typeof flatConfigs;
174
- /** @deprecated Migrate to modern ESLint v9 Flat Config format */
161
+ flatConfigs: typeof flatConfigs; /** @deprecated Migrate to modern ESLint v9+ Flat Config format */
175
162
  configs: typeof legacyConfigs;
176
163
  } & typeof base;
177
164
  export = plugin;
package/dist/index.d.mts CHANGED
@@ -1,5 +1,40 @@
1
- import { TSESLint } from "@typescript-eslint/utils";
1
+ import * as _$_typescript_eslint_utils_ts_eslint0 from "@typescript-eslint/utils/ts-eslint";
2
+ import { Linter } from "eslint";
2
3
 
4
+ //#region src/ruleset.d.ts
5
+ declare const ruleset: {
6
+ recommended: {
7
+ "effector/enforce-effect-naming-convention": "error";
8
+ "effector/enforce-store-naming-convention": "error";
9
+ "effector/keep-options-order": "warn";
10
+ "effector/no-ambiguity-target": "warn";
11
+ "effector/no-duplicate-on": "error";
12
+ "effector/no-forward": "error";
13
+ "effector/no-getState": "error";
14
+ "effector/no-guard": "error";
15
+ "effector/no-unnecessary-combination": "warn";
16
+ "effector/no-unnecessary-duplication": "warn";
17
+ "effector/no-useless-methods": "error";
18
+ "effector/no-watch": "warn";
19
+ };
20
+ patronum: {
21
+ "effector/no-patronum-debug": "warn";
22
+ };
23
+ scope: {
24
+ "effector/require-pickup-in-persist": "error";
25
+ "effector/strict-effect-handlers": "error";
26
+ };
27
+ react: {
28
+ "effector/enforce-gate-naming-convention": "error";
29
+ "effector/mandatory-scope-binding": "error";
30
+ "effector/no-units-spawn-in-render": "error";
31
+ "effector/prefer-useUnit": "error";
32
+ };
33
+ future: {
34
+ "effector/no-domain-unit-creators": "warn";
35
+ };
36
+ };
37
+ //#endregion
3
38
  //#region src/index.d.ts
4
39
  declare const base: {
5
40
  meta: {
@@ -8,116 +43,79 @@ declare const base: {
8
43
  namespace: string;
9
44
  };
10
45
  rules: {
11
- "enforce-effect-naming-convention": TSESLint.RuleModule<"invalid" | "rename", [], unknown, TSESLint.RuleListener> & {
46
+ "enforce-effect-naming-convention": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"invalid" | "rename", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
12
47
  name: string;
13
48
  };
14
- "enforce-gate-naming-convention": TSESLint.RuleModule<"invalid" | "rename", [], unknown, TSESLint.RuleListener> & {
49
+ "enforce-gate-naming-convention": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"invalid" | "rename", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
15
50
  name: string;
16
51
  };
17
- "enforce-store-naming-convention": TSESLint.RuleModule<"invalid" | "rename", [{
52
+ "enforce-store-naming-convention": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"invalid" | "rename", [{
18
53
  mode: "prefix" | "postfix";
19
- }], unknown, TSESLint.RuleListener> & {
54
+ }], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
20
55
  name: string;
21
56
  };
22
- "keep-options-order": TSESLint.RuleModule<"invalidOrder" | "changeOrder", [], unknown, TSESLint.RuleListener> & {
57
+ "keep-options-order": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"invalidOrder" | "changeOrder", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
23
58
  name: string;
24
59
  };
25
- "mandatory-scope-binding": TSESLint.RuleModule<"useUnitNeeded", [], unknown, TSESLint.RuleListener> & {
60
+ "mandatory-scope-binding": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"useUnitNeeded", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
26
61
  name: string;
27
62
  };
28
- "no-ambiguity-target": TSESLint.RuleModule<"ambiguous", [], unknown, TSESLint.RuleListener> & {
63
+ "no-ambiguity-target": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"ambiguous", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
29
64
  name: string;
30
65
  };
31
- "no-domain-unit-creators": TSESLint.RuleModule<"avoid", [], unknown, TSESLint.RuleListener> & {
66
+ "no-domain-unit-creators": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"avoid", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
32
67
  name: string;
33
68
  };
34
- "no-duplicate-clock-or-source-array-values": TSESLint.RuleModule<"duplicate" | "remove", [], unknown, TSESLint.RuleListener> & {
69
+ "no-duplicate-clock-or-source-array-values": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"duplicate" | "remove", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
35
70
  name: string;
36
71
  };
37
- "no-duplicate-on": TSESLint.RuleModule<"duplicate", [], unknown, TSESLint.RuleListener> & {
72
+ "no-duplicate-on": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"duplicate", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
38
73
  name: string;
39
74
  };
40
- "no-forward": TSESLint.RuleModule<"noForward" | "replaceWithSample", [], unknown, TSESLint.RuleListener> & {
75
+ "no-forward": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noForward" | "replaceWithSample", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
41
76
  name: string;
42
77
  };
43
- "no-getState": TSESLint.RuleModule<"named" | "anonymous", [], unknown, TSESLint.RuleListener> & {
78
+ "no-getState": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"named" | "anonymous", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
44
79
  name: string;
45
80
  };
46
- "no-guard": TSESLint.RuleModule<"replaceWithSample" | "noGuard", [], unknown, TSESLint.RuleListener> & {
81
+ "no-guard": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"replaceWithSample" | "noGuard", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
47
82
  name: string;
48
83
  };
49
- "no-patronum-debug": TSESLint.RuleModule<"remove" | "unexpected", [], unknown, TSESLint.RuleListener> & {
84
+ "no-patronum-debug": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"remove" | "unexpected", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
50
85
  name: string;
51
86
  };
52
- "no-unnecessary-combination": TSESLint.RuleModule<"unnecessary", [], unknown, TSESLint.RuleListener> & {
87
+ "no-units-spawn-in-render": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"noFactoryInRender" | "noOperatorInRender" | "noCustomFactoryInRender", [{
88
+ detectCustomFactories: true | false | {
89
+ allowlist: string[];
90
+ };
91
+ }], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
53
92
  name: string;
54
93
  };
55
- "no-unnecessary-duplication": TSESLint.RuleModule<"duplicate" | "removeClock" | "removeSource", [], unknown, TSESLint.RuleListener> & {
94
+ "no-unnecessary-combination": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"unnecessary", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
56
95
  name: string;
57
96
  };
58
- "no-useless-methods": TSESLint.RuleModule<"uselessMethod", [], unknown, TSESLint.RuleListener> & {
97
+ "no-unnecessary-duplication": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"duplicate" | "removeClock" | "removeSource", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
59
98
  name: string;
60
99
  };
61
- "no-watch": TSESLint.RuleModule<"restricted", [], unknown, TSESLint.RuleListener> & {
100
+ "no-useless-methods": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"uselessMethod", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
62
101
  name: string;
63
102
  };
64
- "prefer-useUnit": TSESLint.RuleModule<"useUseUnit", [], unknown, TSESLint.RuleListener> & {
103
+ "no-watch": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"restricted", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
65
104
  name: string;
66
105
  };
67
- "require-pickup-in-persist": TSESLint.RuleModule<"missing", [], unknown, TSESLint.RuleListener> & {
106
+ "prefer-useUnit": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"useUseUnit", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
68
107
  name: string;
69
108
  };
70
- "strict-effect-handlers": TSESLint.RuleModule<"mixed", [], unknown, TSESLint.RuleListener> & {
109
+ "require-pickup-in-persist": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"missing", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
71
110
  name: string;
72
111
  };
73
- };
74
- };
75
- declare const legacyConfigs: {
76
- recommended: {
77
- rules: {
78
- "effector/enforce-effect-naming-convention": "error";
79
- "effector/enforce-store-naming-convention": "error";
80
- "effector/keep-options-order": "warn";
81
- "effector/no-ambiguity-target": "warn";
82
- "effector/no-duplicate-on": "error";
83
- "effector/no-forward": "error";
84
- "effector/no-getState": "error";
85
- "effector/no-guard": "error";
86
- "effector/no-unnecessary-combination": "warn";
87
- "effector/no-unnecessary-duplication": "warn";
88
- "effector/no-useless-methods": "error";
89
- "effector/no-watch": "warn";
90
- };
91
- };
92
- scope: {
93
- rules: {
94
- "effector/require-pickup-in-persist": "error";
95
- "effector/strict-effect-handlers": "error";
96
- };
97
- };
98
- react: {
99
- rules: {
100
- "effector/enforce-gate-naming-convention": "error";
101
- "effector/mandatory-scope-binding": "error";
102
- "effector/prefer-useUnit": "error";
103
- };
104
- };
105
- future: {
106
- rules: {
107
- "effector/no-domain-unit-creators": "warn";
108
- };
109
- };
110
- patronum: {
111
- rules: {
112
- "effector/no-patronum-debug": "warn";
112
+ "strict-effect-handlers": _$_typescript_eslint_utils_ts_eslint0.RuleModule<"mixed", [], unknown, _$_typescript_eslint_utils_ts_eslint0.RuleListener> & {
113
+ name: string;
113
114
  };
114
115
  };
115
116
  };
116
- declare const flatConfigs: {
117
+ declare const legacyConfigs: {
117
118
  recommended: {
118
- plugins: {
119
- effector: TSESLint.FlatConfig.Plugin;
120
- };
121
119
  rules: {
122
120
  "effector/enforce-effect-naming-convention": "error";
123
121
  "effector/enforce-store-naming-convention": "error";
@@ -134,44 +132,33 @@ declare const flatConfigs: {
134
132
  };
135
133
  };
136
134
  scope: {
137
- plugins: {
138
- effector: TSESLint.FlatConfig.Plugin;
139
- };
140
135
  rules: {
141
136
  "effector/require-pickup-in-persist": "error";
142
137
  "effector/strict-effect-handlers": "error";
143
138
  };
144
139
  };
145
140
  react: {
146
- plugins: {
147
- effector: TSESLint.FlatConfig.Plugin;
148
- };
149
141
  rules: {
150
142
  "effector/enforce-gate-naming-convention": "error";
151
143
  "effector/mandatory-scope-binding": "error";
144
+ "effector/no-units-spawn-in-render": "error";
152
145
  "effector/prefer-useUnit": "error";
153
146
  };
154
147
  };
155
148
  future: {
156
- plugins: {
157
- effector: TSESLint.FlatConfig.Plugin;
158
- };
159
149
  rules: {
160
150
  "effector/no-domain-unit-creators": "warn";
161
151
  };
162
152
  };
163
153
  patronum: {
164
- plugins: {
165
- effector: TSESLint.FlatConfig.Plugin;
166
- };
167
154
  rules: {
168
155
  "effector/no-patronum-debug": "warn";
169
156
  };
170
157
  };
171
158
  };
159
+ declare const flatConfigs: Record<keyof typeof ruleset, Linter.Config>;
172
160
  declare const plugin: {
173
- flatConfigs: typeof flatConfigs;
174
- /** @deprecated Migrate to modern ESLint v9 Flat Config format */
161
+ flatConfigs: typeof flatConfigs; /** @deprecated Migrate to modern ESLint v9+ Flat Config format */
175
162
  configs: typeof legacyConfigs;
176
163
  } & typeof base;
177
164
  //#endregion