@pawover/eslint-rules 0.0.0-alpha.2 → 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.
- package/dist/core.antfu.js +13 -0
- package/dist/core.javascript.js +200 -0
- package/dist/core.react.js +91 -0
- package/dist/core.stylistic.js +117 -0
- package/dist/core.typescript.js +146 -0
- package/dist/core.vue.js +14 -0
- package/{src → dist}/index.js +6 -8
- package/dist/preset.js +86 -0
- package/dist/types/core.antfu.d.ts +14 -0
- package/dist/types/core.javascript.d.ts +232 -0
- package/dist/types/core.react.d.ts +92 -0
- package/dist/types/core.stylistic.d.ts +143 -0
- package/dist/types/core.typescript.d.ts +194 -0
- package/dist/types/core.vue.d.ts +48 -0
- package/dist/types/index.d.ts +720 -0
- package/dist/types/preset.d.ts +5 -0
- package/package.json +22 -9
- package/src/core.antfu.js +0 -13
- package/src/core.javascript.js +0 -201
- package/src/core.react.js +0 -91
- package/src/core.stylistic.js +0 -118
- package/src/core.typescript.js +0 -148
- package/src/core.vue.js +0 -15
- package/src/preset.js +0 -86
package/dist/preset.js
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
indent: 2,
|
|
3
|
+
tsMemberOrder: [
|
|
4
|
+
"signature",
|
|
5
|
+
"call-signature",
|
|
6
|
+
"public-static-get",
|
|
7
|
+
"public-static-set",
|
|
8
|
+
"protected-static-get",
|
|
9
|
+
"protected-static-set",
|
|
10
|
+
"private-static-get",
|
|
11
|
+
"private-static-set",
|
|
12
|
+
"#private-static-get",
|
|
13
|
+
"#private-static-set",
|
|
14
|
+
"static-get",
|
|
15
|
+
"static-set",
|
|
16
|
+
"public-static-field",
|
|
17
|
+
"protected-static-field",
|
|
18
|
+
"private-static-field",
|
|
19
|
+
"#private-static-field",
|
|
20
|
+
"static-field",
|
|
21
|
+
"public-static-method",
|
|
22
|
+
"protected-static-method",
|
|
23
|
+
"private-static-method",
|
|
24
|
+
"#private-static-method",
|
|
25
|
+
"static-method",
|
|
26
|
+
"static-initialization",
|
|
27
|
+
"public-constructor",
|
|
28
|
+
"protected-constructor",
|
|
29
|
+
"private-constructor",
|
|
30
|
+
"constructor",
|
|
31
|
+
"public-decorated-get",
|
|
32
|
+
"public-decorated-set",
|
|
33
|
+
"protected-decorated-get",
|
|
34
|
+
"protected-decorated-set",
|
|
35
|
+
"private-decorated-get",
|
|
36
|
+
"private-decorated-set",
|
|
37
|
+
"public-instance-get",
|
|
38
|
+
"public-instance-set",
|
|
39
|
+
"protected-instance-get",
|
|
40
|
+
"protected-instance-set",
|
|
41
|
+
"private-instance-get",
|
|
42
|
+
"private-instance-set",
|
|
43
|
+
"#private-instance-get",
|
|
44
|
+
"#private-instance-set",
|
|
45
|
+
"public-abstract-get",
|
|
46
|
+
"public-abstract-set",
|
|
47
|
+
"protected-abstract-get",
|
|
48
|
+
"protected-abstract-set",
|
|
49
|
+
"public-get",
|
|
50
|
+
"public-set",
|
|
51
|
+
"protected-get",
|
|
52
|
+
"protected-set",
|
|
53
|
+
"private-get",
|
|
54
|
+
"private-set",
|
|
55
|
+
"#private-get",
|
|
56
|
+
"#private-set",
|
|
57
|
+
"instance-get",
|
|
58
|
+
"instance-set",
|
|
59
|
+
"abstract-get",
|
|
60
|
+
"abstract-set",
|
|
61
|
+
"decorated-get",
|
|
62
|
+
"decorated-set",
|
|
63
|
+
"get",
|
|
64
|
+
"set",
|
|
65
|
+
"public-instance-field",
|
|
66
|
+
"protected-instance-field",
|
|
67
|
+
"private-instance-field",
|
|
68
|
+
"#private-instance-field",
|
|
69
|
+
"instance-field",
|
|
70
|
+
"public-field",
|
|
71
|
+
"protected-field",
|
|
72
|
+
"private-field",
|
|
73
|
+
"#private-field",
|
|
74
|
+
"field",
|
|
75
|
+
"public-instance-method",
|
|
76
|
+
"protected-instance-method",
|
|
77
|
+
"private-instance-method",
|
|
78
|
+
"#private-instance-method",
|
|
79
|
+
"instance-method",
|
|
80
|
+
"public-method",
|
|
81
|
+
"protected-method",
|
|
82
|
+
"private-method",
|
|
83
|
+
"#private-method",
|
|
84
|
+
"method",
|
|
85
|
+
],
|
|
86
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: {
|
|
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
|
+
};
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
declare const _default: {
|
|
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
|
+
};
|
|
232
|
+
export default _default;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
readonly "react/jsx-key-before-spread": 1;
|
|
3
|
+
readonly "react/jsx-no-comment-textnodes": 1;
|
|
4
|
+
readonly "react/jsx-no-duplicate-props": 1;
|
|
5
|
+
readonly "react/jsx-no-iife": 1;
|
|
6
|
+
readonly "react/jsx-no-undef": 0;
|
|
7
|
+
readonly "react/jsx-shorthand-boolean": 1;
|
|
8
|
+
readonly "react/jsx-shorthand-fragment": 1;
|
|
9
|
+
readonly "react/jsx-uses-react": 1;
|
|
10
|
+
readonly "react/jsx-uses-vars": 1;
|
|
11
|
+
readonly "react/no-access-state-in-setstate": 2;
|
|
12
|
+
readonly "react/no-array-index-key": 1;
|
|
13
|
+
readonly "react/no-children-count": 2;
|
|
14
|
+
readonly "react/no-children-for-each": 2;
|
|
15
|
+
readonly "react/no-children-map": 2;
|
|
16
|
+
readonly "react/no-children-only": 2;
|
|
17
|
+
readonly "react/no-children-prop": 2;
|
|
18
|
+
readonly "react/no-children-to-array": 2;
|
|
19
|
+
readonly "react/no-class-component": 2;
|
|
20
|
+
readonly "react/no-clone-element": 2;
|
|
21
|
+
readonly "react/no-component-will-mount": 2;
|
|
22
|
+
readonly "react/no-component-will-receive-props": 2;
|
|
23
|
+
readonly "react/no-component-will-update": 2;
|
|
24
|
+
readonly "react/no-context-provider": 2;
|
|
25
|
+
readonly "react/no-create-ref": 2;
|
|
26
|
+
readonly "react/no-default-props": 2;
|
|
27
|
+
readonly "react/no-direct-mutation-state": 2;
|
|
28
|
+
readonly "react/no-duplicate-key": 2;
|
|
29
|
+
readonly "react/no-forward-ref": 2;
|
|
30
|
+
readonly "react/no-implicit-key": 2;
|
|
31
|
+
readonly "react/no-leaked-conditional-rendering": 2;
|
|
32
|
+
readonly "react/no-missing-component-display-name": 2;
|
|
33
|
+
readonly "react/no-missing-context-display-name": 2;
|
|
34
|
+
readonly "react/no-missing-key": 2;
|
|
35
|
+
readonly "react/no-misused-capture-owner-stack": 2;
|
|
36
|
+
readonly "react/no-nested-component-definitions": 2;
|
|
37
|
+
readonly "react/no-nested-lazy-component-declarations": 2;
|
|
38
|
+
readonly "react/no-prop-types": 2;
|
|
39
|
+
readonly "react/no-redundant-should-component-update": 2;
|
|
40
|
+
readonly "react/no-set-state-in-component-did-mount": 2;
|
|
41
|
+
readonly "react/no-set-state-in-component-did-update": 2;
|
|
42
|
+
readonly "react/no-set-state-in-component-will-update": 2;
|
|
43
|
+
readonly "react/no-string-refs": 2;
|
|
44
|
+
readonly "react/no-unnecessary-key": 1;
|
|
45
|
+
readonly "react/no-unnecessary-use-callback": 1;
|
|
46
|
+
readonly "react/no-unnecessary-use-memo": 1;
|
|
47
|
+
readonly "react/no-unnecessary-use-prefix": 1;
|
|
48
|
+
readonly "react/no-unsafe-component-will-mount": 2;
|
|
49
|
+
readonly "react/no-unsafe-component-will-receive-props": 2;
|
|
50
|
+
readonly "react/no-unsafe-component-will-update": 2;
|
|
51
|
+
readonly "react/no-unstable-context-value": 2;
|
|
52
|
+
readonly "react/no-unstable-default-props": 2;
|
|
53
|
+
readonly "react/no-unused-class-component-members": 2;
|
|
54
|
+
readonly "react/no-unused-props": 2;
|
|
55
|
+
readonly "react/no-unused-state": 2;
|
|
56
|
+
readonly "react/no-use-context": 2;
|
|
57
|
+
readonly "react/no-useless-forward-ref": 2;
|
|
58
|
+
readonly "react/no-useless-fragment": 2;
|
|
59
|
+
readonly "react/prefer-destructuring-assignment": 2;
|
|
60
|
+
readonly "react/prefer-namespace-import": 1;
|
|
61
|
+
readonly "react/prefer-read-only-props": 2;
|
|
62
|
+
readonly "react/prefer-use-state-lazy-initialization": 2;
|
|
63
|
+
readonly "react-dom/no-dangerously-set-innerhtml": 1;
|
|
64
|
+
readonly "react-dom/no-dangerously-set-innerhtml-with-children": 2;
|
|
65
|
+
readonly "react-dom/no-find-dom-node": 2;
|
|
66
|
+
readonly "react-dom/no-flush-sync": 2;
|
|
67
|
+
readonly "react-dom/no-hydrate": 2;
|
|
68
|
+
readonly "react-dom/no-missing-button-type": 2;
|
|
69
|
+
readonly "react-dom/no-missing-iframe-sandbox": 2;
|
|
70
|
+
readonly "react-dom/no-namespace": 2;
|
|
71
|
+
readonly "react-dom/no-render": 2;
|
|
72
|
+
readonly "react-dom/no-render-return-value": 2;
|
|
73
|
+
readonly "react-dom/no-script-url": 2;
|
|
74
|
+
readonly "react-dom/no-string-style-prop": 2;
|
|
75
|
+
readonly "react-dom/no-unknown-property": 2;
|
|
76
|
+
readonly "react-dom/no-unsafe-iframe-sandbox": 2;
|
|
77
|
+
readonly "react-dom/no-unsafe-target-blank": 2;
|
|
78
|
+
readonly "react-dom/no-use-form-state": 2;
|
|
79
|
+
readonly "react-dom/no-void-elements-with-children": 2;
|
|
80
|
+
readonly "react-dom/prefer-namespace-import": 1;
|
|
81
|
+
readonly "react-web-api/no-leaked-event-listener": 2;
|
|
82
|
+
readonly "react-web-api/no-leaked-interval": 2;
|
|
83
|
+
readonly "react-web-api/no-leaked-resize-observer": 2;
|
|
84
|
+
readonly "react-web-api/no-leaked-timeout": 2;
|
|
85
|
+
readonly "react-hooks-extra/no-direct-set-state-in-use-effect": 1;
|
|
86
|
+
readonly "react-naming-convention/component-name": 2;
|
|
87
|
+
readonly "react-naming-convention/context-name": 2;
|
|
88
|
+
readonly "react-naming-convention/filename": readonly [1, "camelCase"];
|
|
89
|
+
readonly "react-naming-convention/filename-extension": 0;
|
|
90
|
+
readonly "react-naming-convention/use-state": 2;
|
|
91
|
+
};
|
|
92
|
+
export default _default;
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
readonly "stylistic/array-bracket-newline": readonly [2, "consistent"];
|
|
3
|
+
readonly "stylistic/array-bracket-spacing": 2;
|
|
4
|
+
readonly "stylistic/array-element-newline": readonly [2, "consistent"];
|
|
5
|
+
readonly "stylistic/arrow-parens": 2;
|
|
6
|
+
readonly "stylistic/arrow-spacing": 2;
|
|
7
|
+
readonly "stylistic/block-spacing": 2;
|
|
8
|
+
readonly "stylistic/brace-style": 2;
|
|
9
|
+
readonly "stylistic/comma-dangle": readonly [2, "always-multiline"];
|
|
10
|
+
readonly "stylistic/comma-spacing": 2;
|
|
11
|
+
readonly "stylistic/comma-style": 2;
|
|
12
|
+
readonly "stylistic/computed-property-spacing": 2;
|
|
13
|
+
readonly "stylistic/curly-newline": 2;
|
|
14
|
+
readonly "stylistic/dot-location": 0;
|
|
15
|
+
readonly "stylistic/eol-last": 2;
|
|
16
|
+
readonly "stylistic/function-call-argument-newline": readonly [2, "consistent"];
|
|
17
|
+
readonly "stylistic/function-call-spacing": 2;
|
|
18
|
+
readonly "stylistic/function-paren-newline": readonly [2, "multiline-arguments"];
|
|
19
|
+
readonly "stylistic/generator-star-spacing": 2;
|
|
20
|
+
readonly "stylistic/implicit-arrow-linebreak": 2;
|
|
21
|
+
readonly "stylistic/indent": readonly [2, number];
|
|
22
|
+
readonly "stylistic/indent-binary-ops": readonly [2, number];
|
|
23
|
+
readonly "stylistic/jsx-child-element-spacing": 0;
|
|
24
|
+
readonly "stylistic/jsx-closing-bracket-location": 2;
|
|
25
|
+
readonly "stylistic/jsx-closing-tag-location": 2;
|
|
26
|
+
readonly "stylistic/jsx-curly-brace-presence": 2;
|
|
27
|
+
readonly "stylistic/jsx-curly-newline": 2;
|
|
28
|
+
readonly "stylistic/jsx-curly-spacing": 2;
|
|
29
|
+
readonly "stylistic/jsx-equals-spacing": 2;
|
|
30
|
+
readonly "stylistic/jsx-first-prop-new-line": 2;
|
|
31
|
+
readonly "stylistic/jsx-function-call-newline": 2;
|
|
32
|
+
readonly "stylistic/jsx-indent-props": readonly [2, number];
|
|
33
|
+
readonly "stylistic/jsx-max-props-per-line": 2;
|
|
34
|
+
readonly "stylistic/jsx-newline": 0;
|
|
35
|
+
readonly "stylistic/jsx-one-expression-per-line": readonly [2, {
|
|
36
|
+
readonly allow: "single-child";
|
|
37
|
+
}];
|
|
38
|
+
readonly "stylistic/jsx-pascal-case": readonly [2, {
|
|
39
|
+
readonly allowNamespace: true;
|
|
40
|
+
}];
|
|
41
|
+
readonly "stylistic/jsx-quotes": 2;
|
|
42
|
+
readonly "stylistic/jsx-self-closing-comp": 2;
|
|
43
|
+
readonly "stylistic/jsx-sort-props": 0;
|
|
44
|
+
readonly "stylistic/jsx-tag-spacing": readonly [2, {
|
|
45
|
+
readonly beforeClosing: "never";
|
|
46
|
+
}];
|
|
47
|
+
readonly "stylistic/jsx-wrap-multilines": readonly [2, {
|
|
48
|
+
readonly declaration: "parens-new-line";
|
|
49
|
+
readonly assignment: "parens-new-line";
|
|
50
|
+
readonly return: "parens-new-line";
|
|
51
|
+
readonly arrow: "parens-new-line";
|
|
52
|
+
readonly condition: "parens-new-line";
|
|
53
|
+
readonly logical: "parens-new-line";
|
|
54
|
+
readonly prop: "ignore";
|
|
55
|
+
readonly propertyValue: "parens-new-line";
|
|
56
|
+
}];
|
|
57
|
+
readonly "stylistic/key-spacing": 2;
|
|
58
|
+
readonly "stylistic/keyword-spacing": 2;
|
|
59
|
+
readonly "stylistic/line-comment-position": 0;
|
|
60
|
+
readonly "stylistic/linebreak-style": 0;
|
|
61
|
+
readonly "stylistic/lines-around-comment": 0;
|
|
62
|
+
readonly "stylistic/lines-between-class-members": 2;
|
|
63
|
+
readonly "stylistic/max-len": 0;
|
|
64
|
+
readonly "stylistic/max-statements-per-line": 0;
|
|
65
|
+
readonly "stylistic/member-delimiter-style": 2;
|
|
66
|
+
readonly "stylistic/multiline-comment-style": 0;
|
|
67
|
+
readonly "stylistic/multiline-ternary": readonly [2, "always-multiline"];
|
|
68
|
+
readonly "stylistic/new-parens": 2;
|
|
69
|
+
readonly "stylistic/newline-per-chained-call": 0;
|
|
70
|
+
readonly "stylistic/no-confusing-arrow": 0;
|
|
71
|
+
readonly "stylistic/no-extra-parens": 0;
|
|
72
|
+
readonly "stylistic/no-extra-semi": 2;
|
|
73
|
+
readonly "stylistic/no-floating-decimal": 2;
|
|
74
|
+
readonly "stylistic/no-mixed-operators": 0;
|
|
75
|
+
readonly "stylistic/no-mixed-spaces-and-tabs": 0;
|
|
76
|
+
readonly "stylistic/no-multi-spaces": 2;
|
|
77
|
+
readonly "stylistic/no-multiple-empty-lines": readonly [2, {
|
|
78
|
+
readonly max: 2;
|
|
79
|
+
readonly maxEOF: 1;
|
|
80
|
+
readonly maxBOF: 0;
|
|
81
|
+
}];
|
|
82
|
+
readonly "stylistic/no-tabs": 0;
|
|
83
|
+
readonly "stylistic/no-trailing-spaces": 2;
|
|
84
|
+
readonly "stylistic/no-whitespace-before-property": 2;
|
|
85
|
+
readonly "stylistic/nonblock-statement-body-position": 2;
|
|
86
|
+
readonly "stylistic/object-curly-newline": 2;
|
|
87
|
+
readonly "stylistic/object-curly-spacing": readonly [2, "always"];
|
|
88
|
+
readonly "stylistic/object-property-newline": readonly [2, {
|
|
89
|
+
readonly allowAllPropertiesOnSameLine: true;
|
|
90
|
+
}];
|
|
91
|
+
readonly "stylistic/one-var-declaration-per-line": 2;
|
|
92
|
+
readonly "stylistic/operator-linebreak": readonly [2, "after", {
|
|
93
|
+
readonly overrides: {
|
|
94
|
+
readonly "?": "ignore";
|
|
95
|
+
readonly ":": "ignore";
|
|
96
|
+
};
|
|
97
|
+
}];
|
|
98
|
+
readonly "stylistic/padded-blocks": 0;
|
|
99
|
+
readonly "stylistic/padding-line-between-statements": readonly [2, {
|
|
100
|
+
readonly blankLine: "always";
|
|
101
|
+
readonly prev: "*";
|
|
102
|
+
readonly next: "return";
|
|
103
|
+
}, {
|
|
104
|
+
readonly blankLine: "always";
|
|
105
|
+
readonly prev: "*";
|
|
106
|
+
readonly next: "default";
|
|
107
|
+
}, {
|
|
108
|
+
readonly blankLine: "always";
|
|
109
|
+
readonly prev: "directive";
|
|
110
|
+
readonly next: "*";
|
|
111
|
+
}, {
|
|
112
|
+
readonly blankLine: "any";
|
|
113
|
+
readonly prev: "directive";
|
|
114
|
+
readonly next: "directive";
|
|
115
|
+
}];
|
|
116
|
+
readonly "stylistic/quote-props": readonly [2, "consistent-as-needed"];
|
|
117
|
+
readonly "stylistic/quotes": 2;
|
|
118
|
+
readonly "stylistic/rest-spread-spacing": 2;
|
|
119
|
+
readonly "stylistic/semi": 2;
|
|
120
|
+
readonly "stylistic/semi-spacing": 2;
|
|
121
|
+
readonly "stylistic/semi-style": 2;
|
|
122
|
+
readonly "stylistic/space-before-blocks": 2;
|
|
123
|
+
readonly "stylistic/space-before-function-paren": readonly [2, {
|
|
124
|
+
readonly anonymous: "never";
|
|
125
|
+
readonly named: "never";
|
|
126
|
+
readonly asyncArrow: "always";
|
|
127
|
+
readonly catch: "always";
|
|
128
|
+
}];
|
|
129
|
+
readonly "stylistic/space-in-parens": 2;
|
|
130
|
+
readonly "stylistic/space-infix-ops": 2;
|
|
131
|
+
readonly "stylistic/space-unary-ops": 2;
|
|
132
|
+
readonly "stylistic/spaced-comment": 2;
|
|
133
|
+
readonly "stylistic/switch-colon-spacing": 2;
|
|
134
|
+
readonly "stylistic/template-curly-spacing": 2;
|
|
135
|
+
readonly "stylistic/template-tag-spacing": 2;
|
|
136
|
+
readonly "stylistic/type-annotation-spacing": 2;
|
|
137
|
+
readonly "stylistic/type-generic-spacing": 2;
|
|
138
|
+
readonly "stylistic/type-named-tuple-spacing": 2;
|
|
139
|
+
readonly "stylistic/wrap-iife": 2;
|
|
140
|
+
readonly "stylistic/wrap-regex": 2;
|
|
141
|
+
readonly "stylistic/yield-star-spacing": 2;
|
|
142
|
+
};
|
|
143
|
+
export default _default;
|