@pawover/eslint-rules 0.0.0-alpha.3 → 0.0.0-alpha.4

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.
@@ -1,14 +1,14 @@
1
1
  declare const _default: {
2
- "antfu/consistent-chaining": number;
3
- "antfu/consistent-list-newline": number;
4
- "antfu/curly": number;
5
- "antfu/if-newline": number;
6
- "antfu/import-dedupe": number;
7
- "antfu/indent-unindent": number;
8
- "antfu/no-import-dist": number;
9
- "antfu/no-import-node-modules-by-path": number;
10
- "antfu/no-top-level-await": number;
11
- "antfu/no-ts-export-equal": number;
12
- "antfu/top-level-function": number;
2
+ readonly "antfu/consistent-chaining": 2;
3
+ readonly "antfu/consistent-list-newline": 2;
4
+ readonly "antfu/curly": 2;
5
+ readonly "antfu/if-newline": 2;
6
+ readonly "antfu/import-dedupe": 2;
7
+ readonly "antfu/indent-unindent": 2;
8
+ readonly "antfu/no-import-dist": 2;
9
+ readonly "antfu/no-import-node-modules-by-path": 2;
10
+ readonly "antfu/no-top-level-await": 2;
11
+ readonly "antfu/no-ts-export-equal": 2;
12
+ readonly "antfu/top-level-function": 2;
13
13
  };
14
14
  export default _default;
@@ -1,232 +1,232 @@
1
1
  declare const _default: {
2
- "array-callback-return": number;
3
- "constructor-super": number;
4
- "for-direction": number;
5
- "getter-return": number;
6
- "no-async-promise-executor": number;
7
- "no-await-in-loop": number;
8
- "no-class-assign": number;
9
- "no-compare-neg-zero": number;
10
- "no-cond-assign": number;
11
- "no-const-assign": number;
12
- "no-constant-binary-expression": number;
13
- "no-constant-condition": number;
14
- "no-constructor-return": number;
15
- "no-control-regex": number;
16
- "no-debugger": number;
17
- "no-dupe-args": number;
18
- "no-dupe-class-members": number;
19
- "no-dupe-else-if": number;
20
- "no-dupe-keys": number;
21
- "no-duplicate-case": number;
22
- "no-duplicate-imports": number;
23
- "no-empty-character-class": number;
24
- "no-empty-pattern": number;
25
- "no-ex-assign": number;
26
- "no-fallthrough": number;
27
- "no-func-assign": number;
28
- "no-import-assign": number;
29
- "no-inner-declarations": number;
30
- "no-invalid-regexp": number;
31
- "no-irregular-whitespace": (number | {
32
- skipStrings: boolean;
33
- skipComments: boolean;
34
- skipRegExps: boolean;
35
- skipTemplates: boolean;
36
- skipJSXText: boolean;
37
- })[];
38
- "no-loss-of-precision": number;
39
- "no-misleading-character-class": number;
40
- "no-new-native-nonconstructor": number;
41
- "no-obj-calls": number;
42
- "no-promise-executor-return": number;
43
- "no-prototype-builtins": number;
44
- "no-self-assign": number;
45
- "no-self-compare": number;
46
- "no-setter-return": number;
47
- "no-sparse-arrays": number;
48
- "no-template-curly-in-string": number;
49
- "no-this-before-super": number;
50
- "no-undef": number;
51
- "no-unexpected-multiline": number;
52
- "no-unmodified-loop-condition": number;
53
- "no-unreachable": number;
54
- "no-unreachable-loop": number;
55
- "no-unsafe-finally": number;
56
- "no-unsafe-negation": number;
57
- "no-unsafe-optional-chaining": number;
58
- "no-unused-private-class-members": number;
59
- "no-unused-vars": (number | {
60
- vars: string;
61
- args: string;
62
- caughtErrors: string;
63
- varsIgnorePattern: string;
64
- destructuredArrayIgnorePattern: string;
65
- })[];
66
- "no-use-before-define": (number | {
67
- functions: boolean;
68
- classes: boolean;
69
- variables: boolean;
70
- allowNamedExports: boolean;
71
- })[];
72
- "no-useless-assignment": number;
73
- "no-useless-backreference": number;
74
- "require-atomic-updates": (number | {
75
- allowProperties: boolean;
76
- })[];
77
- "use-isnan": number;
78
- "valid-typeof": number;
79
- "accessor-pairs": (number | {
80
- setWithoutGet: boolean;
81
- getWithoutSet: boolean;
82
- })[];
83
- "arrow-body-style": number;
84
- "block-scoped-var": number;
85
- camelcase: number;
86
- "capitalized-comments": number;
87
- "class-methods-use-this": number;
88
- complexity: number;
89
- "consistent-return": number;
90
- "consistent-this": number;
91
- curly: number;
92
- "default-case": number;
93
- "default-case-last": number;
94
- "default-param-last": number;
95
- "dot-notation": number;
96
- eqeqeq: number;
97
- "func-name-matching": number;
98
- "func-names": number;
99
- "func-style": number;
100
- "grouped-accessor-pairs": (string | number)[];
101
- "guard-for-in": number;
102
- "id-denylist": number;
103
- "id-length": number;
104
- "id-match": number;
105
- "init-declarations": number;
106
- "logical-assignment-operators": number;
107
- "max-classes-per-file": number;
108
- "max-depth": number[];
109
- "max-lines": number;
110
- "max-lines-per-function": number;
111
- "max-nested-callbacks": number;
112
- "max-params": number;
113
- "max-statements": number;
114
- "new-cap": (number | {
115
- capIsNew: boolean;
116
- })[];
117
- "no-alert": number;
118
- "no-array-constructor": number;
119
- "no-bitwise": number;
120
- "no-caller": number;
121
- "no-case-declarations": number;
122
- "no-console": number;
123
- "no-continue": number;
124
- "no-delete-var": number;
125
- "no-div-regex": number;
126
- "no-else-return": number;
127
- "no-empty": (number | {
128
- allowEmptyCatch: boolean;
129
- })[];
130
- "no-empty-function": number;
131
- "no-empty-static-block": number;
132
- "no-eq-null": number;
133
- "no-eval": number;
134
- "no-extend-native": number;
135
- "no-extra-bind": number;
136
- "no-extra-boolean-cast": number;
137
- "no-extra-label": number;
138
- "no-global-assign": number;
139
- "no-implicit-coercion": (number | {
140
- allow: string[];
141
- })[];
142
- "no-implicit-globals": number;
143
- "no-implied-eval": number;
144
- "no-inline-comments": number;
145
- "no-invalid-this": number;
146
- "no-iterator": number;
147
- "no-label-var": number;
148
- "no-labels": number;
149
- "no-lone-blocks": number;
150
- "no-lonely-if": number;
151
- "no-loop-func": number;
152
- "no-magic-numbers": number;
153
- "no-multi-assign": number;
154
- "no-multi-str": number;
155
- "no-negated-condition": number;
156
- "no-nested-ternary": number;
157
- "no-new": number;
158
- "no-new-func": number;
159
- "no-new-wrappers": number;
160
- "no-nonoctal-decimal-escape": number;
161
- "no-object-constructor": number;
162
- "no-octal": number;
163
- "no-octal-escape": number;
164
- "no-param-reassign": number;
165
- "no-plusplus": number;
166
- "no-proto": number;
167
- "no-redeclare": number;
168
- "no-regex-spaces": number;
169
- "no-restricted-exports": number;
170
- "no-restricted-globals": number;
171
- "no-restricted-imports": number;
172
- "no-restricted-properties": number;
173
- "no-restricted-syntax": number;
174
- "no-return-assign": (string | number)[];
175
- "no-script-url": number;
176
- "no-sequences": number;
177
- "no-shadow": number;
178
- "no-shadow-restricted-names": number;
179
- "no-ternary": number;
180
- "no-throw-literal": number;
181
- "no-undef-init": number;
182
- "no-undefined": number;
183
- "no-underscore-dangle": number;
184
- "no-unneeded-ternary": number;
185
- "no-unused-expressions": (number | {
186
- ignoreDirectives: boolean;
187
- allowShortCircuit: boolean;
188
- })[];
189
- "no-unused-labels": number;
190
- "no-useless-call": number;
191
- "no-useless-catch": number;
192
- "no-useless-computed-key": number;
193
- "no-useless-concat": number;
194
- "no-useless-constructor": number;
195
- "no-useless-escape": number;
196
- "no-useless-rename": number;
197
- "no-useless-return": number;
198
- "no-var": number;
199
- "no-void": number;
200
- "no-warning-comments": number;
201
- "no-with": number;
202
- "object-shorthand": number;
203
- "one-var": (string | number)[];
204
- "operator-assignment": number;
205
- "prefer-arrow-callback": number;
206
- "prefer-const": number;
207
- "prefer-destructuring": number;
208
- "prefer-exponentiation-operator": number;
209
- "prefer-named-capture-group": number;
210
- "prefer-numeric-literals": number;
211
- "prefer-object-has-own": number;
212
- "prefer-object-spread": number;
213
- "prefer-promise-reject-errors": number;
214
- "prefer-regex-literals": number;
215
- "prefer-rest-params": number;
216
- "prefer-spread": number;
217
- "prefer-template": number;
218
- radix: number;
219
- "require-await": number;
220
- "require-unicode-regexp": number;
221
- "require-yield": number;
222
- "sort-imports": number;
223
- "sort-keys": number;
224
- "sort-vars": number;
225
- strict: number;
226
- "symbol-description": number;
227
- "vars-on-top": number;
228
- yoda: (string | number | {
229
- onlyEquality: boolean;
230
- })[];
2
+ readonly "array-callback-return": 2;
3
+ readonly "constructor-super": 2;
4
+ readonly "for-direction": 2;
5
+ readonly "getter-return": 2;
6
+ readonly "no-async-promise-executor": 2;
7
+ readonly "no-await-in-loop": 0;
8
+ readonly "no-class-assign": 2;
9
+ readonly "no-compare-neg-zero": 2;
10
+ readonly "no-cond-assign": 2;
11
+ readonly "no-const-assign": 2;
12
+ readonly "no-constant-binary-expression": 2;
13
+ readonly "no-constant-condition": 2;
14
+ readonly "no-constructor-return": 2;
15
+ readonly "no-control-regex": 2;
16
+ readonly "no-debugger": 2;
17
+ readonly "no-dupe-args": 2;
18
+ readonly "no-dupe-class-members": 2;
19
+ readonly "no-dupe-else-if": 2;
20
+ readonly "no-dupe-keys": 2;
21
+ readonly "no-duplicate-case": 2;
22
+ readonly "no-duplicate-imports": 2;
23
+ readonly "no-empty-character-class": 2;
24
+ readonly "no-empty-pattern": 2;
25
+ readonly "no-ex-assign": 2;
26
+ readonly "no-fallthrough": 2;
27
+ readonly "no-func-assign": 2;
28
+ readonly "no-import-assign": 2;
29
+ readonly "no-inner-declarations": 2;
30
+ readonly "no-invalid-regexp": 2;
31
+ readonly "no-irregular-whitespace": readonly [2, {
32
+ readonly skipStrings: true;
33
+ readonly skipComments: false;
34
+ readonly skipRegExps: true;
35
+ readonly skipTemplates: true;
36
+ readonly skipJSXText: true;
37
+ }];
38
+ readonly "no-loss-of-precision": 2;
39
+ readonly "no-misleading-character-class": 2;
40
+ readonly "no-new-native-nonconstructor": 2;
41
+ readonly "no-obj-calls": 2;
42
+ readonly "no-promise-executor-return": 2;
43
+ readonly "no-prototype-builtins": 2;
44
+ readonly "no-self-assign": 2;
45
+ readonly "no-self-compare": 2;
46
+ readonly "no-setter-return": 2;
47
+ readonly "no-sparse-arrays": 2;
48
+ readonly "no-template-curly-in-string": 2;
49
+ readonly "no-this-before-super": 2;
50
+ readonly "no-undef": 0;
51
+ readonly "no-unexpected-multiline": 2;
52
+ readonly "no-unmodified-loop-condition": 2;
53
+ readonly "no-unreachable": 2;
54
+ readonly "no-unreachable-loop": 2;
55
+ readonly "no-unsafe-finally": 2;
56
+ readonly "no-unsafe-negation": 2;
57
+ readonly "no-unsafe-optional-chaining": 2;
58
+ readonly "no-unused-private-class-members": 2;
59
+ readonly "no-unused-vars": readonly [2, {
60
+ readonly vars: "local";
61
+ readonly args: "none";
62
+ readonly caughtErrors: "none";
63
+ readonly varsIgnorePattern: "^_";
64
+ readonly destructuredArrayIgnorePattern: "^_";
65
+ }];
66
+ readonly "no-use-before-define": readonly [2, {
67
+ readonly functions: false;
68
+ readonly classes: false;
69
+ readonly variables: false;
70
+ readonly allowNamedExports: false;
71
+ }];
72
+ readonly "no-useless-assignment": 0;
73
+ readonly "no-useless-backreference": 2;
74
+ readonly "require-atomic-updates": readonly [2, {
75
+ readonly allowProperties: true;
76
+ }];
77
+ readonly "use-isnan": 2;
78
+ readonly "valid-typeof": 2;
79
+ readonly "accessor-pairs": readonly [2, {
80
+ readonly setWithoutGet: true;
81
+ readonly getWithoutSet: false;
82
+ }];
83
+ readonly "arrow-body-style": 0;
84
+ readonly "block-scoped-var": 0;
85
+ readonly camelcase: 0;
86
+ readonly "capitalized-comments": 0;
87
+ readonly "class-methods-use-this": 0;
88
+ readonly complexity: 0;
89
+ readonly "consistent-return": 0;
90
+ readonly "consistent-this": 0;
91
+ readonly curly: 2;
92
+ readonly "default-case": 2;
93
+ readonly "default-case-last": 0;
94
+ readonly "default-param-last": 2;
95
+ readonly "dot-notation": 0;
96
+ readonly eqeqeq: 2;
97
+ readonly "func-name-matching": 2;
98
+ readonly "func-names": 2;
99
+ readonly "func-style": 0;
100
+ readonly "grouped-accessor-pairs": readonly [2, "getBeforeSet"];
101
+ readonly "guard-for-in": 2;
102
+ readonly "id-denylist": 0;
103
+ readonly "id-length": 0;
104
+ readonly "id-match": 0;
105
+ readonly "init-declarations": 0;
106
+ readonly "logical-assignment-operators": 0;
107
+ readonly "max-classes-per-file": 0;
108
+ readonly "max-depth": readonly [2, 5];
109
+ readonly "max-lines": 0;
110
+ readonly "max-lines-per-function": 0;
111
+ readonly "max-nested-callbacks": 0;
112
+ readonly "max-params": 0;
113
+ readonly "max-statements": 0;
114
+ readonly "new-cap": readonly [2, {
115
+ readonly capIsNew: false;
116
+ }];
117
+ readonly "no-alert": 0;
118
+ readonly "no-array-constructor": 2;
119
+ readonly "no-bitwise": 0;
120
+ readonly "no-caller": 2;
121
+ readonly "no-case-declarations": 2;
122
+ readonly "no-console": 0;
123
+ readonly "no-continue": 0;
124
+ readonly "no-delete-var": 2;
125
+ readonly "no-div-regex": 2;
126
+ readonly "no-else-return": 0;
127
+ readonly "no-empty": readonly [2, {
128
+ readonly allowEmptyCatch: true;
129
+ }];
130
+ readonly "no-empty-function": 0;
131
+ readonly "no-empty-static-block": 2;
132
+ readonly "no-eq-null": 2;
133
+ readonly "no-eval": 2;
134
+ readonly "no-extend-native": 2;
135
+ readonly "no-extra-bind": 2;
136
+ readonly "no-extra-boolean-cast": 2;
137
+ readonly "no-extra-label": 0;
138
+ readonly "no-global-assign": 2;
139
+ readonly "no-implicit-coercion": readonly [2, {
140
+ readonly allow: readonly ["!!"];
141
+ }];
142
+ readonly "no-implicit-globals": 0;
143
+ readonly "no-implied-eval": 2;
144
+ readonly "no-inline-comments": 0;
145
+ readonly "no-invalid-this": 0;
146
+ readonly "no-iterator": 2;
147
+ readonly "no-label-var": 2;
148
+ readonly "no-labels": 2;
149
+ readonly "no-lone-blocks": 2;
150
+ readonly "no-lonely-if": 0;
151
+ readonly "no-loop-func": 0;
152
+ readonly "no-magic-numbers": 0;
153
+ readonly "no-multi-assign": 0;
154
+ readonly "no-multi-str": 2;
155
+ readonly "no-negated-condition": 0;
156
+ readonly "no-nested-ternary": 0;
157
+ readonly "no-new": 2;
158
+ readonly "no-new-func": 2;
159
+ readonly "no-new-wrappers": 2;
160
+ readonly "no-nonoctal-decimal-escape": 2;
161
+ readonly "no-object-constructor": 2;
162
+ readonly "no-octal": 2;
163
+ readonly "no-octal-escape": 0;
164
+ readonly "no-param-reassign": 2;
165
+ readonly "no-plusplus": 0;
166
+ readonly "no-proto": 2;
167
+ readonly "no-redeclare": 2;
168
+ readonly "no-regex-spaces": 2;
169
+ readonly "no-restricted-exports": 0;
170
+ readonly "no-restricted-globals": 0;
171
+ readonly "no-restricted-imports": 0;
172
+ readonly "no-restricted-properties": 0;
173
+ readonly "no-restricted-syntax": 0;
174
+ readonly "no-return-assign": readonly [2, "always"];
175
+ readonly "no-script-url": 0;
176
+ readonly "no-sequences": 2;
177
+ readonly "no-shadow": 0;
178
+ readonly "no-shadow-restricted-names": 2;
179
+ readonly "no-ternary": 0;
180
+ readonly "no-throw-literal": 0;
181
+ readonly "no-undef-init": 2;
182
+ readonly "no-undefined": 0;
183
+ readonly "no-underscore-dangle": 0;
184
+ readonly "no-unneeded-ternary": 2;
185
+ readonly "no-unused-expressions": readonly [2, {
186
+ readonly ignoreDirectives: true;
187
+ readonly allowShortCircuit: true;
188
+ }];
189
+ readonly "no-unused-labels": 2;
190
+ readonly "no-useless-call": 2;
191
+ readonly "no-useless-catch": 2;
192
+ readonly "no-useless-computed-key": 2;
193
+ readonly "no-useless-concat": 0;
194
+ readonly "no-useless-constructor": 0;
195
+ readonly "no-useless-escape": 2;
196
+ readonly "no-useless-rename": 2;
197
+ readonly "no-useless-return": 2;
198
+ readonly "no-var": 2;
199
+ readonly "no-void": 0;
200
+ readonly "no-warning-comments": 0;
201
+ readonly "no-with": 2;
202
+ readonly "object-shorthand": 0;
203
+ readonly "one-var": readonly [2, "never"];
204
+ readonly "operator-assignment": 0;
205
+ readonly "prefer-arrow-callback": 2;
206
+ readonly "prefer-const": 2;
207
+ readonly "prefer-destructuring": 0;
208
+ readonly "prefer-exponentiation-operator": 0;
209
+ readonly "prefer-named-capture-group": 0;
210
+ readonly "prefer-numeric-literals": 2;
211
+ readonly "prefer-object-has-own": 0;
212
+ readonly "prefer-object-spread": 2;
213
+ readonly "prefer-promise-reject-errors": 0;
214
+ readonly "prefer-regex-literals": 0;
215
+ readonly "prefer-rest-params": 0;
216
+ readonly "prefer-spread": 0;
217
+ readonly "prefer-template": 0;
218
+ readonly radix: 2;
219
+ readonly "require-await": 0;
220
+ readonly "require-unicode-regexp": 0;
221
+ readonly "require-yield": 2;
222
+ readonly "sort-imports": 0;
223
+ readonly "sort-keys": 0;
224
+ readonly "sort-vars": 0;
225
+ readonly strict: 2;
226
+ readonly "symbol-description": 2;
227
+ readonly "vars-on-top": 0;
228
+ readonly yoda: readonly [2, "never", {
229
+ readonly onlyEquality: true;
230
+ }];
231
231
  };
232
232
  export default _default;