@pawover/eslint-rules 0.0.0-beta.9 → 0.0.2

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.
@@ -0,0 +1,4 @@
1
+ export default {
2
+ "importsSort/imports": 2,
3
+ "importsSort/exports": 2,
4
+ };
@@ -34,7 +34,7 @@ export default {
34
34
  "no-misleading-character-class": 2,
35
35
  "no-new-native-nonconstructor": 2,
36
36
  "no-obj-calls": 2,
37
- "no-promise-executor-return": 2,
37
+ "no-promise-executor-return": [2, { allowVoid: true }],
38
38
  "no-prototype-builtins": 2,
39
39
  "no-self-assign": 2,
40
40
  "no-self-compare": 2,
@@ -50,8 +50,8 @@ export default {
50
50
  "no-unsafe-finally": 2,
51
51
  "no-unsafe-negation": 2,
52
52
  "no-unsafe-optional-chaining": 2,
53
- "no-unused-private-class-members": 2,
54
- "no-unused-vars": [2, { vars: "local", args: "none", caughtErrors: "none", varsIgnorePattern: "^_", destructuredArrayIgnorePattern: "^_" }],
53
+ "no-unused-private-class-members": 1,
54
+ "no-unused-vars": [1, { vars: "local", args: "none", caughtErrors: "none", varsIgnorePattern: "^_", destructuredArrayIgnorePattern: "^_" }],
55
55
  "no-use-before-define": [2, { functions: false, classes: false, variables: false, allowNamedExports: false }],
56
56
  "no-useless-assignment": 0,
57
57
  "no-useless-backreference": 2,
@@ -156,8 +156,8 @@ export default {
156
156
  "no-undefined": 0,
157
157
  "no-underscore-dangle": 0,
158
158
  "no-unneeded-ternary": 2,
159
- "no-unused-expressions": [2, { ignoreDirectives: true, allowShortCircuit: true }],
160
- "no-unused-labels": 2,
159
+ "no-unused-expressions": [1, { ignoreDirectives: true, allowShortCircuit: true }],
160
+ "no-unused-labels": 1,
161
161
  "no-useless-call": 2,
162
162
  "no-useless-catch": 2,
163
163
  "no-useless-computed-key": 2,
@@ -1,21 +1,14 @@
1
1
  export default {
2
- "react/jsx-dollar": 0,
3
- "react/jsx-key-before-spread": 1,
4
- "react/jsx-no-comment-textnodes": 1,
5
- "react/jsx-no-duplicate-props": 0,
6
- "react/jsx-no-iife": 0,
7
- "react/jsx-no-undef": 0,
8
- "react/jsx-shorthand-boolean": 2,
9
- "react/jsx-shorthand-fragment": 0,
10
- "react/jsx-uses-react": 0,
11
- "react/jsx-uses-vars": 0,
2
+ "react/component-hook-factories": 2,
3
+ "react/error-boundaries": 2,
4
+ "react/exhaustive-deps": 1,
5
+ "react/immutability": 2,
12
6
  "react/no-access-state-in-setstate": 2,
13
7
  "react/no-array-index-key": 1,
14
8
  "react/no-children-count": 1,
15
9
  "react/no-children-for-each": 1,
16
10
  "react/no-children-map": 1,
17
11
  "react/no-children-only": 1,
18
- "react/no-children-prop": 0,
19
12
  "react/no-children-to-array": 1,
20
13
  "react/no-class-component": 2,
21
14
  "react/no-clone-element": 1,
@@ -26,8 +19,10 @@ export default {
26
19
  "react/no-create-ref": 2,
27
20
  "react/no-direct-mutation-state": 2,
28
21
  "react/no-duplicate-key": 1,
29
- "react/no-forward-ref": 1,
22
+ "react/no-forward-ref": 2,
23
+ "react/no-implicit-children": 1,
30
24
  "react/no-implicit-key": 1,
25
+ "react/no-implicit-ref": 1,
31
26
  "react/no-leaked-conditional-rendering": 2,
32
27
  "react/no-missing-component-display-name": 2,
33
28
  "react/no-missing-context-display-name": 2,
@@ -39,55 +34,65 @@ export default {
39
34
  "react/no-set-state-in-component-did-mount": 2,
40
35
  "react/no-set-state-in-component-did-update": 2,
41
36
  "react/no-set-state-in-component-will-update": 2,
42
- "react/no-unnecessary-key": 1,
43
37
  "react/no-unnecessary-use-callback": 2,
44
38
  "react/no-unnecessary-use-memo": 2,
45
39
  "react/no-unnecessary-use-prefix": 2,
46
- "react/no-unnecessary-use-ref": 2,
47
40
  "react/no-unsafe-component-will-mount": 2,
48
41
  "react/no-unsafe-component-will-receive-props": 2,
49
42
  "react/no-unsafe-component-will-update": 2,
50
43
  "react/no-unstable-context-value": 2,
51
44
  "react/no-unstable-default-props": 2,
52
- "react/no-unused-class-component-members": 2,
53
- "react/no-unused-props": 2,
54
- "react/no-unused-state": 2,
55
- "react/no-use-context": 1,
56
- "react/no-useless-forward-ref": 2,
57
- "react/no-useless-fragment": 2,
45
+ "react/no-unused-class-component-members": 1,
46
+ "react/no-unused-props": 1,
47
+ "react/no-unused-state": 1,
48
+ "react/no-use-context": 2,
58
49
  "react/prefer-destructuring-assignment": 2,
59
50
  "react/prefer-namespace-import": 0,
60
- "react/prefer-read-only-props": 2,
61
- "react/prefer-use-state-lazy-initialization": 2,
62
- "react-dom/no-dangerously-set-innerhtml": 1,
63
- "react-dom/no-dangerously-set-innerhtml-with-children": 2,
64
- "react-dom/no-find-dom-node": 2,
65
- "react-dom/no-flush-sync": 2,
66
- "react-dom/no-hydrate": 2,
67
- "react-dom/no-missing-button-type": 1,
68
- "react-dom/no-missing-iframe-sandbox": 1,
69
- "react-dom/no-namespace": 2,
70
- "react-dom/no-render": 2,
71
- "react-dom/no-render-return-value": 2,
72
- "react-dom/no-script-url": 1,
73
- "react-dom/no-string-style-prop": 2,
74
- "react-dom/no-unknown-property": 2,
75
- "react-dom/no-unsafe-iframe-sandbox": 1,
76
- "react-dom/no-unsafe-target-blank": 1,
77
- "react-dom/no-use-form-state": 2,
78
- "react-dom/no-void-elements-with-children": 2,
79
- "react-dom/prefer-namespace-import": 0,
80
- "react-rsc/function-definition": 0,
81
- "react-web-api/no-leaked-event-listener": 2,
82
- "react-web-api/no-leaked-interval": 2,
83
- "react-web-api/no-leaked-resize-observer": 2,
84
- "react-web-api/no-leaked-timeout": 2,
85
- "react-hooks-extra/no-direct-set-state-in-use-effect": 1,
86
- "react-naming-convention/component-name": [2, { rule: "PascalCase", excepts: [], allowAllCaps: true }],
87
- "react-naming-convention/context-name": 2,
88
- "react-naming-convention/filename": 0,
89
- "react-naming-convention/filename-extension": 0,
90
- "react-naming-convention/id-name": 2,
91
- "react-naming-convention/ref-name": 2,
92
- "react-naming-convention/use-state": 2,
51
+ "react/purity": 1,
52
+ "react/refs": 2,
53
+ "react/rules-of-hooks": 2,
54
+ "react/set-state-in-effect": 2,
55
+ "react/set-state-in-render": 2,
56
+ "react/unsupported-syntax": 2,
57
+ "react/use-memo": 2,
58
+ "react/use-state": 2,
59
+ "react/jsx-no-children-prop": 0,
60
+ "react/jsx-no-children-prop-with-children": 2,
61
+ "react/jsx-no-comment-textnodes": 1,
62
+ "react/jsx-no-key-after-spread": 2,
63
+ "react/jsx-no-leaked-dollar": 2,
64
+ "react/jsx-no-leaked-semicolon": 2,
65
+ "react/jsx-no-namespace": 2,
66
+ "react/jsx-no-useless-fragment": 2,
67
+ "react/rsc-function-definition": 0,
68
+ "react/dom-no-dangerously-set-innerhtml-with-children": 2,
69
+ "react/dom-no-dangerously-set-innerhtml": 1,
70
+ "react/dom-no-find-dom-node": 2,
71
+ "react/dom-no-flush-sync": 2,
72
+ "react/dom-no-hydrate": 2,
73
+ "react/dom-no-missing-button-type": 1,
74
+ "react/dom-no-missing-iframe-sandbox": 1,
75
+ "react/dom-no-render-return-value": 2,
76
+ "react/dom-no-render": 2,
77
+ "react/dom-no-script-url": 1,
78
+ "react/dom-no-string-style-prop": 2,
79
+ "react/dom-no-unknown-property": 2,
80
+ "react/dom-no-unsafe-iframe-sandbox": 1,
81
+ "react/dom-no-unsafe-target-blank": 1,
82
+ "react/dom-no-use-form-state": 2,
83
+ "react/dom-no-void-elements-with-children": 2,
84
+ "react/dom-prefer-namespace-import": 0,
85
+ "react/web-api-no-leaked-event-listener": 2,
86
+ "react/web-api-no-leaked-interval": 2,
87
+ "react/web-api-no-leaked-resize-observer": 2,
88
+ "react/web-api-no-leaked-timeout": 2,
89
+ "react/naming-convention-context-name": 2,
90
+ "react/naming-convention-id-name": 2,
91
+ "react/naming-convention-ref-name": 2,
92
+ "react/debug-class-component": 0,
93
+ "react/debug-function-component": 0,
94
+ "react/debug-hook": 0,
95
+ "react/debug-is-from-react": 0,
96
+ "react/debug-is-from-ref": 0,
97
+ "react/debug-jsx": 0,
93
98
  };
@@ -0,0 +1,19 @@
1
+ export default {
2
+ "react-hooks/exhaustive-deps": 0,
3
+ "react-hooks/rules-of-hooks": 0,
4
+ "react-hooks/component-hook-factories": 0,
5
+ "react-hooks/config": 2,
6
+ "react-hooks/error-boundaries": 0,
7
+ "react-hooks/gating": 2,
8
+ "react-hooks/globals": 2,
9
+ "react-hooks/immutability": 0,
10
+ "react-hooks/incompatible-library": 2,
11
+ "react-hooks/preserve-manual-memoization": 2,
12
+ "react-hooks/purity": 0,
13
+ "react-hooks/refs": 0,
14
+ "react-hooks/set-state-in-effect": 0,
15
+ "react-hooks/set-state-in-render": 0,
16
+ "react-hooks/static-components": 0,
17
+ "react-hooks/unsupported-syntax": 0,
18
+ "react-hooks/use-memo": 0,
19
+ };
@@ -102,8 +102,8 @@ export default {
102
102
  "ts/no-unsafe-return": 0,
103
103
  "ts/no-unsafe-type-assertion": 0,
104
104
  "ts/no-unsafe-unary-minus": 2,
105
- "ts/no-unused-expressions": [2, { ignoreDirectives: true, allowShortCircuit: true }],
106
- "ts/no-unused-vars": [2, { vars: "local", args: "none", caughtErrors: "none", varsIgnorePattern: "^_", destructuredArrayIgnorePattern: "^_" }],
105
+ "ts/no-unused-expressions": [1, { ignoreDirectives: true, allowShortCircuit: true }],
106
+ "ts/no-unused-vars": [1, { vars: "local", args: "none", caughtErrors: "none", varsIgnorePattern: "^_", destructuredArrayIgnorePattern: "^_" }],
107
107
  "ts/no-use-before-define": [2, { functions: false, classes: false, variables: false, allowNamedExports: false }],
108
108
  "ts/no-useless-constructor": 0,
109
109
  "ts/no-useless-empty-export": 0,
package/dist/core.vue.js CHANGED
@@ -23,8 +23,8 @@ export default {
23
23
  "vue/no-side-effects-in-computed-properties": 2,
24
24
  "vue/no-template-key": 2,
25
25
  "vue/no-textarea-mustache": 2,
26
- "vue/no-unused-components": 2,
27
- "vue/no-unused-vars": 2,
26
+ "vue/no-unused-components": 1,
27
+ "vue/no-unused-vars": 1,
28
28
  "vue/no-use-computed-property-like-method": 2,
29
29
  "vue/no-use-v-if-with-v-for": 2,
30
30
  "vue/no-useless-template-attributes": 2,
@@ -181,7 +181,7 @@ export default {
181
181
  "vue/no-unsupported-features": 0,
182
182
  "vue/no-unused-emit-declarations": 0,
183
183
  "vue/no-unused-properties": 1,
184
- "vue/no-unused-refs": 2,
184
+ "vue/no-unused-refs": 1,
185
185
  "vue/no-use-v-else-with-v-for": 0,
186
186
  "vue/no-useless-mustaches": 2,
187
187
  "vue/no-useless-v-bind": 2,
package/dist/index.js CHANGED
@@ -1,23 +1,86 @@
1
- import javascriptRules from "./core.javascript.js";
2
- import typescriptRules from "./core.typescript.js";
3
1
  import antfuRules from "./core.antfu.js";
4
2
  import importsRules from "./core.imports.js";
3
+ import simpleImportSortRules from "./core.importsSort.js";
4
+ import javascriptRules from "./core.javascript.js";
5
5
  import reactRules from "./core.react.js";
6
+ import reactHooksRules from "./core.reactHooks.js";
6
7
  import stylisticRules from "./core.stylistic.js";
8
+ import typescriptRules from "./core.typescript.js";
7
9
  import vueRules from "./core.vue.js";
10
+ const GLOB_EXCLUDE = [
11
+ "**/node_modules",
12
+ "**/dist",
13
+ "**/package-lock.json",
14
+ "**/yarn.lock",
15
+ "**/pnpm-lock.yaml",
16
+ "**/bun.lockb",
17
+ "**/output",
18
+ "**/coverage",
19
+ "**/temp",
20
+ "**/.temp",
21
+ "**/tmp",
22
+ "**/.tmp",
23
+ "**/.history",
24
+ "**/.vitepress/cache",
25
+ "**/.nuxt",
26
+ "**/.next",
27
+ "**/.svelte-kit",
28
+ "**/.vercel",
29
+ "**/.changeset",
30
+ "**/.idea",
31
+ "**/.cache",
32
+ "**/.output",
33
+ "**/.vite-inspect",
34
+ "**/.yarn",
35
+ "**/vite.config.*.timestamp-*",
36
+ "**/CHANGELOG*.md",
37
+ "**/*.min.*",
38
+ "**/LICENSE*",
39
+ "**/__snapshots__",
40
+ "**/auto-import?(s).d.ts",
41
+ "**/auto-component?(s).d.ts",
42
+ "**/auto-router?(s).d.ts",
43
+ ];
8
44
  const javascript = javascriptRules;
9
45
  const typescript = typescriptRules;
10
46
  const react = reactRules;
47
+ const reactHooks = reactHooksRules;
11
48
  const vue = vueRules;
12
49
  const stylistic = stylisticRules;
13
50
  const antfu = antfuRules;
14
51
  const imports = importsRules;
15
- export default {
52
+ const importsSort = simpleImportSortRules;
53
+ const rules = {
16
54
  javascript,
17
55
  typescript,
18
56
  react,
57
+ reactHooks,
19
58
  vue,
20
59
  stylistic,
21
60
  antfu,
22
61
  imports,
62
+ importsSort,
63
+ };
64
+ function createRules(rule, prefix) {
65
+ const result = {};
66
+ if (rule && typeof rule === "string" && rules[rule]) {
67
+ if (prefix) {
68
+ return Object.entries(rules[rule]).reduce((acc, [key, value]) => {
69
+ const oldPrefix = key.split("/")[0];
70
+ const newPrefix = prefix.split("/")[0];
71
+ const newKey = key.replace(`${oldPrefix}/`, `${newPrefix}/`);
72
+ acc[newKey] = value;
73
+ return acc;
74
+ }, result);
75
+ }
76
+ else {
77
+ return rules[rule];
78
+ }
79
+ }
80
+ return result;
81
+ }
82
+ export default {
83
+ ...rules,
84
+ GLOB_EXCLUDE,
85
+ createRules,
23
86
  };
package/dist/preset.js CHANGED
@@ -1,85 +1,90 @@
1
1
  export default {
2
2
  indent: 2,
3
3
  tsMemberOrder: [
4
+ // 1. 签名
4
5
  "signature",
5
6
  "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",
7
+ // 2. 静态初始化
8
+ "static-initialization",
9
+ // 3. 字段
10
+ "#private-static-field",
11
+ "private-static-field",
12
+ "protected-static-field",
13
+ "public-static-field",
14
+ "static-field",
15
+ "#private-instance-field",
16
+ "private-instance-field",
17
+ "protected-instance-field",
18
+ "public-instance-field",
19
+ "instance-field",
20
+ "#private-field",
21
+ "private-field",
22
+ "protected-field",
23
+ "public-field",
24
+ "field",
25
+ // 4. 构造函数
26
+ "private-constructor",
27
+ "protected-constructor",
28
+ "public-constructor",
29
+ // 5. 访问器 (Get/Set)
12
30
  "#private-static-get",
13
31
  "#private-static-set",
32
+ "private-static-get",
33
+ "private-static-set",
34
+ "protected-static-get",
35
+ "protected-static-set",
36
+ "public-static-get",
37
+ "public-static-set",
14
38
  "static-get",
15
39
  "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
40
  "protected-abstract-get",
48
41
  "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",
42
+ "public-abstract-get",
43
+ "public-abstract-set",
59
44
  "abstract-get",
60
45
  "abstract-set",
46
+ "#private-instance-get",
47
+ "#private-instance-set",
48
+ "private-instance-get",
49
+ "private-instance-set",
50
+ "protected-instance-get",
51
+ "protected-instance-set",
52
+ "public-instance-get",
53
+ "public-instance-set",
54
+ "instance-get",
55
+ "instance-set",
56
+ "private-decorated-get",
57
+ "private-decorated-set",
58
+ "protected-decorated-get",
59
+ "protected-decorated-set",
60
+ "public-decorated-get",
61
+ "public-decorated-set",
61
62
  "decorated-get",
62
63
  "decorated-set",
64
+ "#private-get",
65
+ "#private-set",
66
+ "private-get",
67
+ "private-set",
68
+ "protected-get",
69
+ "protected-set",
70
+ "public-get",
71
+ "public-set",
63
72
  "get",
64
73
  "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",
74
+ // 6. 方法
75
+ "#private-static-method",
76
+ "private-static-method",
77
+ "protected-static-method",
78
+ "public-static-method",
79
+ "static-method",
78
80
  "#private-instance-method",
81
+ "private-instance-method",
82
+ "protected-instance-method",
83
+ "public-instance-method",
79
84
  "instance-method",
80
- "public-method",
81
- "protected-method",
82
85
  "private-method",
86
+ "protected-method",
87
+ "public-method",
83
88
  "#private-method",
84
89
  "method",
85
90
  ],
@@ -0,0 +1,6 @@
1
+ declare const _default: {
2
+ "importsSort/imports": number;
3
+ "importsSort/exports": number;
4
+ };
5
+ export default _default;
6
+ //# sourceMappingURL=core.importsSort.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core.importsSort.d.ts","sourceRoot":"","sources":["../../src/core.importsSort.ts"],"names":[],"mappings":";;;;AAAA,wBAGE"}
@@ -39,7 +39,9 @@ declare const _default: {
39
39
  "no-misleading-character-class": number;
40
40
  "no-new-native-nonconstructor": number;
41
41
  "no-obj-calls": number;
42
- "no-promise-executor-return": number;
42
+ "no-promise-executor-return": (number | {
43
+ allowVoid: boolean;
44
+ })[];
43
45
  "no-prototype-builtins": number;
44
46
  "no-self-assign": number;
45
47
  "no-self-compare": number;
@@ -1 +1 @@
1
- {"version":3,"file":"core.javascript.d.ts","sourceRoot":"","sources":["../../src/core.javascript.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAwME"}
1
+ {"version":3,"file":"core.javascript.d.ts","sourceRoot":"","sources":["../../src/core.javascript.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAwME"}
@@ -1,21 +1,14 @@
1
1
  declare const _default: {
2
- "react/jsx-dollar": number;
3
- "react/jsx-key-before-spread": number;
4
- "react/jsx-no-comment-textnodes": number;
5
- "react/jsx-no-duplicate-props": number;
6
- "react/jsx-no-iife": number;
7
- "react/jsx-no-undef": number;
8
- "react/jsx-shorthand-boolean": number;
9
- "react/jsx-shorthand-fragment": number;
10
- "react/jsx-uses-react": number;
11
- "react/jsx-uses-vars": number;
2
+ "react/component-hook-factories": number;
3
+ "react/error-boundaries": number;
4
+ "react/exhaustive-deps": number;
5
+ "react/immutability": number;
12
6
  "react/no-access-state-in-setstate": number;
13
7
  "react/no-array-index-key": number;
14
8
  "react/no-children-count": number;
15
9
  "react/no-children-for-each": number;
16
10
  "react/no-children-map": number;
17
11
  "react/no-children-only": number;
18
- "react/no-children-prop": number;
19
12
  "react/no-children-to-array": number;
20
13
  "react/no-class-component": number;
21
14
  "react/no-clone-element": number;
@@ -27,7 +20,9 @@ declare const _default: {
27
20
  "react/no-direct-mutation-state": number;
28
21
  "react/no-duplicate-key": number;
29
22
  "react/no-forward-ref": number;
23
+ "react/no-implicit-children": number;
30
24
  "react/no-implicit-key": number;
25
+ "react/no-implicit-ref": number;
31
26
  "react/no-leaked-conditional-rendering": number;
32
27
  "react/no-missing-component-display-name": number;
33
28
  "react/no-missing-context-display-name": number;
@@ -39,11 +34,9 @@ declare const _default: {
39
34
  "react/no-set-state-in-component-did-mount": number;
40
35
  "react/no-set-state-in-component-did-update": number;
41
36
  "react/no-set-state-in-component-will-update": number;
42
- "react/no-unnecessary-key": number;
43
37
  "react/no-unnecessary-use-callback": number;
44
38
  "react/no-unnecessary-use-memo": number;
45
39
  "react/no-unnecessary-use-prefix": number;
46
- "react/no-unnecessary-use-ref": number;
47
40
  "react/no-unsafe-component-will-mount": number;
48
41
  "react/no-unsafe-component-will-receive-props": number;
49
42
  "react/no-unsafe-component-will-update": number;
@@ -53,47 +46,55 @@ declare const _default: {
53
46
  "react/no-unused-props": number;
54
47
  "react/no-unused-state": number;
55
48
  "react/no-use-context": number;
56
- "react/no-useless-forward-ref": number;
57
- "react/no-useless-fragment": number;
58
49
  "react/prefer-destructuring-assignment": number;
59
50
  "react/prefer-namespace-import": number;
60
- "react/prefer-read-only-props": number;
61
- "react/prefer-use-state-lazy-initialization": number;
62
- "react-dom/no-dangerously-set-innerhtml": number;
63
- "react-dom/no-dangerously-set-innerhtml-with-children": number;
64
- "react-dom/no-find-dom-node": number;
65
- "react-dom/no-flush-sync": number;
66
- "react-dom/no-hydrate": number;
67
- "react-dom/no-missing-button-type": number;
68
- "react-dom/no-missing-iframe-sandbox": number;
69
- "react-dom/no-namespace": number;
70
- "react-dom/no-render": number;
71
- "react-dom/no-render-return-value": number;
72
- "react-dom/no-script-url": number;
73
- "react-dom/no-string-style-prop": number;
74
- "react-dom/no-unknown-property": number;
75
- "react-dom/no-unsafe-iframe-sandbox": number;
76
- "react-dom/no-unsafe-target-blank": number;
77
- "react-dom/no-use-form-state": number;
78
- "react-dom/no-void-elements-with-children": number;
79
- "react-dom/prefer-namespace-import": number;
80
- "react-rsc/function-definition": number;
81
- "react-web-api/no-leaked-event-listener": number;
82
- "react-web-api/no-leaked-interval": number;
83
- "react-web-api/no-leaked-resize-observer": number;
84
- "react-web-api/no-leaked-timeout": number;
85
- "react-hooks-extra/no-direct-set-state-in-use-effect": number;
86
- "react-naming-convention/component-name": (number | {
87
- rule: string;
88
- excepts: never[];
89
- allowAllCaps: boolean;
90
- })[];
91
- "react-naming-convention/context-name": number;
92
- "react-naming-convention/filename": number;
93
- "react-naming-convention/filename-extension": number;
94
- "react-naming-convention/id-name": number;
95
- "react-naming-convention/ref-name": number;
96
- "react-naming-convention/use-state": number;
51
+ "react/purity": number;
52
+ "react/refs": number;
53
+ "react/rules-of-hooks": number;
54
+ "react/set-state-in-effect": number;
55
+ "react/set-state-in-render": number;
56
+ "react/unsupported-syntax": number;
57
+ "react/use-memo": number;
58
+ "react/use-state": number;
59
+ "react/jsx-no-children-prop": number;
60
+ "react/jsx-no-children-prop-with-children": number;
61
+ "react/jsx-no-comment-textnodes": number;
62
+ "react/jsx-no-key-after-spread": number;
63
+ "react/jsx-no-leaked-dollar": number;
64
+ "react/jsx-no-leaked-semicolon": number;
65
+ "react/jsx-no-namespace": number;
66
+ "react/jsx-no-useless-fragment": number;
67
+ "react/rsc-function-definition": number;
68
+ "react/dom-no-dangerously-set-innerhtml-with-children": number;
69
+ "react/dom-no-dangerously-set-innerhtml": number;
70
+ "react/dom-no-find-dom-node": number;
71
+ "react/dom-no-flush-sync": number;
72
+ "react/dom-no-hydrate": number;
73
+ "react/dom-no-missing-button-type": number;
74
+ "react/dom-no-missing-iframe-sandbox": number;
75
+ "react/dom-no-render-return-value": number;
76
+ "react/dom-no-render": number;
77
+ "react/dom-no-script-url": number;
78
+ "react/dom-no-string-style-prop": number;
79
+ "react/dom-no-unknown-property": number;
80
+ "react/dom-no-unsafe-iframe-sandbox": number;
81
+ "react/dom-no-unsafe-target-blank": number;
82
+ "react/dom-no-use-form-state": number;
83
+ "react/dom-no-void-elements-with-children": number;
84
+ "react/dom-prefer-namespace-import": number;
85
+ "react/web-api-no-leaked-event-listener": number;
86
+ "react/web-api-no-leaked-interval": number;
87
+ "react/web-api-no-leaked-resize-observer": number;
88
+ "react/web-api-no-leaked-timeout": number;
89
+ "react/naming-convention-context-name": number;
90
+ "react/naming-convention-id-name": number;
91
+ "react/naming-convention-ref-name": number;
92
+ "react/debug-class-component": number;
93
+ "react/debug-function-component": number;
94
+ "react/debug-hook": number;
95
+ "react/debug-is-from-react": number;
96
+ "react/debug-is-from-ref": number;
97
+ "react/debug-jsx": number;
97
98
  };
98
99
  export default _default;
99
100
  //# sourceMappingURL=core.react.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"core.react.d.ts","sourceRoot":"","sources":["../../src/core.react.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA4FE"}
1
+ {"version":3,"file":"core.react.d.ts","sourceRoot":"","sources":["../../src/core.react.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAuGE"}
@@ -0,0 +1,21 @@
1
+ declare const _default: {
2
+ "react-hooks/exhaustive-deps": number;
3
+ "react-hooks/rules-of-hooks": number;
4
+ "react-hooks/component-hook-factories": number;
5
+ "react-hooks/config": number;
6
+ "react-hooks/error-boundaries": number;
7
+ "react-hooks/gating": number;
8
+ "react-hooks/globals": number;
9
+ "react-hooks/immutability": number;
10
+ "react-hooks/incompatible-library": number;
11
+ "react-hooks/preserve-manual-memoization": number;
12
+ "react-hooks/purity": number;
13
+ "react-hooks/refs": number;
14
+ "react-hooks/set-state-in-effect": number;
15
+ "react-hooks/set-state-in-render": number;
16
+ "react-hooks/static-components": number;
17
+ "react-hooks/unsupported-syntax": number;
18
+ "react-hooks/use-memo": number;
19
+ };
20
+ export default _default;
21
+ //# sourceMappingURL=core.reactHooks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core.reactHooks.d.ts","sourceRoot":"","sources":["../../src/core.reactHooks.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,wBAkBE"}
@@ -1,15 +1,31 @@
1
1
  export type SeverityLevel = 0 | 1 | 2;
2
2
  export type SeverityName = "off" | "warn" | "error";
3
3
  export type Severity = SeverityName | SeverityLevel;
4
- export type RuleConfig = Severity | [Severity];
4
+ export type RuleConfig<RuleOptions extends unknown[] = unknown[]> = Severity | [Severity, ...Partial<RuleOptions>];
5
+ declare const rules: {
6
+ javascript: Record<"array-callback-return" | "constructor-super" | "for-direction" | "getter-return" | "no-async-promise-executor" | "no-await-in-loop" | "no-class-assign" | "no-compare-neg-zero" | "no-cond-assign" | "no-const-assign" | "no-constant-binary-expression" | "no-constant-condition" | "no-constructor-return" | "no-control-regex" | "no-debugger" | "no-dupe-args" | "no-dupe-class-members" | "no-dupe-else-if" | "no-dupe-keys" | "no-duplicate-case" | "no-duplicate-imports" | "no-empty-character-class" | "no-empty-pattern" | "no-ex-assign" | "no-fallthrough" | "no-func-assign" | "no-import-assign" | "no-inner-declarations" | "no-invalid-regexp" | "no-irregular-whitespace" | "no-loss-of-precision" | "no-misleading-character-class" | "no-new-native-nonconstructor" | "no-obj-calls" | "no-promise-executor-return" | "no-prototype-builtins" | "no-self-assign" | "no-self-compare" | "no-setter-return" | "no-sparse-arrays" | "no-template-curly-in-string" | "no-this-before-super" | "no-undef" | "no-unexpected-multiline" | "no-unmodified-loop-condition" | "no-unreachable" | "no-unreachable-loop" | "no-unsafe-finally" | "no-unsafe-negation" | "no-unsafe-optional-chaining" | "no-unused-private-class-members" | "no-unused-vars" | "no-use-before-define" | "no-useless-assignment" | "no-useless-backreference" | "require-atomic-updates" | "use-isnan" | "valid-typeof" | "accessor-pairs" | "arrow-body-style" | "block-scoped-var" | "camelcase" | "capitalized-comments" | "class-methods-use-this" | "complexity" | "consistent-return" | "consistent-this" | "curly" | "default-case" | "default-case-last" | "default-param-last" | "dot-notation" | "eqeqeq" | "func-name-matching" | "func-names" | "func-style" | "grouped-accessor-pairs" | "guard-for-in" | "id-denylist" | "id-length" | "id-match" | "init-declarations" | "logical-assignment-operators" | "max-classes-per-file" | "max-depth" | "max-lines" | "max-lines-per-function" | "max-nested-callbacks" | "max-params" | "max-statements" | "new-cap" | "no-alert" | "no-array-constructor" | "no-bitwise" | "no-caller" | "no-case-declarations" | "no-console" | "no-continue" | "no-delete-var" | "no-div-regex" | "no-else-return" | "no-empty" | "no-empty-function" | "no-empty-static-block" | "no-eq-null" | "no-eval" | "no-extend-native" | "no-extra-bind" | "no-extra-boolean-cast" | "no-extra-label" | "no-global-assign" | "no-implicit-coercion" | "no-implicit-globals" | "no-implied-eval" | "no-inline-comments" | "no-invalid-this" | "no-iterator" | "no-label-var" | "no-labels" | "no-lone-blocks" | "no-lonely-if" | "no-loop-func" | "no-magic-numbers" | "no-multi-assign" | "no-multi-str" | "no-negated-condition" | "no-nested-ternary" | "no-new" | "no-new-func" | "no-new-wrappers" | "no-nonoctal-decimal-escape" | "no-object-constructor" | "no-octal" | "no-octal-escape" | "no-param-reassign" | "no-plusplus" | "no-proto" | "no-redeclare" | "no-regex-spaces" | "no-restricted-exports" | "no-restricted-globals" | "no-restricted-imports" | "no-restricted-properties" | "no-restricted-syntax" | "no-return-assign" | "no-script-url" | "no-sequences" | "no-shadow" | "no-shadow-restricted-names" | "no-ternary" | "no-throw-literal" | "no-undef-init" | "no-undefined" | "no-underscore-dangle" | "no-unneeded-ternary" | "no-unused-expressions" | "no-unused-labels" | "no-useless-call" | "no-useless-catch" | "no-useless-computed-key" | "no-useless-concat" | "no-useless-constructor" | "no-useless-escape" | "no-useless-rename" | "no-useless-return" | "no-var" | "no-void" | "no-warning-comments" | "no-with" | "object-shorthand" | "one-var" | "operator-assignment" | "prefer-arrow-callback" | "prefer-const" | "prefer-destructuring" | "prefer-exponentiation-operator" | "prefer-named-capture-group" | "prefer-numeric-literals" | "prefer-object-has-own" | "prefer-object-spread" | "prefer-promise-reject-errors" | "prefer-regex-literals" | "prefer-rest-params" | "prefer-spread" | "prefer-template" | "radix" | "require-await" | "require-unicode-regexp" | "require-yield" | "sort-imports" | "sort-keys" | "sort-vars" | "strict" | "symbol-description" | "vars-on-top" | "yoda", RuleConfig<unknown[]>>;
7
+ typescript: Record<"no-dupe-class-members" | "no-unused-vars" | "no-use-before-define" | "class-methods-use-this" | "default-param-last" | "dot-notation" | "init-declarations" | "max-params" | "no-array-constructor" | "no-empty-function" | "no-implied-eval" | "no-loop-func" | "no-magic-numbers" | "no-redeclare" | "no-restricted-imports" | "no-shadow" | "no-unused-expressions" | "no-useless-constructor" | "prefer-destructuring" | "prefer-promise-reject-errors" | "require-await" | "ts/adjacent-overload-signatures" | "ts/array-type" | "ts/await-thenable" | "ts/ban-ts-comment" | "ts/ban-tslint-comment" | "ts/class-literal-property-style" | "ts/class-methods-use-this" | "ts/consistent-generic-constructors" | "ts/consistent-indexed-object-style" | "ts/consistent-type-assertions" | "ts/consistent-type-definitions" | "ts/consistent-type-exports" | "ts/consistent-type-imports" | "ts/default-param-last" | "ts/dot-notation" | "ts/explicit-function-return-type" | "ts/explicit-member-accessibility" | "ts/explicit-module-boundary-types" | "ts/init-declarations" | "ts/max-params" | "ts/member-ordering" | "ts/method-signature-style" | "ts/naming-convention" | "ts/no-array-constructor" | "ts/no-array-delete" | "ts/no-base-to-string" | "ts/no-confusing-non-null-assertion" | "ts/no-confusing-void-expression" | "ts/no-deprecated" | "ts/no-dupe-class-members" | "ts/no-duplicate-enum-values" | "ts/no-duplicate-type-constituents" | "ts/no-dynamic-delete" | "ts/no-empty-function" | "ts/no-empty-object-type" | "ts/no-explicit-any" | "ts/no-extra-non-null-assertion" | "ts/no-extraneous-class" | "ts/no-floating-promises" | "ts/no-for-in-array" | "ts/no-implied-eval" | "ts/no-import-type-side-effects" | "ts/no-inferrable-types" | "ts/no-invalid-void-type" | "ts/no-loop-func" | "ts/no-magic-numbers" | "ts/no-meaningless-void-operator" | "ts/no-misused-new" | "ts/no-misused-promises" | "ts/no-misused-spread" | "ts/no-mixed-enums" | "ts/no-namespace" | "ts/no-non-null-asserted-nullish-coalescing" | "ts/no-non-null-asserted-optional-chain" | "ts/no-non-null-assertion" | "ts/no-redeclare" | "ts/no-redundant-type-constituents" | "ts/no-require-imports" | "ts/no-restricted-imports" | "ts/no-restricted-types" | "ts/no-shadow" | "ts/no-this-alias" | "ts/no-unnecessary-boolean-literal-compare" | "ts/no-unnecessary-condition" | "ts/no-unnecessary-parameter-property-assignment" | "ts/no-unnecessary-qualifier" | "ts/no-unnecessary-template-expression" | "ts/no-unnecessary-type-arguments" | "ts/no-unnecessary-type-assertion" | "ts/no-unnecessary-type-constraint" | "ts/no-unnecessary-type-parameters" | "ts/no-unsafe-argument" | "ts/no-unsafe-assignment" | "ts/no-unsafe-call" | "ts/no-unsafe-declaration-merging" | "ts/no-unsafe-enum-comparison" | "ts/no-unsafe-function-type" | "ts/no-unsafe-member-access" | "ts/no-unsafe-return" | "ts/no-unsafe-type-assertion" | "ts/no-unsafe-unary-minus" | "ts/no-unused-expressions" | "ts/no-unused-vars" | "ts/no-use-before-define" | "ts/no-useless-constructor" | "ts/no-useless-empty-export" | "ts/no-wrapper-object-types" | "ts/non-nullable-type-assertion-style" | "ts/only-throw-error" | "ts/parameter-properties" | "ts/prefer-as-const" | "ts/prefer-destructuring" | "ts/prefer-enum-initializers" | "ts/prefer-find" | "ts/prefer-for-of" | "ts/prefer-function-type" | "ts/prefer-includes" | "ts/prefer-literal-enum-member" | "ts/prefer-namespace-keyword" | "ts/prefer-nullish-coalescing" | "ts/prefer-optional-chain" | "ts/prefer-promise-reject-errors" | "ts/prefer-readonly" | "ts/prefer-readonly-parameter-types" | "ts/prefer-reduce-type-parameter" | "ts/prefer-regexp-exec" | "ts/prefer-return-this-type" | "ts/prefer-string-starts-ends-with" | "ts/promise-function-async" | "ts/related-getter-setter-pairs" | "ts/require-array-sort-compare" | "ts/require-await" | "ts/restrict-plus-operands" | "ts/restrict-template-expressions" | "ts/return-await" | "ts/strict-boolean-expressions" | "ts/switch-exhaustiveness-check" | "ts/triple-slash-reference" | "ts/typedef" | "ts/unbound-method" | "ts/unified-signatures" | "ts/use-unknown-in-catch-callback-variable", RuleConfig<unknown[]>>;
8
+ react: Record<"react/component-hook-factories" | "react/error-boundaries" | "react/exhaustive-deps" | "react/immutability" | "react/no-access-state-in-setstate" | "react/no-array-index-key" | "react/no-children-count" | "react/no-children-for-each" | "react/no-children-map" | "react/no-children-only" | "react/no-children-to-array" | "react/no-class-component" | "react/no-clone-element" | "react/no-component-will-mount" | "react/no-component-will-receive-props" | "react/no-component-will-update" | "react/no-context-provider" | "react/no-create-ref" | "react/no-direct-mutation-state" | "react/no-duplicate-key" | "react/no-forward-ref" | "react/no-implicit-children" | "react/no-implicit-key" | "react/no-implicit-ref" | "react/no-leaked-conditional-rendering" | "react/no-missing-component-display-name" | "react/no-missing-context-display-name" | "react/no-missing-key" | "react/no-misused-capture-owner-stack" | "react/no-nested-component-definitions" | "react/no-nested-lazy-component-declarations" | "react/no-redundant-should-component-update" | "react/no-set-state-in-component-did-mount" | "react/no-set-state-in-component-did-update" | "react/no-set-state-in-component-will-update" | "react/no-unnecessary-use-callback" | "react/no-unnecessary-use-memo" | "react/no-unnecessary-use-prefix" | "react/no-unsafe-component-will-mount" | "react/no-unsafe-component-will-receive-props" | "react/no-unsafe-component-will-update" | "react/no-unstable-context-value" | "react/no-unstable-default-props" | "react/no-unused-class-component-members" | "react/no-unused-props" | "react/no-unused-state" | "react/no-use-context" | "react/prefer-destructuring-assignment" | "react/prefer-namespace-import" | "react/purity" | "react/refs" | "react/rules-of-hooks" | "react/set-state-in-effect" | "react/set-state-in-render" | "react/unsupported-syntax" | "react/use-memo" | "react/use-state" | "react/jsx-no-children-prop" | "react/jsx-no-children-prop-with-children" | "react/jsx-no-comment-textnodes" | "react/jsx-no-key-after-spread" | "react/jsx-no-leaked-dollar" | "react/jsx-no-leaked-semicolon" | "react/jsx-no-namespace" | "react/jsx-no-useless-fragment" | "react/rsc-function-definition" | "react/dom-no-dangerously-set-innerhtml-with-children" | "react/dom-no-dangerously-set-innerhtml" | "react/dom-no-find-dom-node" | "react/dom-no-flush-sync" | "react/dom-no-hydrate" | "react/dom-no-missing-button-type" | "react/dom-no-missing-iframe-sandbox" | "react/dom-no-render-return-value" | "react/dom-no-render" | "react/dom-no-script-url" | "react/dom-no-string-style-prop" | "react/dom-no-unknown-property" | "react/dom-no-unsafe-iframe-sandbox" | "react/dom-no-unsafe-target-blank" | "react/dom-no-use-form-state" | "react/dom-no-void-elements-with-children" | "react/dom-prefer-namespace-import" | "react/web-api-no-leaked-event-listener" | "react/web-api-no-leaked-interval" | "react/web-api-no-leaked-resize-observer" | "react/web-api-no-leaked-timeout" | "react/naming-convention-context-name" | "react/naming-convention-id-name" | "react/naming-convention-ref-name" | "react/debug-class-component" | "react/debug-function-component" | "react/debug-hook" | "react/debug-is-from-react" | "react/debug-is-from-ref" | "react/debug-jsx", RuleConfig<unknown[]>>;
9
+ reactHooks: Record<"react-hooks/exhaustive-deps" | "react-hooks/rules-of-hooks" | "react-hooks/component-hook-factories" | "react-hooks/config" | "react-hooks/error-boundaries" | "react-hooks/gating" | "react-hooks/globals" | "react-hooks/immutability" | "react-hooks/incompatible-library" | "react-hooks/preserve-manual-memoization" | "react-hooks/purity" | "react-hooks/refs" | "react-hooks/set-state-in-effect" | "react-hooks/set-state-in-render" | "react-hooks/static-components" | "react-hooks/unsupported-syntax" | "react-hooks/use-memo", RuleConfig<unknown[]>>;
10
+ vue: Record<"vue/comment-directive" | "vue/jsx-uses-vars" | "vue/multi-word-component-names" | "vue/no-arrow-functions-in-watch" | "vue/no-async-in-computed-properties" | "vue/no-child-content" | "vue/no-computed-properties-in-data" | "vue/no-dupe-keys" | "vue/no-dupe-v-else-if" | "vue/no-duplicate-attributes" | "vue/no-export-in-script-setup" | "vue/no-mutating-props" | "vue/no-parsing-error" | "vue/no-ref-as-operand" | "vue/no-reserved-component-names" | "vue/no-reserved-keys" | "vue/no-reserved-props" | "vue/no-shared-component-data" | "vue/no-side-effects-in-computed-properties" | "vue/no-template-key" | "vue/no-textarea-mustache" | "vue/no-unused-components" | "vue/no-unused-vars" | "vue/no-use-computed-property-like-method" | "vue/no-use-v-if-with-v-for" | "vue/no-useless-template-attributes" | "vue/no-v-text-v-html-on-component" | "vue/require-component-is" | "vue/require-prop-type-constructor" | "vue/require-render-return" | "vue/require-v-for-key" | "vue/require-valid-default-prop" | "vue/return-in-computed-property" | "vue/return-in-emits-validator" | "vue/use-v-on-exact" | "vue/valid-attribute-name" | "vue/valid-define-emits" | "vue/valid-define-props" | "vue/valid-next-tick" | "vue/valid-template-root" | "vue/valid-v-bind" | "vue/valid-v-cloak" | "vue/valid-v-else-if" | "vue/valid-v-else" | "vue/valid-v-for" | "vue/valid-v-html" | "vue/valid-v-if" | "vue/valid-v-model" | "vue/valid-v-on" | "vue/valid-v-once" | "vue/valid-v-pre" | "vue/valid-v-show" | "vue/valid-v-slot" | "vue/valid-v-text" | "vue/no-deprecated-data-object-declaration" | "vue/no-deprecated-delete-set" | "vue/no-deprecated-destroyed-lifecycle" | "vue/no-deprecated-dollar-listeners-api" | "vue/no-deprecated-dollar-scopedslots-api" | "vue/no-deprecated-events-api" | "vue/no-deprecated-filter" | "vue/no-deprecated-functional-template" | "vue/no-deprecated-html-element-is" | "vue/no-deprecated-inline-template" | "vue/no-deprecated-model-definition" | "vue/no-deprecated-props-default-this" | "vue/no-deprecated-router-link-tag-prop" | "vue/no-deprecated-scope-attribute" | "vue/no-deprecated-slot-attribute" | "vue/no-deprecated-slot-scope-attribute" | "vue/no-deprecated-v-bind-sync" | "vue/no-deprecated-v-is" | "vue/no-deprecated-v-on-native-modifier" | "vue/no-deprecated-v-on-number-modifiers" | "vue/no-deprecated-vue-config-keycodes" | "vue/no-expose-after-await" | "vue/no-lifecycle-after-await" | "vue/no-v-for-template-key-on-child" | "vue/no-watch-after-await" | "vue/prefer-import-from-vue" | "vue/require-slots-as-functions" | "vue/require-toggle-inside-transition" | "vue/valid-define-options" | "vue/valid-v-is" | "vue/valid-v-memo" | "vue/no-custom-modifiers-on-v-model" | "vue/no-multiple-template-root" | "vue/attribute-hyphenation" | "vue/component-definition-name-casing" | "vue/first-attribute-linebreak" | "vue/html-closing-bracket-newline" | "vue/html-closing-bracket-spacing" | "vue/html-end-tags" | "vue/html-indent" | "vue/html-quotes" | "vue/html-self-closing" | "vue/max-attributes-per-line" | "vue/multiline-html-element-content-newline" | "vue/mustache-interpolation-spacing" | "vue/no-multi-spaces" | "vue/no-spaces-around-equal-signs-in-attribute" | "vue/no-template-shadow" | "vue/one-component-per-file" | "vue/prop-name-casing" | "vue/require-default-prop" | "vue/require-prop-types" | "vue/singleline-html-element-content-newline" | "vue/v-bind-style" | "vue/v-on-style" | "vue/v-slot-style" | "vue/require-explicit-emits" | "vue/v-on-event-hyphenation" | "vue/attributes-order" | "vue/block-order" | "vue/no-lone-template" | "vue/no-multiple-slot-args" | "vue/no-required-prop-with-default" | "vue/no-v-html" | "vue/order-in-components" | "vue/this-in-template" | "vue/block-lang" | "vue/block-tag-newline" | "vue/component-api-style" | "vue/component-name-in-template-casing" | "vue/component-options-name-casing" | "vue/custom-event-name-casing" | "vue/define-emits-declaration" | "vue/define-macros-order" | "vue/define-props-declaration" | "vue/define-props-destructuring" | "vue/enforce-style-attribute" | "vue/html-button-has-type" | "vue/html-comment-content-newline" | "vue/html-comment-content-spacing" | "vue/html-comment-indent" | "vue/match-component-file-name" | "vue/match-component-import-name" | "vue/max-lines-per-block" | "vue/max-props" | "vue/max-template-depth" | "vue/new-line-between-multi-line-property" | "vue/next-tick-style" | "vue/no-bare-strings-in-template" | "vue/no-boolean-default" | "vue/no-duplicate-attr-inheritance" | "vue/no-duplicate-class-names" | "vue/no-empty-component-block" | "vue/no-import-compiler-macros" | "vue/no-multiple-objects-in-class" | "vue/no-negated-v-if-condition" | "vue/no-potential-component-option-typo" | "vue/no-ref-object-reactivity-loss" | "vue/no-restricted-block" | "vue/no-restricted-call-after-await" | "vue/no-restricted-class" | "vue/no-restricted-component-names" | "vue/no-restricted-component-options" | "vue/no-restricted-custom-event" | "vue/no-restricted-html-elements" | "vue/no-restricted-props" | "vue/no-restricted-static-attribute" | "vue/no-restricted-v-bind" | "vue/no-restricted-v-on" | "vue/no-root-v-if" | "vue/no-setup-props-reactivity-loss" | "vue/no-static-inline-styles" | "vue/no-template-target-blank" | "vue/no-this-in-before-route-enter" | "vue/no-undef-components" | "vue/no-undef-properties" | "vue/no-unsupported-features" | "vue/no-unused-emit-declarations" | "vue/no-unused-properties" | "vue/no-unused-refs" | "vue/no-use-v-else-with-v-for" | "vue/no-useless-mustaches" | "vue/no-useless-v-bind" | "vue/no-v-text" | "vue/padding-line-between-blocks" | "vue/padding-line-between-tags" | "vue/padding-lines-in-component-definition" | "vue/prefer-define-options" | "vue/prefer-prop-type-boolean-first" | "vue/prefer-separate-static-class" | "vue/prefer-true-attribute-shorthand" | "vue/prefer-use-template-ref" | "vue/require-default-export" | "vue/require-direct-export" | "vue/require-emit-validator" | "vue/require-explicit-slots" | "vue/require-expose" | "vue/require-macro-variable-name" | "vue/require-name-property" | "vue/require-prop-comment" | "vue/require-typed-object-prop" | "vue/require-typed-ref" | "vue/restricted-component-names" | "vue/script-indent" | "vue/slot-name-casing" | "vue/sort-keys" | "vue/static-class-names-order" | "vue/v-for-delimiter-style" | "vue/v-if-else-key" | "vue/v-on-handler-style" | "vue/array-bracket-newline" | "vue/array-bracket-spacing" | "vue/array-element-newline" | "vue/arrow-spacing" | "vue/block-spacing" | "vue/brace-style" | "vue/camelcase" | "vue/comma-dangle" | "vue/comma-spacing" | "vue/comma-style" | "vue/dot-location" | "vue/dot-notation" | "vue/eqeqeq" | "vue/func-call-spacing" | "vue/key-spacing" | "vue/keyword-spacing" | "vue/max-len" | "vue/multiline-ternary" | "vue/no-console" | "vue/no-constant-condition" | "vue/no-empty-pattern" | "vue/no-extra-parens" | "vue/no-implicit-coercion" | "vue/no-irregular-whitespace" | "vue/no-loss-of-precision" | "vue/no-negated-condition" | "vue/no-restricted-syntax" | "vue/no-sparse-arrays" | "vue/no-useless-concat" | "vue/object-curly-newline" | "vue/object-curly-spacing" | "vue/object-property-newline" | "vue/object-shorthand" | "vue/operator-linebreak" | "vue/prefer-template" | "vue/quote-props" | "vue/space-in-parens" | "vue/space-infix-ops" | "vue/space-unary-ops" | "vue/template-curly-spacing", RuleConfig<unknown[]>>;
11
+ stylistic: Record<"stylistic/array-bracket-newline" | "stylistic/array-bracket-spacing" | "stylistic/array-element-newline" | "stylistic/arrow-parens" | "stylistic/arrow-spacing" | "stylistic/block-spacing" | "stylistic/brace-style" | "stylistic/comma-dangle" | "stylistic/comma-spacing" | "stylistic/comma-style" | "stylistic/computed-property-spacing" | "stylistic/curly-newline" | "stylistic/dot-location" | "stylistic/eol-last" | "stylistic/function-call-argument-newline" | "stylistic/function-call-spacing" | "stylistic/function-paren-newline" | "stylistic/generator-star-spacing" | "stylistic/implicit-arrow-linebreak" | "stylistic/indent" | "stylistic/indent-binary-ops" | "stylistic/jsx-child-element-spacing" | "stylistic/jsx-closing-bracket-location" | "stylistic/jsx-closing-tag-location" | "stylistic/jsx-curly-brace-presence" | "stylistic/jsx-curly-newline" | "stylistic/jsx-curly-spacing" | "stylistic/jsx-equals-spacing" | "stylistic/jsx-first-prop-new-line" | "stylistic/jsx-function-call-newline" | "stylistic/jsx-indent-props" | "stylistic/jsx-max-props-per-line" | "stylistic/jsx-newline" | "stylistic/jsx-one-expression-per-line" | "stylistic/jsx-pascal-case" | "stylistic/jsx-quotes" | "stylistic/jsx-self-closing-comp" | "stylistic/jsx-tag-spacing" | "stylistic/jsx-wrap-multilines" | "stylistic/key-spacing" | "stylistic/keyword-spacing" | "stylistic/line-comment-position" | "stylistic/linebreak-style" | "stylistic/lines-around-comment" | "stylistic/lines-between-class-members" | "stylistic/max-len" | "stylistic/max-statements-per-line" | "stylistic/member-delimiter-style" | "stylistic/multiline-comment-style" | "stylistic/multiline-ternary" | "stylistic/new-parens" | "stylistic/newline-per-chained-call" | "stylistic/no-confusing-arrow" | "stylistic/no-extra-parens" | "stylistic/no-extra-semi" | "stylistic/no-floating-decimal" | "stylistic/no-mixed-operators" | "stylistic/no-mixed-spaces-and-tabs" | "stylistic/no-multi-spaces" | "stylistic/no-multiple-empty-lines" | "stylistic/no-tabs" | "stylistic/no-trailing-spaces" | "stylistic/no-whitespace-before-property" | "stylistic/nonblock-statement-body-position" | "stylistic/object-curly-newline" | "stylistic/object-curly-spacing" | "stylistic/object-property-newline" | "stylistic/one-var-declaration-per-line" | "stylistic/operator-linebreak" | "stylistic/padded-blocks" | "stylistic/padding-line-between-statements" | "stylistic/quote-props" | "stylistic/quotes" | "stylistic/rest-spread-spacing" | "stylistic/semi" | "stylistic/semi-spacing" | "stylistic/semi-style" | "stylistic/space-before-blocks" | "stylistic/space-before-function-paren" | "stylistic/space-in-parens" | "stylistic/space-infix-ops" | "stylistic/space-unary-ops" | "stylistic/spaced-comment" | "stylistic/switch-colon-spacing" | "stylistic/template-curly-spacing" | "stylistic/template-tag-spacing" | "stylistic/type-annotation-spacing" | "stylistic/type-generic-spacing" | "stylistic/type-named-tuple-spacing" | "stylistic/wrap-iife" | "stylistic/wrap-regex" | "stylistic/yield-star-spacing", RuleConfig<unknown[]>>;
12
+ antfu: Record<"antfu/consistent-chaining" | "antfu/consistent-list-newline" | "antfu/curly" | "antfu/if-newline" | "antfu/import-dedupe" | "antfu/indent-unindent" | "antfu/no-import-dist" | "antfu/no-import-node-modules-by-path" | "antfu/no-top-level-await" | "antfu/no-ts-export-equal" | "antfu/top-level-function", RuleConfig<unknown[]>>;
13
+ imports: Record<"imports/consistent-type-specifier-style" | "imports/exports-last" | "imports/first" | "imports/newline-after-import" | "imports/no-default-export" | "imports/no-duplicates" | "imports/no-mutable-exports" | "imports/no-named-default" | "imports/prefer-default-export", RuleConfig<unknown[]>>;
14
+ importsSort: Record<"importsSort/imports" | "importsSort/exports", RuleConfig<unknown[]>>;
15
+ };
16
+ declare function createRules(rule: keyof typeof rules, prefix?: string): Record<"array-callback-return" | "constructor-super" | "for-direction" | "getter-return" | "no-async-promise-executor" | "no-await-in-loop" | "no-class-assign" | "no-compare-neg-zero" | "no-cond-assign" | "no-const-assign" | "no-constant-binary-expression" | "no-constant-condition" | "no-constructor-return" | "no-control-regex" | "no-debugger" | "no-dupe-args" | "no-dupe-class-members" | "no-dupe-else-if" | "no-dupe-keys" | "no-duplicate-case" | "no-duplicate-imports" | "no-empty-character-class" | "no-empty-pattern" | "no-ex-assign" | "no-fallthrough" | "no-func-assign" | "no-import-assign" | "no-inner-declarations" | "no-invalid-regexp" | "no-irregular-whitespace" | "no-loss-of-precision" | "no-misleading-character-class" | "no-new-native-nonconstructor" | "no-obj-calls" | "no-promise-executor-return" | "no-prototype-builtins" | "no-self-assign" | "no-self-compare" | "no-setter-return" | "no-sparse-arrays" | "no-template-curly-in-string" | "no-this-before-super" | "no-undef" | "no-unexpected-multiline" | "no-unmodified-loop-condition" | "no-unreachable" | "no-unreachable-loop" | "no-unsafe-finally" | "no-unsafe-negation" | "no-unsafe-optional-chaining" | "no-unused-private-class-members" | "no-unused-vars" | "no-use-before-define" | "no-useless-assignment" | "no-useless-backreference" | "require-atomic-updates" | "use-isnan" | "valid-typeof" | "accessor-pairs" | "arrow-body-style" | "block-scoped-var" | "camelcase" | "capitalized-comments" | "class-methods-use-this" | "complexity" | "consistent-return" | "consistent-this" | "curly" | "default-case" | "default-case-last" | "default-param-last" | "dot-notation" | "eqeqeq" | "func-name-matching" | "func-names" | "func-style" | "grouped-accessor-pairs" | "guard-for-in" | "id-denylist" | "id-length" | "id-match" | "init-declarations" | "logical-assignment-operators" | "max-classes-per-file" | "max-depth" | "max-lines" | "max-lines-per-function" | "max-nested-callbacks" | "max-params" | "max-statements" | "new-cap" | "no-alert" | "no-array-constructor" | "no-bitwise" | "no-caller" | "no-case-declarations" | "no-console" | "no-continue" | "no-delete-var" | "no-div-regex" | "no-else-return" | "no-empty" | "no-empty-function" | "no-empty-static-block" | "no-eq-null" | "no-eval" | "no-extend-native" | "no-extra-bind" | "no-extra-boolean-cast" | "no-extra-label" | "no-global-assign" | "no-implicit-coercion" | "no-implicit-globals" | "no-implied-eval" | "no-inline-comments" | "no-invalid-this" | "no-iterator" | "no-label-var" | "no-labels" | "no-lone-blocks" | "no-lonely-if" | "no-loop-func" | "no-magic-numbers" | "no-multi-assign" | "no-multi-str" | "no-negated-condition" | "no-nested-ternary" | "no-new" | "no-new-func" | "no-new-wrappers" | "no-nonoctal-decimal-escape" | "no-object-constructor" | "no-octal" | "no-octal-escape" | "no-param-reassign" | "no-plusplus" | "no-proto" | "no-redeclare" | "no-regex-spaces" | "no-restricted-exports" | "no-restricted-globals" | "no-restricted-imports" | "no-restricted-properties" | "no-restricted-syntax" | "no-return-assign" | "no-script-url" | "no-sequences" | "no-shadow" | "no-shadow-restricted-names" | "no-ternary" | "no-throw-literal" | "no-undef-init" | "no-undefined" | "no-underscore-dangle" | "no-unneeded-ternary" | "no-unused-expressions" | "no-unused-labels" | "no-useless-call" | "no-useless-catch" | "no-useless-computed-key" | "no-useless-concat" | "no-useless-constructor" | "no-useless-escape" | "no-useless-rename" | "no-useless-return" | "no-var" | "no-void" | "no-warning-comments" | "no-with" | "object-shorthand" | "one-var" | "operator-assignment" | "prefer-arrow-callback" | "prefer-const" | "prefer-destructuring" | "prefer-exponentiation-operator" | "prefer-named-capture-group" | "prefer-numeric-literals" | "prefer-object-has-own" | "prefer-object-spread" | "prefer-promise-reject-errors" | "prefer-regex-literals" | "prefer-rest-params" | "prefer-spread" | "prefer-template" | "radix" | "require-await" | "require-unicode-regexp" | "require-yield" | "sort-imports" | "sort-keys" | "sort-vars" | "strict" | "symbol-description" | "vars-on-top" | "yoda", RuleConfig<unknown[]>> | Record<"no-dupe-class-members" | "no-unused-vars" | "no-use-before-define" | "class-methods-use-this" | "default-param-last" | "dot-notation" | "init-declarations" | "max-params" | "no-array-constructor" | "no-empty-function" | "no-implied-eval" | "no-loop-func" | "no-magic-numbers" | "no-redeclare" | "no-restricted-imports" | "no-shadow" | "no-unused-expressions" | "no-useless-constructor" | "prefer-destructuring" | "prefer-promise-reject-errors" | "require-await" | "ts/adjacent-overload-signatures" | "ts/array-type" | "ts/await-thenable" | "ts/ban-ts-comment" | "ts/ban-tslint-comment" | "ts/class-literal-property-style" | "ts/class-methods-use-this" | "ts/consistent-generic-constructors" | "ts/consistent-indexed-object-style" | "ts/consistent-type-assertions" | "ts/consistent-type-definitions" | "ts/consistent-type-exports" | "ts/consistent-type-imports" | "ts/default-param-last" | "ts/dot-notation" | "ts/explicit-function-return-type" | "ts/explicit-member-accessibility" | "ts/explicit-module-boundary-types" | "ts/init-declarations" | "ts/max-params" | "ts/member-ordering" | "ts/method-signature-style" | "ts/naming-convention" | "ts/no-array-constructor" | "ts/no-array-delete" | "ts/no-base-to-string" | "ts/no-confusing-non-null-assertion" | "ts/no-confusing-void-expression" | "ts/no-deprecated" | "ts/no-dupe-class-members" | "ts/no-duplicate-enum-values" | "ts/no-duplicate-type-constituents" | "ts/no-dynamic-delete" | "ts/no-empty-function" | "ts/no-empty-object-type" | "ts/no-explicit-any" | "ts/no-extra-non-null-assertion" | "ts/no-extraneous-class" | "ts/no-floating-promises" | "ts/no-for-in-array" | "ts/no-implied-eval" | "ts/no-import-type-side-effects" | "ts/no-inferrable-types" | "ts/no-invalid-void-type" | "ts/no-loop-func" | "ts/no-magic-numbers" | "ts/no-meaningless-void-operator" | "ts/no-misused-new" | "ts/no-misused-promises" | "ts/no-misused-spread" | "ts/no-mixed-enums" | "ts/no-namespace" | "ts/no-non-null-asserted-nullish-coalescing" | "ts/no-non-null-asserted-optional-chain" | "ts/no-non-null-assertion" | "ts/no-redeclare" | "ts/no-redundant-type-constituents" | "ts/no-require-imports" | "ts/no-restricted-imports" | "ts/no-restricted-types" | "ts/no-shadow" | "ts/no-this-alias" | "ts/no-unnecessary-boolean-literal-compare" | "ts/no-unnecessary-condition" | "ts/no-unnecessary-parameter-property-assignment" | "ts/no-unnecessary-qualifier" | "ts/no-unnecessary-template-expression" | "ts/no-unnecessary-type-arguments" | "ts/no-unnecessary-type-assertion" | "ts/no-unnecessary-type-constraint" | "ts/no-unnecessary-type-parameters" | "ts/no-unsafe-argument" | "ts/no-unsafe-assignment" | "ts/no-unsafe-call" | "ts/no-unsafe-declaration-merging" | "ts/no-unsafe-enum-comparison" | "ts/no-unsafe-function-type" | "ts/no-unsafe-member-access" | "ts/no-unsafe-return" | "ts/no-unsafe-type-assertion" | "ts/no-unsafe-unary-minus" | "ts/no-unused-expressions" | "ts/no-unused-vars" | "ts/no-use-before-define" | "ts/no-useless-constructor" | "ts/no-useless-empty-export" | "ts/no-wrapper-object-types" | "ts/non-nullable-type-assertion-style" | "ts/only-throw-error" | "ts/parameter-properties" | "ts/prefer-as-const" | "ts/prefer-destructuring" | "ts/prefer-enum-initializers" | "ts/prefer-find" | "ts/prefer-for-of" | "ts/prefer-function-type" | "ts/prefer-includes" | "ts/prefer-literal-enum-member" | "ts/prefer-namespace-keyword" | "ts/prefer-nullish-coalescing" | "ts/prefer-optional-chain" | "ts/prefer-promise-reject-errors" | "ts/prefer-readonly" | "ts/prefer-readonly-parameter-types" | "ts/prefer-reduce-type-parameter" | "ts/prefer-regexp-exec" | "ts/prefer-return-this-type" | "ts/prefer-string-starts-ends-with" | "ts/promise-function-async" | "ts/related-getter-setter-pairs" | "ts/require-array-sort-compare" | "ts/require-await" | "ts/restrict-plus-operands" | "ts/restrict-template-expressions" | "ts/return-await" | "ts/strict-boolean-expressions" | "ts/switch-exhaustiveness-check" | "ts/triple-slash-reference" | "ts/typedef" | "ts/unbound-method" | "ts/unified-signatures" | "ts/use-unknown-in-catch-callback-variable", RuleConfig<unknown[]>> | Record<"react/component-hook-factories" | "react/error-boundaries" | "react/exhaustive-deps" | "react/immutability" | "react/no-access-state-in-setstate" | "react/no-array-index-key" | "react/no-children-count" | "react/no-children-for-each" | "react/no-children-map" | "react/no-children-only" | "react/no-children-to-array" | "react/no-class-component" | "react/no-clone-element" | "react/no-component-will-mount" | "react/no-component-will-receive-props" | "react/no-component-will-update" | "react/no-context-provider" | "react/no-create-ref" | "react/no-direct-mutation-state" | "react/no-duplicate-key" | "react/no-forward-ref" | "react/no-implicit-children" | "react/no-implicit-key" | "react/no-implicit-ref" | "react/no-leaked-conditional-rendering" | "react/no-missing-component-display-name" | "react/no-missing-context-display-name" | "react/no-missing-key" | "react/no-misused-capture-owner-stack" | "react/no-nested-component-definitions" | "react/no-nested-lazy-component-declarations" | "react/no-redundant-should-component-update" | "react/no-set-state-in-component-did-mount" | "react/no-set-state-in-component-did-update" | "react/no-set-state-in-component-will-update" | "react/no-unnecessary-use-callback" | "react/no-unnecessary-use-memo" | "react/no-unnecessary-use-prefix" | "react/no-unsafe-component-will-mount" | "react/no-unsafe-component-will-receive-props" | "react/no-unsafe-component-will-update" | "react/no-unstable-context-value" | "react/no-unstable-default-props" | "react/no-unused-class-component-members" | "react/no-unused-props" | "react/no-unused-state" | "react/no-use-context" | "react/prefer-destructuring-assignment" | "react/prefer-namespace-import" | "react/purity" | "react/refs" | "react/rules-of-hooks" | "react/set-state-in-effect" | "react/set-state-in-render" | "react/unsupported-syntax" | "react/use-memo" | "react/use-state" | "react/jsx-no-children-prop" | "react/jsx-no-children-prop-with-children" | "react/jsx-no-comment-textnodes" | "react/jsx-no-key-after-spread" | "react/jsx-no-leaked-dollar" | "react/jsx-no-leaked-semicolon" | "react/jsx-no-namespace" | "react/jsx-no-useless-fragment" | "react/rsc-function-definition" | "react/dom-no-dangerously-set-innerhtml-with-children" | "react/dom-no-dangerously-set-innerhtml" | "react/dom-no-find-dom-node" | "react/dom-no-flush-sync" | "react/dom-no-hydrate" | "react/dom-no-missing-button-type" | "react/dom-no-missing-iframe-sandbox" | "react/dom-no-render-return-value" | "react/dom-no-render" | "react/dom-no-script-url" | "react/dom-no-string-style-prop" | "react/dom-no-unknown-property" | "react/dom-no-unsafe-iframe-sandbox" | "react/dom-no-unsafe-target-blank" | "react/dom-no-use-form-state" | "react/dom-no-void-elements-with-children" | "react/dom-prefer-namespace-import" | "react/web-api-no-leaked-event-listener" | "react/web-api-no-leaked-interval" | "react/web-api-no-leaked-resize-observer" | "react/web-api-no-leaked-timeout" | "react/naming-convention-context-name" | "react/naming-convention-id-name" | "react/naming-convention-ref-name" | "react/debug-class-component" | "react/debug-function-component" | "react/debug-hook" | "react/debug-is-from-react" | "react/debug-is-from-ref" | "react/debug-jsx", RuleConfig<unknown[]>> | Record<"react-hooks/exhaustive-deps" | "react-hooks/rules-of-hooks" | "react-hooks/component-hook-factories" | "react-hooks/config" | "react-hooks/error-boundaries" | "react-hooks/gating" | "react-hooks/globals" | "react-hooks/immutability" | "react-hooks/incompatible-library" | "react-hooks/preserve-manual-memoization" | "react-hooks/purity" | "react-hooks/refs" | "react-hooks/set-state-in-effect" | "react-hooks/set-state-in-render" | "react-hooks/static-components" | "react-hooks/unsupported-syntax" | "react-hooks/use-memo", RuleConfig<unknown[]>> | Record<"vue/comment-directive" | "vue/jsx-uses-vars" | "vue/multi-word-component-names" | "vue/no-arrow-functions-in-watch" | "vue/no-async-in-computed-properties" | "vue/no-child-content" | "vue/no-computed-properties-in-data" | "vue/no-dupe-keys" | "vue/no-dupe-v-else-if" | "vue/no-duplicate-attributes" | "vue/no-export-in-script-setup" | "vue/no-mutating-props" | "vue/no-parsing-error" | "vue/no-ref-as-operand" | "vue/no-reserved-component-names" | "vue/no-reserved-keys" | "vue/no-reserved-props" | "vue/no-shared-component-data" | "vue/no-side-effects-in-computed-properties" | "vue/no-template-key" | "vue/no-textarea-mustache" | "vue/no-unused-components" | "vue/no-unused-vars" | "vue/no-use-computed-property-like-method" | "vue/no-use-v-if-with-v-for" | "vue/no-useless-template-attributes" | "vue/no-v-text-v-html-on-component" | "vue/require-component-is" | "vue/require-prop-type-constructor" | "vue/require-render-return" | "vue/require-v-for-key" | "vue/require-valid-default-prop" | "vue/return-in-computed-property" | "vue/return-in-emits-validator" | "vue/use-v-on-exact" | "vue/valid-attribute-name" | "vue/valid-define-emits" | "vue/valid-define-props" | "vue/valid-next-tick" | "vue/valid-template-root" | "vue/valid-v-bind" | "vue/valid-v-cloak" | "vue/valid-v-else-if" | "vue/valid-v-else" | "vue/valid-v-for" | "vue/valid-v-html" | "vue/valid-v-if" | "vue/valid-v-model" | "vue/valid-v-on" | "vue/valid-v-once" | "vue/valid-v-pre" | "vue/valid-v-show" | "vue/valid-v-slot" | "vue/valid-v-text" | "vue/no-deprecated-data-object-declaration" | "vue/no-deprecated-delete-set" | "vue/no-deprecated-destroyed-lifecycle" | "vue/no-deprecated-dollar-listeners-api" | "vue/no-deprecated-dollar-scopedslots-api" | "vue/no-deprecated-events-api" | "vue/no-deprecated-filter" | "vue/no-deprecated-functional-template" | "vue/no-deprecated-html-element-is" | "vue/no-deprecated-inline-template" | "vue/no-deprecated-model-definition" | "vue/no-deprecated-props-default-this" | "vue/no-deprecated-router-link-tag-prop" | "vue/no-deprecated-scope-attribute" | "vue/no-deprecated-slot-attribute" | "vue/no-deprecated-slot-scope-attribute" | "vue/no-deprecated-v-bind-sync" | "vue/no-deprecated-v-is" | "vue/no-deprecated-v-on-native-modifier" | "vue/no-deprecated-v-on-number-modifiers" | "vue/no-deprecated-vue-config-keycodes" | "vue/no-expose-after-await" | "vue/no-lifecycle-after-await" | "vue/no-v-for-template-key-on-child" | "vue/no-watch-after-await" | "vue/prefer-import-from-vue" | "vue/require-slots-as-functions" | "vue/require-toggle-inside-transition" | "vue/valid-define-options" | "vue/valid-v-is" | "vue/valid-v-memo" | "vue/no-custom-modifiers-on-v-model" | "vue/no-multiple-template-root" | "vue/attribute-hyphenation" | "vue/component-definition-name-casing" | "vue/first-attribute-linebreak" | "vue/html-closing-bracket-newline" | "vue/html-closing-bracket-spacing" | "vue/html-end-tags" | "vue/html-indent" | "vue/html-quotes" | "vue/html-self-closing" | "vue/max-attributes-per-line" | "vue/multiline-html-element-content-newline" | "vue/mustache-interpolation-spacing" | "vue/no-multi-spaces" | "vue/no-spaces-around-equal-signs-in-attribute" | "vue/no-template-shadow" | "vue/one-component-per-file" | "vue/prop-name-casing" | "vue/require-default-prop" | "vue/require-prop-types" | "vue/singleline-html-element-content-newline" | "vue/v-bind-style" | "vue/v-on-style" | "vue/v-slot-style" | "vue/require-explicit-emits" | "vue/v-on-event-hyphenation" | "vue/attributes-order" | "vue/block-order" | "vue/no-lone-template" | "vue/no-multiple-slot-args" | "vue/no-required-prop-with-default" | "vue/no-v-html" | "vue/order-in-components" | "vue/this-in-template" | "vue/block-lang" | "vue/block-tag-newline" | "vue/component-api-style" | "vue/component-name-in-template-casing" | "vue/component-options-name-casing" | "vue/custom-event-name-casing" | "vue/define-emits-declaration" | "vue/define-macros-order" | "vue/define-props-declaration" | "vue/define-props-destructuring" | "vue/enforce-style-attribute" | "vue/html-button-has-type" | "vue/html-comment-content-newline" | "vue/html-comment-content-spacing" | "vue/html-comment-indent" | "vue/match-component-file-name" | "vue/match-component-import-name" | "vue/max-lines-per-block" | "vue/max-props" | "vue/max-template-depth" | "vue/new-line-between-multi-line-property" | "vue/next-tick-style" | "vue/no-bare-strings-in-template" | "vue/no-boolean-default" | "vue/no-duplicate-attr-inheritance" | "vue/no-duplicate-class-names" | "vue/no-empty-component-block" | "vue/no-import-compiler-macros" | "vue/no-multiple-objects-in-class" | "vue/no-negated-v-if-condition" | "vue/no-potential-component-option-typo" | "vue/no-ref-object-reactivity-loss" | "vue/no-restricted-block" | "vue/no-restricted-call-after-await" | "vue/no-restricted-class" | "vue/no-restricted-component-names" | "vue/no-restricted-component-options" | "vue/no-restricted-custom-event" | "vue/no-restricted-html-elements" | "vue/no-restricted-props" | "vue/no-restricted-static-attribute" | "vue/no-restricted-v-bind" | "vue/no-restricted-v-on" | "vue/no-root-v-if" | "vue/no-setup-props-reactivity-loss" | "vue/no-static-inline-styles" | "vue/no-template-target-blank" | "vue/no-this-in-before-route-enter" | "vue/no-undef-components" | "vue/no-undef-properties" | "vue/no-unsupported-features" | "vue/no-unused-emit-declarations" | "vue/no-unused-properties" | "vue/no-unused-refs" | "vue/no-use-v-else-with-v-for" | "vue/no-useless-mustaches" | "vue/no-useless-v-bind" | "vue/no-v-text" | "vue/padding-line-between-blocks" | "vue/padding-line-between-tags" | "vue/padding-lines-in-component-definition" | "vue/prefer-define-options" | "vue/prefer-prop-type-boolean-first" | "vue/prefer-separate-static-class" | "vue/prefer-true-attribute-shorthand" | "vue/prefer-use-template-ref" | "vue/require-default-export" | "vue/require-direct-export" | "vue/require-emit-validator" | "vue/require-explicit-slots" | "vue/require-expose" | "vue/require-macro-variable-name" | "vue/require-name-property" | "vue/require-prop-comment" | "vue/require-typed-object-prop" | "vue/require-typed-ref" | "vue/restricted-component-names" | "vue/script-indent" | "vue/slot-name-casing" | "vue/sort-keys" | "vue/static-class-names-order" | "vue/v-for-delimiter-style" | "vue/v-if-else-key" | "vue/v-on-handler-style" | "vue/array-bracket-newline" | "vue/array-bracket-spacing" | "vue/array-element-newline" | "vue/arrow-spacing" | "vue/block-spacing" | "vue/brace-style" | "vue/camelcase" | "vue/comma-dangle" | "vue/comma-spacing" | "vue/comma-style" | "vue/dot-location" | "vue/dot-notation" | "vue/eqeqeq" | "vue/func-call-spacing" | "vue/key-spacing" | "vue/keyword-spacing" | "vue/max-len" | "vue/multiline-ternary" | "vue/no-console" | "vue/no-constant-condition" | "vue/no-empty-pattern" | "vue/no-extra-parens" | "vue/no-implicit-coercion" | "vue/no-irregular-whitespace" | "vue/no-loss-of-precision" | "vue/no-negated-condition" | "vue/no-restricted-syntax" | "vue/no-sparse-arrays" | "vue/no-useless-concat" | "vue/object-curly-newline" | "vue/object-curly-spacing" | "vue/object-property-newline" | "vue/object-shorthand" | "vue/operator-linebreak" | "vue/prefer-template" | "vue/quote-props" | "vue/space-in-parens" | "vue/space-infix-ops" | "vue/space-unary-ops" | "vue/template-curly-spacing", RuleConfig<unknown[]>> | Record<"stylistic/array-bracket-newline" | "stylistic/array-bracket-spacing" | "stylistic/array-element-newline" | "stylistic/arrow-parens" | "stylistic/arrow-spacing" | "stylistic/block-spacing" | "stylistic/brace-style" | "stylistic/comma-dangle" | "stylistic/comma-spacing" | "stylistic/comma-style" | "stylistic/computed-property-spacing" | "stylistic/curly-newline" | "stylistic/dot-location" | "stylistic/eol-last" | "stylistic/function-call-argument-newline" | "stylistic/function-call-spacing" | "stylistic/function-paren-newline" | "stylistic/generator-star-spacing" | "stylistic/implicit-arrow-linebreak" | "stylistic/indent" | "stylistic/indent-binary-ops" | "stylistic/jsx-child-element-spacing" | "stylistic/jsx-closing-bracket-location" | "stylistic/jsx-closing-tag-location" | "stylistic/jsx-curly-brace-presence" | "stylistic/jsx-curly-newline" | "stylistic/jsx-curly-spacing" | "stylistic/jsx-equals-spacing" | "stylistic/jsx-first-prop-new-line" | "stylistic/jsx-function-call-newline" | "stylistic/jsx-indent-props" | "stylistic/jsx-max-props-per-line" | "stylistic/jsx-newline" | "stylistic/jsx-one-expression-per-line" | "stylistic/jsx-pascal-case" | "stylistic/jsx-quotes" | "stylistic/jsx-self-closing-comp" | "stylistic/jsx-tag-spacing" | "stylistic/jsx-wrap-multilines" | "stylistic/key-spacing" | "stylistic/keyword-spacing" | "stylistic/line-comment-position" | "stylistic/linebreak-style" | "stylistic/lines-around-comment" | "stylistic/lines-between-class-members" | "stylistic/max-len" | "stylistic/max-statements-per-line" | "stylistic/member-delimiter-style" | "stylistic/multiline-comment-style" | "stylistic/multiline-ternary" | "stylistic/new-parens" | "stylistic/newline-per-chained-call" | "stylistic/no-confusing-arrow" | "stylistic/no-extra-parens" | "stylistic/no-extra-semi" | "stylistic/no-floating-decimal" | "stylistic/no-mixed-operators" | "stylistic/no-mixed-spaces-and-tabs" | "stylistic/no-multi-spaces" | "stylistic/no-multiple-empty-lines" | "stylistic/no-tabs" | "stylistic/no-trailing-spaces" | "stylistic/no-whitespace-before-property" | "stylistic/nonblock-statement-body-position" | "stylistic/object-curly-newline" | "stylistic/object-curly-spacing" | "stylistic/object-property-newline" | "stylistic/one-var-declaration-per-line" | "stylistic/operator-linebreak" | "stylistic/padded-blocks" | "stylistic/padding-line-between-statements" | "stylistic/quote-props" | "stylistic/quotes" | "stylistic/rest-spread-spacing" | "stylistic/semi" | "stylistic/semi-spacing" | "stylistic/semi-style" | "stylistic/space-before-blocks" | "stylistic/space-before-function-paren" | "stylistic/space-in-parens" | "stylistic/space-infix-ops" | "stylistic/space-unary-ops" | "stylistic/spaced-comment" | "stylistic/switch-colon-spacing" | "stylistic/template-curly-spacing" | "stylistic/template-tag-spacing" | "stylistic/type-annotation-spacing" | "stylistic/type-generic-spacing" | "stylistic/type-named-tuple-spacing" | "stylistic/wrap-iife" | "stylistic/wrap-regex" | "stylistic/yield-star-spacing", RuleConfig<unknown[]>> | Record<"antfu/consistent-chaining" | "antfu/consistent-list-newline" | "antfu/curly" | "antfu/if-newline" | "antfu/import-dedupe" | "antfu/indent-unindent" | "antfu/no-import-dist" | "antfu/no-import-node-modules-by-path" | "antfu/no-top-level-await" | "antfu/no-ts-export-equal" | "antfu/top-level-function", RuleConfig<unknown[]>> | Record<"imports/consistent-type-specifier-style" | "imports/exports-last" | "imports/first" | "imports/newline-after-import" | "imports/no-default-export" | "imports/no-duplicates" | "imports/no-mutable-exports" | "imports/no-named-default" | "imports/prefer-default-export", RuleConfig<unknown[]>> | Record<"importsSort/imports" | "importsSort/exports", RuleConfig<unknown[]>>;
5
17
  declare const _default: {
6
- javascript: Record<"array-callback-return" | "constructor-super" | "for-direction" | "getter-return" | "no-async-promise-executor" | "no-await-in-loop" | "no-class-assign" | "no-compare-neg-zero" | "no-cond-assign" | "no-const-assign" | "no-constant-binary-expression" | "no-constant-condition" | "no-constructor-return" | "no-control-regex" | "no-debugger" | "no-dupe-args" | "no-dupe-class-members" | "no-dupe-else-if" | "no-dupe-keys" | "no-duplicate-case" | "no-duplicate-imports" | "no-empty-character-class" | "no-empty-pattern" | "no-ex-assign" | "no-fallthrough" | "no-func-assign" | "no-import-assign" | "no-inner-declarations" | "no-invalid-regexp" | "no-irregular-whitespace" | "no-loss-of-precision" | "no-misleading-character-class" | "no-new-native-nonconstructor" | "no-obj-calls" | "no-promise-executor-return" | "no-prototype-builtins" | "no-self-assign" | "no-self-compare" | "no-setter-return" | "no-sparse-arrays" | "no-template-curly-in-string" | "no-this-before-super" | "no-undef" | "no-unexpected-multiline" | "no-unmodified-loop-condition" | "no-unreachable" | "no-unreachable-loop" | "no-unsafe-finally" | "no-unsafe-negation" | "no-unsafe-optional-chaining" | "no-unused-private-class-members" | "no-unused-vars" | "no-use-before-define" | "no-useless-assignment" | "no-useless-backreference" | "require-atomic-updates" | "use-isnan" | "valid-typeof" | "accessor-pairs" | "arrow-body-style" | "block-scoped-var" | "camelcase" | "capitalized-comments" | "class-methods-use-this" | "complexity" | "consistent-return" | "consistent-this" | "curly" | "default-case" | "default-case-last" | "default-param-last" | "dot-notation" | "eqeqeq" | "func-name-matching" | "func-names" | "func-style" | "grouped-accessor-pairs" | "guard-for-in" | "id-denylist" | "id-length" | "id-match" | "init-declarations" | "logical-assignment-operators" | "max-classes-per-file" | "max-depth" | "max-lines" | "max-lines-per-function" | "max-nested-callbacks" | "max-params" | "max-statements" | "new-cap" | "no-alert" | "no-array-constructor" | "no-bitwise" | "no-caller" | "no-case-declarations" | "no-console" | "no-continue" | "no-delete-var" | "no-div-regex" | "no-else-return" | "no-empty" | "no-empty-function" | "no-empty-static-block" | "no-eq-null" | "no-eval" | "no-extend-native" | "no-extra-bind" | "no-extra-boolean-cast" | "no-extra-label" | "no-global-assign" | "no-implicit-coercion" | "no-implicit-globals" | "no-implied-eval" | "no-inline-comments" | "no-invalid-this" | "no-iterator" | "no-label-var" | "no-labels" | "no-lone-blocks" | "no-lonely-if" | "no-loop-func" | "no-magic-numbers" | "no-multi-assign" | "no-multi-str" | "no-negated-condition" | "no-nested-ternary" | "no-new" | "no-new-func" | "no-new-wrappers" | "no-nonoctal-decimal-escape" | "no-object-constructor" | "no-octal" | "no-octal-escape" | "no-param-reassign" | "no-plusplus" | "no-proto" | "no-redeclare" | "no-regex-spaces" | "no-restricted-exports" | "no-restricted-globals" | "no-restricted-imports" | "no-restricted-properties" | "no-restricted-syntax" | "no-return-assign" | "no-script-url" | "no-sequences" | "no-shadow" | "no-shadow-restricted-names" | "no-ternary" | "no-throw-literal" | "no-undef-init" | "no-undefined" | "no-underscore-dangle" | "no-unneeded-ternary" | "no-unused-expressions" | "no-unused-labels" | "no-useless-call" | "no-useless-catch" | "no-useless-computed-key" | "no-useless-concat" | "no-useless-constructor" | "no-useless-escape" | "no-useless-rename" | "no-useless-return" | "no-var" | "no-void" | "no-warning-comments" | "no-with" | "object-shorthand" | "one-var" | "operator-assignment" | "prefer-arrow-callback" | "prefer-const" | "prefer-destructuring" | "prefer-exponentiation-operator" | "prefer-named-capture-group" | "prefer-numeric-literals" | "prefer-object-has-own" | "prefer-object-spread" | "prefer-promise-reject-errors" | "prefer-regex-literals" | "prefer-rest-params" | "prefer-spread" | "prefer-template" | "radix" | "require-await" | "require-unicode-regexp" | "require-yield" | "sort-imports" | "sort-keys" | "sort-vars" | "strict" | "symbol-description" | "vars-on-top" | "yoda", RuleConfig>;
7
- typescript: Record<"no-dupe-class-members" | "no-unused-vars" | "no-use-before-define" | "class-methods-use-this" | "default-param-last" | "dot-notation" | "init-declarations" | "max-params" | "no-array-constructor" | "no-empty-function" | "no-implied-eval" | "no-loop-func" | "no-magic-numbers" | "no-redeclare" | "no-restricted-imports" | "no-shadow" | "no-unused-expressions" | "no-useless-constructor" | "prefer-destructuring" | "prefer-promise-reject-errors" | "require-await" | "ts/adjacent-overload-signatures" | "ts/array-type" | "ts/await-thenable" | "ts/ban-ts-comment" | "ts/ban-tslint-comment" | "ts/class-literal-property-style" | "ts/class-methods-use-this" | "ts/consistent-generic-constructors" | "ts/consistent-indexed-object-style" | "ts/consistent-type-assertions" | "ts/consistent-type-definitions" | "ts/consistent-type-exports" | "ts/consistent-type-imports" | "ts/default-param-last" | "ts/dot-notation" | "ts/explicit-function-return-type" | "ts/explicit-member-accessibility" | "ts/explicit-module-boundary-types" | "ts/init-declarations" | "ts/max-params" | "ts/member-ordering" | "ts/method-signature-style" | "ts/naming-convention" | "ts/no-array-constructor" | "ts/no-array-delete" | "ts/no-base-to-string" | "ts/no-confusing-non-null-assertion" | "ts/no-confusing-void-expression" | "ts/no-deprecated" | "ts/no-dupe-class-members" | "ts/no-duplicate-enum-values" | "ts/no-duplicate-type-constituents" | "ts/no-dynamic-delete" | "ts/no-empty-function" | "ts/no-empty-object-type" | "ts/no-explicit-any" | "ts/no-extra-non-null-assertion" | "ts/no-extraneous-class" | "ts/no-floating-promises" | "ts/no-for-in-array" | "ts/no-implied-eval" | "ts/no-import-type-side-effects" | "ts/no-inferrable-types" | "ts/no-invalid-void-type" | "ts/no-loop-func" | "ts/no-magic-numbers" | "ts/no-meaningless-void-operator" | "ts/no-misused-new" | "ts/no-misused-promises" | "ts/no-misused-spread" | "ts/no-mixed-enums" | "ts/no-namespace" | "ts/no-non-null-asserted-nullish-coalescing" | "ts/no-non-null-asserted-optional-chain" | "ts/no-non-null-assertion" | "ts/no-redeclare" | "ts/no-redundant-type-constituents" | "ts/no-require-imports" | "ts/no-restricted-imports" | "ts/no-restricted-types" | "ts/no-shadow" | "ts/no-this-alias" | "ts/no-unnecessary-boolean-literal-compare" | "ts/no-unnecessary-condition" | "ts/no-unnecessary-parameter-property-assignment" | "ts/no-unnecessary-qualifier" | "ts/no-unnecessary-template-expression" | "ts/no-unnecessary-type-arguments" | "ts/no-unnecessary-type-assertion" | "ts/no-unnecessary-type-constraint" | "ts/no-unnecessary-type-parameters" | "ts/no-unsafe-argument" | "ts/no-unsafe-assignment" | "ts/no-unsafe-call" | "ts/no-unsafe-declaration-merging" | "ts/no-unsafe-enum-comparison" | "ts/no-unsafe-function-type" | "ts/no-unsafe-member-access" | "ts/no-unsafe-return" | "ts/no-unsafe-type-assertion" | "ts/no-unsafe-unary-minus" | "ts/no-unused-expressions" | "ts/no-unused-vars" | "ts/no-use-before-define" | "ts/no-useless-constructor" | "ts/no-useless-empty-export" | "ts/no-wrapper-object-types" | "ts/non-nullable-type-assertion-style" | "ts/only-throw-error" | "ts/parameter-properties" | "ts/prefer-as-const" | "ts/prefer-destructuring" | "ts/prefer-enum-initializers" | "ts/prefer-find" | "ts/prefer-for-of" | "ts/prefer-function-type" | "ts/prefer-includes" | "ts/prefer-literal-enum-member" | "ts/prefer-namespace-keyword" | "ts/prefer-nullish-coalescing" | "ts/prefer-optional-chain" | "ts/prefer-promise-reject-errors" | "ts/prefer-readonly" | "ts/prefer-readonly-parameter-types" | "ts/prefer-reduce-type-parameter" | "ts/prefer-regexp-exec" | "ts/prefer-return-this-type" | "ts/prefer-string-starts-ends-with" | "ts/promise-function-async" | "ts/related-getter-setter-pairs" | "ts/require-array-sort-compare" | "ts/require-await" | "ts/restrict-plus-operands" | "ts/restrict-template-expressions" | "ts/return-await" | "ts/strict-boolean-expressions" | "ts/switch-exhaustiveness-check" | "ts/triple-slash-reference" | "ts/typedef" | "ts/unbound-method" | "ts/unified-signatures" | "ts/use-unknown-in-catch-callback-variable", RuleConfig>;
8
- react: Record<"react/jsx-dollar" | "react/jsx-key-before-spread" | "react/jsx-no-comment-textnodes" | "react/jsx-no-duplicate-props" | "react/jsx-no-iife" | "react/jsx-no-undef" | "react/jsx-shorthand-boolean" | "react/jsx-shorthand-fragment" | "react/jsx-uses-react" | "react/jsx-uses-vars" | "react/no-access-state-in-setstate" | "react/no-array-index-key" | "react/no-children-count" | "react/no-children-for-each" | "react/no-children-map" | "react/no-children-only" | "react/no-children-prop" | "react/no-children-to-array" | "react/no-class-component" | "react/no-clone-element" | "react/no-component-will-mount" | "react/no-component-will-receive-props" | "react/no-component-will-update" | "react/no-context-provider" | "react/no-create-ref" | "react/no-direct-mutation-state" | "react/no-duplicate-key" | "react/no-forward-ref" | "react/no-implicit-key" | "react/no-leaked-conditional-rendering" | "react/no-missing-component-display-name" | "react/no-missing-context-display-name" | "react/no-missing-key" | "react/no-misused-capture-owner-stack" | "react/no-nested-component-definitions" | "react/no-nested-lazy-component-declarations" | "react/no-redundant-should-component-update" | "react/no-set-state-in-component-did-mount" | "react/no-set-state-in-component-did-update" | "react/no-set-state-in-component-will-update" | "react/no-unnecessary-key" | "react/no-unnecessary-use-callback" | "react/no-unnecessary-use-memo" | "react/no-unnecessary-use-prefix" | "react/no-unnecessary-use-ref" | "react/no-unsafe-component-will-mount" | "react/no-unsafe-component-will-receive-props" | "react/no-unsafe-component-will-update" | "react/no-unstable-context-value" | "react/no-unstable-default-props" | "react/no-unused-class-component-members" | "react/no-unused-props" | "react/no-unused-state" | "react/no-use-context" | "react/no-useless-forward-ref" | "react/no-useless-fragment" | "react/prefer-destructuring-assignment" | "react/prefer-namespace-import" | "react/prefer-read-only-props" | "react/prefer-use-state-lazy-initialization" | "react-dom/no-dangerously-set-innerhtml" | "react-dom/no-dangerously-set-innerhtml-with-children" | "react-dom/no-find-dom-node" | "react-dom/no-flush-sync" | "react-dom/no-hydrate" | "react-dom/no-missing-button-type" | "react-dom/no-missing-iframe-sandbox" | "react-dom/no-namespace" | "react-dom/no-render" | "react-dom/no-render-return-value" | "react-dom/no-script-url" | "react-dom/no-string-style-prop" | "react-dom/no-unknown-property" | "react-dom/no-unsafe-iframe-sandbox" | "react-dom/no-unsafe-target-blank" | "react-dom/no-use-form-state" | "react-dom/no-void-elements-with-children" | "react-dom/prefer-namespace-import" | "react-rsc/function-definition" | "react-web-api/no-leaked-event-listener" | "react-web-api/no-leaked-interval" | "react-web-api/no-leaked-resize-observer" | "react-web-api/no-leaked-timeout" | "react-hooks-extra/no-direct-set-state-in-use-effect" | "react-naming-convention/component-name" | "react-naming-convention/context-name" | "react-naming-convention/filename" | "react-naming-convention/filename-extension" | "react-naming-convention/id-name" | "react-naming-convention/ref-name" | "react-naming-convention/use-state", RuleConfig>;
9
- vue: Record<"vue/comment-directive" | "vue/jsx-uses-vars" | "vue/multi-word-component-names" | "vue/no-arrow-functions-in-watch" | "vue/no-async-in-computed-properties" | "vue/no-child-content" | "vue/no-computed-properties-in-data" | "vue/no-dupe-keys" | "vue/no-dupe-v-else-if" | "vue/no-duplicate-attributes" | "vue/no-export-in-script-setup" | "vue/no-mutating-props" | "vue/no-parsing-error" | "vue/no-ref-as-operand" | "vue/no-reserved-component-names" | "vue/no-reserved-keys" | "vue/no-reserved-props" | "vue/no-shared-component-data" | "vue/no-side-effects-in-computed-properties" | "vue/no-template-key" | "vue/no-textarea-mustache" | "vue/no-unused-components" | "vue/no-unused-vars" | "vue/no-use-computed-property-like-method" | "vue/no-use-v-if-with-v-for" | "vue/no-useless-template-attributes" | "vue/no-v-text-v-html-on-component" | "vue/require-component-is" | "vue/require-prop-type-constructor" | "vue/require-render-return" | "vue/require-v-for-key" | "vue/require-valid-default-prop" | "vue/return-in-computed-property" | "vue/return-in-emits-validator" | "vue/use-v-on-exact" | "vue/valid-attribute-name" | "vue/valid-define-emits" | "vue/valid-define-props" | "vue/valid-next-tick" | "vue/valid-template-root" | "vue/valid-v-bind" | "vue/valid-v-cloak" | "vue/valid-v-else-if" | "vue/valid-v-else" | "vue/valid-v-for" | "vue/valid-v-html" | "vue/valid-v-if" | "vue/valid-v-model" | "vue/valid-v-on" | "vue/valid-v-once" | "vue/valid-v-pre" | "vue/valid-v-show" | "vue/valid-v-slot" | "vue/valid-v-text" | "vue/no-deprecated-data-object-declaration" | "vue/no-deprecated-delete-set" | "vue/no-deprecated-destroyed-lifecycle" | "vue/no-deprecated-dollar-listeners-api" | "vue/no-deprecated-dollar-scopedslots-api" | "vue/no-deprecated-events-api" | "vue/no-deprecated-filter" | "vue/no-deprecated-functional-template" | "vue/no-deprecated-html-element-is" | "vue/no-deprecated-inline-template" | "vue/no-deprecated-model-definition" | "vue/no-deprecated-props-default-this" | "vue/no-deprecated-router-link-tag-prop" | "vue/no-deprecated-scope-attribute" | "vue/no-deprecated-slot-attribute" | "vue/no-deprecated-slot-scope-attribute" | "vue/no-deprecated-v-bind-sync" | "vue/no-deprecated-v-is" | "vue/no-deprecated-v-on-native-modifier" | "vue/no-deprecated-v-on-number-modifiers" | "vue/no-deprecated-vue-config-keycodes" | "vue/no-expose-after-await" | "vue/no-lifecycle-after-await" | "vue/no-v-for-template-key-on-child" | "vue/no-watch-after-await" | "vue/prefer-import-from-vue" | "vue/require-slots-as-functions" | "vue/require-toggle-inside-transition" | "vue/valid-define-options" | "vue/valid-v-is" | "vue/valid-v-memo" | "vue/no-custom-modifiers-on-v-model" | "vue/no-multiple-template-root" | "vue/attribute-hyphenation" | "vue/component-definition-name-casing" | "vue/first-attribute-linebreak" | "vue/html-closing-bracket-newline" | "vue/html-closing-bracket-spacing" | "vue/html-end-tags" | "vue/html-indent" | "vue/html-quotes" | "vue/html-self-closing" | "vue/max-attributes-per-line" | "vue/multiline-html-element-content-newline" | "vue/mustache-interpolation-spacing" | "vue/no-multi-spaces" | "vue/no-spaces-around-equal-signs-in-attribute" | "vue/no-template-shadow" | "vue/one-component-per-file" | "vue/prop-name-casing" | "vue/require-default-prop" | "vue/require-prop-types" | "vue/singleline-html-element-content-newline" | "vue/v-bind-style" | "vue/v-on-style" | "vue/v-slot-style" | "vue/require-explicit-emits" | "vue/v-on-event-hyphenation" | "vue/attributes-order" | "vue/block-order" | "vue/no-lone-template" | "vue/no-multiple-slot-args" | "vue/no-required-prop-with-default" | "vue/no-v-html" | "vue/order-in-components" | "vue/this-in-template" | "vue/block-lang" | "vue/block-tag-newline" | "vue/component-api-style" | "vue/component-name-in-template-casing" | "vue/component-options-name-casing" | "vue/custom-event-name-casing" | "vue/define-emits-declaration" | "vue/define-macros-order" | "vue/define-props-declaration" | "vue/define-props-destructuring" | "vue/enforce-style-attribute" | "vue/html-button-has-type" | "vue/html-comment-content-newline" | "vue/html-comment-content-spacing" | "vue/html-comment-indent" | "vue/match-component-file-name" | "vue/match-component-import-name" | "vue/max-lines-per-block" | "vue/max-props" | "vue/max-template-depth" | "vue/new-line-between-multi-line-property" | "vue/next-tick-style" | "vue/no-bare-strings-in-template" | "vue/no-boolean-default" | "vue/no-duplicate-attr-inheritance" | "vue/no-duplicate-class-names" | "vue/no-empty-component-block" | "vue/no-import-compiler-macros" | "vue/no-multiple-objects-in-class" | "vue/no-negated-v-if-condition" | "vue/no-potential-component-option-typo" | "vue/no-ref-object-reactivity-loss" | "vue/no-restricted-block" | "vue/no-restricted-call-after-await" | "vue/no-restricted-class" | "vue/no-restricted-component-names" | "vue/no-restricted-component-options" | "vue/no-restricted-custom-event" | "vue/no-restricted-html-elements" | "vue/no-restricted-props" | "vue/no-restricted-static-attribute" | "vue/no-restricted-v-bind" | "vue/no-restricted-v-on" | "vue/no-root-v-if" | "vue/no-setup-props-reactivity-loss" | "vue/no-static-inline-styles" | "vue/no-template-target-blank" | "vue/no-this-in-before-route-enter" | "vue/no-undef-components" | "vue/no-undef-properties" | "vue/no-unsupported-features" | "vue/no-unused-emit-declarations" | "vue/no-unused-properties" | "vue/no-unused-refs" | "vue/no-use-v-else-with-v-for" | "vue/no-useless-mustaches" | "vue/no-useless-v-bind" | "vue/no-v-text" | "vue/padding-line-between-blocks" | "vue/padding-line-between-tags" | "vue/padding-lines-in-component-definition" | "vue/prefer-define-options" | "vue/prefer-prop-type-boolean-first" | "vue/prefer-separate-static-class" | "vue/prefer-true-attribute-shorthand" | "vue/prefer-use-template-ref" | "vue/require-default-export" | "vue/require-direct-export" | "vue/require-emit-validator" | "vue/require-explicit-slots" | "vue/require-expose" | "vue/require-macro-variable-name" | "vue/require-name-property" | "vue/require-prop-comment" | "vue/require-typed-object-prop" | "vue/require-typed-ref" | "vue/restricted-component-names" | "vue/script-indent" | "vue/slot-name-casing" | "vue/sort-keys" | "vue/static-class-names-order" | "vue/v-for-delimiter-style" | "vue/v-if-else-key" | "vue/v-on-handler-style" | "vue/array-bracket-newline" | "vue/array-bracket-spacing" | "vue/array-element-newline" | "vue/arrow-spacing" | "vue/block-spacing" | "vue/brace-style" | "vue/camelcase" | "vue/comma-dangle" | "vue/comma-spacing" | "vue/comma-style" | "vue/dot-location" | "vue/dot-notation" | "vue/eqeqeq" | "vue/func-call-spacing" | "vue/key-spacing" | "vue/keyword-spacing" | "vue/max-len" | "vue/multiline-ternary" | "vue/no-console" | "vue/no-constant-condition" | "vue/no-empty-pattern" | "vue/no-extra-parens" | "vue/no-implicit-coercion" | "vue/no-irregular-whitespace" | "vue/no-loss-of-precision" | "vue/no-negated-condition" | "vue/no-restricted-syntax" | "vue/no-sparse-arrays" | "vue/no-useless-concat" | "vue/object-curly-newline" | "vue/object-curly-spacing" | "vue/object-property-newline" | "vue/object-shorthand" | "vue/operator-linebreak" | "vue/prefer-template" | "vue/quote-props" | "vue/space-in-parens" | "vue/space-infix-ops" | "vue/space-unary-ops" | "vue/template-curly-spacing", RuleConfig>;
10
- stylistic: Record<"stylistic/array-bracket-newline" | "stylistic/array-bracket-spacing" | "stylistic/array-element-newline" | "stylistic/arrow-parens" | "stylistic/arrow-spacing" | "stylistic/block-spacing" | "stylistic/brace-style" | "stylistic/comma-dangle" | "stylistic/comma-spacing" | "stylistic/comma-style" | "stylistic/computed-property-spacing" | "stylistic/curly-newline" | "stylistic/dot-location" | "stylistic/eol-last" | "stylistic/function-call-argument-newline" | "stylistic/function-call-spacing" | "stylistic/function-paren-newline" | "stylistic/generator-star-spacing" | "stylistic/implicit-arrow-linebreak" | "stylistic/indent" | "stylistic/indent-binary-ops" | "stylistic/jsx-child-element-spacing" | "stylistic/jsx-closing-bracket-location" | "stylistic/jsx-closing-tag-location" | "stylistic/jsx-curly-brace-presence" | "stylistic/jsx-curly-newline" | "stylistic/jsx-curly-spacing" | "stylistic/jsx-equals-spacing" | "stylistic/jsx-first-prop-new-line" | "stylistic/jsx-function-call-newline" | "stylistic/jsx-indent-props" | "stylistic/jsx-max-props-per-line" | "stylistic/jsx-newline" | "stylistic/jsx-one-expression-per-line" | "stylistic/jsx-pascal-case" | "stylistic/jsx-quotes" | "stylistic/jsx-self-closing-comp" | "stylistic/jsx-tag-spacing" | "stylistic/jsx-wrap-multilines" | "stylistic/key-spacing" | "stylistic/keyword-spacing" | "stylistic/line-comment-position" | "stylistic/linebreak-style" | "stylistic/lines-around-comment" | "stylistic/lines-between-class-members" | "stylistic/max-len" | "stylistic/max-statements-per-line" | "stylistic/member-delimiter-style" | "stylistic/multiline-comment-style" | "stylistic/multiline-ternary" | "stylistic/new-parens" | "stylistic/newline-per-chained-call" | "stylistic/no-confusing-arrow" | "stylistic/no-extra-parens" | "stylistic/no-extra-semi" | "stylistic/no-floating-decimal" | "stylistic/no-mixed-operators" | "stylistic/no-mixed-spaces-and-tabs" | "stylistic/no-multi-spaces" | "stylistic/no-multiple-empty-lines" | "stylistic/no-tabs" | "stylistic/no-trailing-spaces" | "stylistic/no-whitespace-before-property" | "stylistic/nonblock-statement-body-position" | "stylistic/object-curly-newline" | "stylistic/object-curly-spacing" | "stylistic/object-property-newline" | "stylistic/one-var-declaration-per-line" | "stylistic/operator-linebreak" | "stylistic/padded-blocks" | "stylistic/padding-line-between-statements" | "stylistic/quote-props" | "stylistic/quotes" | "stylistic/rest-spread-spacing" | "stylistic/semi" | "stylistic/semi-spacing" | "stylistic/semi-style" | "stylistic/space-before-blocks" | "stylistic/space-before-function-paren" | "stylistic/space-in-parens" | "stylistic/space-infix-ops" | "stylistic/space-unary-ops" | "stylistic/spaced-comment" | "stylistic/switch-colon-spacing" | "stylistic/template-curly-spacing" | "stylistic/template-tag-spacing" | "stylistic/type-annotation-spacing" | "stylistic/type-generic-spacing" | "stylistic/type-named-tuple-spacing" | "stylistic/wrap-iife" | "stylistic/wrap-regex" | "stylistic/yield-star-spacing", RuleConfig>;
11
- antfu: Record<"antfu/consistent-chaining" | "antfu/consistent-list-newline" | "antfu/curly" | "antfu/if-newline" | "antfu/import-dedupe" | "antfu/indent-unindent" | "antfu/no-import-dist" | "antfu/no-import-node-modules-by-path" | "antfu/no-top-level-await" | "antfu/no-ts-export-equal" | "antfu/top-level-function", RuleConfig>;
12
- imports: Record<"imports/consistent-type-specifier-style" | "imports/exports-last" | "imports/first" | "imports/newline-after-import" | "imports/no-default-export" | "imports/no-duplicates" | "imports/no-mutable-exports" | "imports/no-named-default" | "imports/prefer-default-export", RuleConfig>;
18
+ GLOB_EXCLUDE: string[];
19
+ createRules: typeof createRules;
20
+ javascript: Record<"array-callback-return" | "constructor-super" | "for-direction" | "getter-return" | "no-async-promise-executor" | "no-await-in-loop" | "no-class-assign" | "no-compare-neg-zero" | "no-cond-assign" | "no-const-assign" | "no-constant-binary-expression" | "no-constant-condition" | "no-constructor-return" | "no-control-regex" | "no-debugger" | "no-dupe-args" | "no-dupe-class-members" | "no-dupe-else-if" | "no-dupe-keys" | "no-duplicate-case" | "no-duplicate-imports" | "no-empty-character-class" | "no-empty-pattern" | "no-ex-assign" | "no-fallthrough" | "no-func-assign" | "no-import-assign" | "no-inner-declarations" | "no-invalid-regexp" | "no-irregular-whitespace" | "no-loss-of-precision" | "no-misleading-character-class" | "no-new-native-nonconstructor" | "no-obj-calls" | "no-promise-executor-return" | "no-prototype-builtins" | "no-self-assign" | "no-self-compare" | "no-setter-return" | "no-sparse-arrays" | "no-template-curly-in-string" | "no-this-before-super" | "no-undef" | "no-unexpected-multiline" | "no-unmodified-loop-condition" | "no-unreachable" | "no-unreachable-loop" | "no-unsafe-finally" | "no-unsafe-negation" | "no-unsafe-optional-chaining" | "no-unused-private-class-members" | "no-unused-vars" | "no-use-before-define" | "no-useless-assignment" | "no-useless-backreference" | "require-atomic-updates" | "use-isnan" | "valid-typeof" | "accessor-pairs" | "arrow-body-style" | "block-scoped-var" | "camelcase" | "capitalized-comments" | "class-methods-use-this" | "complexity" | "consistent-return" | "consistent-this" | "curly" | "default-case" | "default-case-last" | "default-param-last" | "dot-notation" | "eqeqeq" | "func-name-matching" | "func-names" | "func-style" | "grouped-accessor-pairs" | "guard-for-in" | "id-denylist" | "id-length" | "id-match" | "init-declarations" | "logical-assignment-operators" | "max-classes-per-file" | "max-depth" | "max-lines" | "max-lines-per-function" | "max-nested-callbacks" | "max-params" | "max-statements" | "new-cap" | "no-alert" | "no-array-constructor" | "no-bitwise" | "no-caller" | "no-case-declarations" | "no-console" | "no-continue" | "no-delete-var" | "no-div-regex" | "no-else-return" | "no-empty" | "no-empty-function" | "no-empty-static-block" | "no-eq-null" | "no-eval" | "no-extend-native" | "no-extra-bind" | "no-extra-boolean-cast" | "no-extra-label" | "no-global-assign" | "no-implicit-coercion" | "no-implicit-globals" | "no-implied-eval" | "no-inline-comments" | "no-invalid-this" | "no-iterator" | "no-label-var" | "no-labels" | "no-lone-blocks" | "no-lonely-if" | "no-loop-func" | "no-magic-numbers" | "no-multi-assign" | "no-multi-str" | "no-negated-condition" | "no-nested-ternary" | "no-new" | "no-new-func" | "no-new-wrappers" | "no-nonoctal-decimal-escape" | "no-object-constructor" | "no-octal" | "no-octal-escape" | "no-param-reassign" | "no-plusplus" | "no-proto" | "no-redeclare" | "no-regex-spaces" | "no-restricted-exports" | "no-restricted-globals" | "no-restricted-imports" | "no-restricted-properties" | "no-restricted-syntax" | "no-return-assign" | "no-script-url" | "no-sequences" | "no-shadow" | "no-shadow-restricted-names" | "no-ternary" | "no-throw-literal" | "no-undef-init" | "no-undefined" | "no-underscore-dangle" | "no-unneeded-ternary" | "no-unused-expressions" | "no-unused-labels" | "no-useless-call" | "no-useless-catch" | "no-useless-computed-key" | "no-useless-concat" | "no-useless-constructor" | "no-useless-escape" | "no-useless-rename" | "no-useless-return" | "no-var" | "no-void" | "no-warning-comments" | "no-with" | "object-shorthand" | "one-var" | "operator-assignment" | "prefer-arrow-callback" | "prefer-const" | "prefer-destructuring" | "prefer-exponentiation-operator" | "prefer-named-capture-group" | "prefer-numeric-literals" | "prefer-object-has-own" | "prefer-object-spread" | "prefer-promise-reject-errors" | "prefer-regex-literals" | "prefer-rest-params" | "prefer-spread" | "prefer-template" | "radix" | "require-await" | "require-unicode-regexp" | "require-yield" | "sort-imports" | "sort-keys" | "sort-vars" | "strict" | "symbol-description" | "vars-on-top" | "yoda", RuleConfig<unknown[]>>;
21
+ typescript: Record<"no-dupe-class-members" | "no-unused-vars" | "no-use-before-define" | "class-methods-use-this" | "default-param-last" | "dot-notation" | "init-declarations" | "max-params" | "no-array-constructor" | "no-empty-function" | "no-implied-eval" | "no-loop-func" | "no-magic-numbers" | "no-redeclare" | "no-restricted-imports" | "no-shadow" | "no-unused-expressions" | "no-useless-constructor" | "prefer-destructuring" | "prefer-promise-reject-errors" | "require-await" | "ts/adjacent-overload-signatures" | "ts/array-type" | "ts/await-thenable" | "ts/ban-ts-comment" | "ts/ban-tslint-comment" | "ts/class-literal-property-style" | "ts/class-methods-use-this" | "ts/consistent-generic-constructors" | "ts/consistent-indexed-object-style" | "ts/consistent-type-assertions" | "ts/consistent-type-definitions" | "ts/consistent-type-exports" | "ts/consistent-type-imports" | "ts/default-param-last" | "ts/dot-notation" | "ts/explicit-function-return-type" | "ts/explicit-member-accessibility" | "ts/explicit-module-boundary-types" | "ts/init-declarations" | "ts/max-params" | "ts/member-ordering" | "ts/method-signature-style" | "ts/naming-convention" | "ts/no-array-constructor" | "ts/no-array-delete" | "ts/no-base-to-string" | "ts/no-confusing-non-null-assertion" | "ts/no-confusing-void-expression" | "ts/no-deprecated" | "ts/no-dupe-class-members" | "ts/no-duplicate-enum-values" | "ts/no-duplicate-type-constituents" | "ts/no-dynamic-delete" | "ts/no-empty-function" | "ts/no-empty-object-type" | "ts/no-explicit-any" | "ts/no-extra-non-null-assertion" | "ts/no-extraneous-class" | "ts/no-floating-promises" | "ts/no-for-in-array" | "ts/no-implied-eval" | "ts/no-import-type-side-effects" | "ts/no-inferrable-types" | "ts/no-invalid-void-type" | "ts/no-loop-func" | "ts/no-magic-numbers" | "ts/no-meaningless-void-operator" | "ts/no-misused-new" | "ts/no-misused-promises" | "ts/no-misused-spread" | "ts/no-mixed-enums" | "ts/no-namespace" | "ts/no-non-null-asserted-nullish-coalescing" | "ts/no-non-null-asserted-optional-chain" | "ts/no-non-null-assertion" | "ts/no-redeclare" | "ts/no-redundant-type-constituents" | "ts/no-require-imports" | "ts/no-restricted-imports" | "ts/no-restricted-types" | "ts/no-shadow" | "ts/no-this-alias" | "ts/no-unnecessary-boolean-literal-compare" | "ts/no-unnecessary-condition" | "ts/no-unnecessary-parameter-property-assignment" | "ts/no-unnecessary-qualifier" | "ts/no-unnecessary-template-expression" | "ts/no-unnecessary-type-arguments" | "ts/no-unnecessary-type-assertion" | "ts/no-unnecessary-type-constraint" | "ts/no-unnecessary-type-parameters" | "ts/no-unsafe-argument" | "ts/no-unsafe-assignment" | "ts/no-unsafe-call" | "ts/no-unsafe-declaration-merging" | "ts/no-unsafe-enum-comparison" | "ts/no-unsafe-function-type" | "ts/no-unsafe-member-access" | "ts/no-unsafe-return" | "ts/no-unsafe-type-assertion" | "ts/no-unsafe-unary-minus" | "ts/no-unused-expressions" | "ts/no-unused-vars" | "ts/no-use-before-define" | "ts/no-useless-constructor" | "ts/no-useless-empty-export" | "ts/no-wrapper-object-types" | "ts/non-nullable-type-assertion-style" | "ts/only-throw-error" | "ts/parameter-properties" | "ts/prefer-as-const" | "ts/prefer-destructuring" | "ts/prefer-enum-initializers" | "ts/prefer-find" | "ts/prefer-for-of" | "ts/prefer-function-type" | "ts/prefer-includes" | "ts/prefer-literal-enum-member" | "ts/prefer-namespace-keyword" | "ts/prefer-nullish-coalescing" | "ts/prefer-optional-chain" | "ts/prefer-promise-reject-errors" | "ts/prefer-readonly" | "ts/prefer-readonly-parameter-types" | "ts/prefer-reduce-type-parameter" | "ts/prefer-regexp-exec" | "ts/prefer-return-this-type" | "ts/prefer-string-starts-ends-with" | "ts/promise-function-async" | "ts/related-getter-setter-pairs" | "ts/require-array-sort-compare" | "ts/require-await" | "ts/restrict-plus-operands" | "ts/restrict-template-expressions" | "ts/return-await" | "ts/strict-boolean-expressions" | "ts/switch-exhaustiveness-check" | "ts/triple-slash-reference" | "ts/typedef" | "ts/unbound-method" | "ts/unified-signatures" | "ts/use-unknown-in-catch-callback-variable", RuleConfig<unknown[]>>;
22
+ react: Record<"react/component-hook-factories" | "react/error-boundaries" | "react/exhaustive-deps" | "react/immutability" | "react/no-access-state-in-setstate" | "react/no-array-index-key" | "react/no-children-count" | "react/no-children-for-each" | "react/no-children-map" | "react/no-children-only" | "react/no-children-to-array" | "react/no-class-component" | "react/no-clone-element" | "react/no-component-will-mount" | "react/no-component-will-receive-props" | "react/no-component-will-update" | "react/no-context-provider" | "react/no-create-ref" | "react/no-direct-mutation-state" | "react/no-duplicate-key" | "react/no-forward-ref" | "react/no-implicit-children" | "react/no-implicit-key" | "react/no-implicit-ref" | "react/no-leaked-conditional-rendering" | "react/no-missing-component-display-name" | "react/no-missing-context-display-name" | "react/no-missing-key" | "react/no-misused-capture-owner-stack" | "react/no-nested-component-definitions" | "react/no-nested-lazy-component-declarations" | "react/no-redundant-should-component-update" | "react/no-set-state-in-component-did-mount" | "react/no-set-state-in-component-did-update" | "react/no-set-state-in-component-will-update" | "react/no-unnecessary-use-callback" | "react/no-unnecessary-use-memo" | "react/no-unnecessary-use-prefix" | "react/no-unsafe-component-will-mount" | "react/no-unsafe-component-will-receive-props" | "react/no-unsafe-component-will-update" | "react/no-unstable-context-value" | "react/no-unstable-default-props" | "react/no-unused-class-component-members" | "react/no-unused-props" | "react/no-unused-state" | "react/no-use-context" | "react/prefer-destructuring-assignment" | "react/prefer-namespace-import" | "react/purity" | "react/refs" | "react/rules-of-hooks" | "react/set-state-in-effect" | "react/set-state-in-render" | "react/unsupported-syntax" | "react/use-memo" | "react/use-state" | "react/jsx-no-children-prop" | "react/jsx-no-children-prop-with-children" | "react/jsx-no-comment-textnodes" | "react/jsx-no-key-after-spread" | "react/jsx-no-leaked-dollar" | "react/jsx-no-leaked-semicolon" | "react/jsx-no-namespace" | "react/jsx-no-useless-fragment" | "react/rsc-function-definition" | "react/dom-no-dangerously-set-innerhtml-with-children" | "react/dom-no-dangerously-set-innerhtml" | "react/dom-no-find-dom-node" | "react/dom-no-flush-sync" | "react/dom-no-hydrate" | "react/dom-no-missing-button-type" | "react/dom-no-missing-iframe-sandbox" | "react/dom-no-render-return-value" | "react/dom-no-render" | "react/dom-no-script-url" | "react/dom-no-string-style-prop" | "react/dom-no-unknown-property" | "react/dom-no-unsafe-iframe-sandbox" | "react/dom-no-unsafe-target-blank" | "react/dom-no-use-form-state" | "react/dom-no-void-elements-with-children" | "react/dom-prefer-namespace-import" | "react/web-api-no-leaked-event-listener" | "react/web-api-no-leaked-interval" | "react/web-api-no-leaked-resize-observer" | "react/web-api-no-leaked-timeout" | "react/naming-convention-context-name" | "react/naming-convention-id-name" | "react/naming-convention-ref-name" | "react/debug-class-component" | "react/debug-function-component" | "react/debug-hook" | "react/debug-is-from-react" | "react/debug-is-from-ref" | "react/debug-jsx", RuleConfig<unknown[]>>;
23
+ reactHooks: Record<"react-hooks/exhaustive-deps" | "react-hooks/rules-of-hooks" | "react-hooks/component-hook-factories" | "react-hooks/config" | "react-hooks/error-boundaries" | "react-hooks/gating" | "react-hooks/globals" | "react-hooks/immutability" | "react-hooks/incompatible-library" | "react-hooks/preserve-manual-memoization" | "react-hooks/purity" | "react-hooks/refs" | "react-hooks/set-state-in-effect" | "react-hooks/set-state-in-render" | "react-hooks/static-components" | "react-hooks/unsupported-syntax" | "react-hooks/use-memo", RuleConfig<unknown[]>>;
24
+ vue: Record<"vue/comment-directive" | "vue/jsx-uses-vars" | "vue/multi-word-component-names" | "vue/no-arrow-functions-in-watch" | "vue/no-async-in-computed-properties" | "vue/no-child-content" | "vue/no-computed-properties-in-data" | "vue/no-dupe-keys" | "vue/no-dupe-v-else-if" | "vue/no-duplicate-attributes" | "vue/no-export-in-script-setup" | "vue/no-mutating-props" | "vue/no-parsing-error" | "vue/no-ref-as-operand" | "vue/no-reserved-component-names" | "vue/no-reserved-keys" | "vue/no-reserved-props" | "vue/no-shared-component-data" | "vue/no-side-effects-in-computed-properties" | "vue/no-template-key" | "vue/no-textarea-mustache" | "vue/no-unused-components" | "vue/no-unused-vars" | "vue/no-use-computed-property-like-method" | "vue/no-use-v-if-with-v-for" | "vue/no-useless-template-attributes" | "vue/no-v-text-v-html-on-component" | "vue/require-component-is" | "vue/require-prop-type-constructor" | "vue/require-render-return" | "vue/require-v-for-key" | "vue/require-valid-default-prop" | "vue/return-in-computed-property" | "vue/return-in-emits-validator" | "vue/use-v-on-exact" | "vue/valid-attribute-name" | "vue/valid-define-emits" | "vue/valid-define-props" | "vue/valid-next-tick" | "vue/valid-template-root" | "vue/valid-v-bind" | "vue/valid-v-cloak" | "vue/valid-v-else-if" | "vue/valid-v-else" | "vue/valid-v-for" | "vue/valid-v-html" | "vue/valid-v-if" | "vue/valid-v-model" | "vue/valid-v-on" | "vue/valid-v-once" | "vue/valid-v-pre" | "vue/valid-v-show" | "vue/valid-v-slot" | "vue/valid-v-text" | "vue/no-deprecated-data-object-declaration" | "vue/no-deprecated-delete-set" | "vue/no-deprecated-destroyed-lifecycle" | "vue/no-deprecated-dollar-listeners-api" | "vue/no-deprecated-dollar-scopedslots-api" | "vue/no-deprecated-events-api" | "vue/no-deprecated-filter" | "vue/no-deprecated-functional-template" | "vue/no-deprecated-html-element-is" | "vue/no-deprecated-inline-template" | "vue/no-deprecated-model-definition" | "vue/no-deprecated-props-default-this" | "vue/no-deprecated-router-link-tag-prop" | "vue/no-deprecated-scope-attribute" | "vue/no-deprecated-slot-attribute" | "vue/no-deprecated-slot-scope-attribute" | "vue/no-deprecated-v-bind-sync" | "vue/no-deprecated-v-is" | "vue/no-deprecated-v-on-native-modifier" | "vue/no-deprecated-v-on-number-modifiers" | "vue/no-deprecated-vue-config-keycodes" | "vue/no-expose-after-await" | "vue/no-lifecycle-after-await" | "vue/no-v-for-template-key-on-child" | "vue/no-watch-after-await" | "vue/prefer-import-from-vue" | "vue/require-slots-as-functions" | "vue/require-toggle-inside-transition" | "vue/valid-define-options" | "vue/valid-v-is" | "vue/valid-v-memo" | "vue/no-custom-modifiers-on-v-model" | "vue/no-multiple-template-root" | "vue/attribute-hyphenation" | "vue/component-definition-name-casing" | "vue/first-attribute-linebreak" | "vue/html-closing-bracket-newline" | "vue/html-closing-bracket-spacing" | "vue/html-end-tags" | "vue/html-indent" | "vue/html-quotes" | "vue/html-self-closing" | "vue/max-attributes-per-line" | "vue/multiline-html-element-content-newline" | "vue/mustache-interpolation-spacing" | "vue/no-multi-spaces" | "vue/no-spaces-around-equal-signs-in-attribute" | "vue/no-template-shadow" | "vue/one-component-per-file" | "vue/prop-name-casing" | "vue/require-default-prop" | "vue/require-prop-types" | "vue/singleline-html-element-content-newline" | "vue/v-bind-style" | "vue/v-on-style" | "vue/v-slot-style" | "vue/require-explicit-emits" | "vue/v-on-event-hyphenation" | "vue/attributes-order" | "vue/block-order" | "vue/no-lone-template" | "vue/no-multiple-slot-args" | "vue/no-required-prop-with-default" | "vue/no-v-html" | "vue/order-in-components" | "vue/this-in-template" | "vue/block-lang" | "vue/block-tag-newline" | "vue/component-api-style" | "vue/component-name-in-template-casing" | "vue/component-options-name-casing" | "vue/custom-event-name-casing" | "vue/define-emits-declaration" | "vue/define-macros-order" | "vue/define-props-declaration" | "vue/define-props-destructuring" | "vue/enforce-style-attribute" | "vue/html-button-has-type" | "vue/html-comment-content-newline" | "vue/html-comment-content-spacing" | "vue/html-comment-indent" | "vue/match-component-file-name" | "vue/match-component-import-name" | "vue/max-lines-per-block" | "vue/max-props" | "vue/max-template-depth" | "vue/new-line-between-multi-line-property" | "vue/next-tick-style" | "vue/no-bare-strings-in-template" | "vue/no-boolean-default" | "vue/no-duplicate-attr-inheritance" | "vue/no-duplicate-class-names" | "vue/no-empty-component-block" | "vue/no-import-compiler-macros" | "vue/no-multiple-objects-in-class" | "vue/no-negated-v-if-condition" | "vue/no-potential-component-option-typo" | "vue/no-ref-object-reactivity-loss" | "vue/no-restricted-block" | "vue/no-restricted-call-after-await" | "vue/no-restricted-class" | "vue/no-restricted-component-names" | "vue/no-restricted-component-options" | "vue/no-restricted-custom-event" | "vue/no-restricted-html-elements" | "vue/no-restricted-props" | "vue/no-restricted-static-attribute" | "vue/no-restricted-v-bind" | "vue/no-restricted-v-on" | "vue/no-root-v-if" | "vue/no-setup-props-reactivity-loss" | "vue/no-static-inline-styles" | "vue/no-template-target-blank" | "vue/no-this-in-before-route-enter" | "vue/no-undef-components" | "vue/no-undef-properties" | "vue/no-unsupported-features" | "vue/no-unused-emit-declarations" | "vue/no-unused-properties" | "vue/no-unused-refs" | "vue/no-use-v-else-with-v-for" | "vue/no-useless-mustaches" | "vue/no-useless-v-bind" | "vue/no-v-text" | "vue/padding-line-between-blocks" | "vue/padding-line-between-tags" | "vue/padding-lines-in-component-definition" | "vue/prefer-define-options" | "vue/prefer-prop-type-boolean-first" | "vue/prefer-separate-static-class" | "vue/prefer-true-attribute-shorthand" | "vue/prefer-use-template-ref" | "vue/require-default-export" | "vue/require-direct-export" | "vue/require-emit-validator" | "vue/require-explicit-slots" | "vue/require-expose" | "vue/require-macro-variable-name" | "vue/require-name-property" | "vue/require-prop-comment" | "vue/require-typed-object-prop" | "vue/require-typed-ref" | "vue/restricted-component-names" | "vue/script-indent" | "vue/slot-name-casing" | "vue/sort-keys" | "vue/static-class-names-order" | "vue/v-for-delimiter-style" | "vue/v-if-else-key" | "vue/v-on-handler-style" | "vue/array-bracket-newline" | "vue/array-bracket-spacing" | "vue/array-element-newline" | "vue/arrow-spacing" | "vue/block-spacing" | "vue/brace-style" | "vue/camelcase" | "vue/comma-dangle" | "vue/comma-spacing" | "vue/comma-style" | "vue/dot-location" | "vue/dot-notation" | "vue/eqeqeq" | "vue/func-call-spacing" | "vue/key-spacing" | "vue/keyword-spacing" | "vue/max-len" | "vue/multiline-ternary" | "vue/no-console" | "vue/no-constant-condition" | "vue/no-empty-pattern" | "vue/no-extra-parens" | "vue/no-implicit-coercion" | "vue/no-irregular-whitespace" | "vue/no-loss-of-precision" | "vue/no-negated-condition" | "vue/no-restricted-syntax" | "vue/no-sparse-arrays" | "vue/no-useless-concat" | "vue/object-curly-newline" | "vue/object-curly-spacing" | "vue/object-property-newline" | "vue/object-shorthand" | "vue/operator-linebreak" | "vue/prefer-template" | "vue/quote-props" | "vue/space-in-parens" | "vue/space-infix-ops" | "vue/space-unary-ops" | "vue/template-curly-spacing", RuleConfig<unknown[]>>;
25
+ stylistic: Record<"stylistic/array-bracket-newline" | "stylistic/array-bracket-spacing" | "stylistic/array-element-newline" | "stylistic/arrow-parens" | "stylistic/arrow-spacing" | "stylistic/block-spacing" | "stylistic/brace-style" | "stylistic/comma-dangle" | "stylistic/comma-spacing" | "stylistic/comma-style" | "stylistic/computed-property-spacing" | "stylistic/curly-newline" | "stylistic/dot-location" | "stylistic/eol-last" | "stylistic/function-call-argument-newline" | "stylistic/function-call-spacing" | "stylistic/function-paren-newline" | "stylistic/generator-star-spacing" | "stylistic/implicit-arrow-linebreak" | "stylistic/indent" | "stylistic/indent-binary-ops" | "stylistic/jsx-child-element-spacing" | "stylistic/jsx-closing-bracket-location" | "stylistic/jsx-closing-tag-location" | "stylistic/jsx-curly-brace-presence" | "stylistic/jsx-curly-newline" | "stylistic/jsx-curly-spacing" | "stylistic/jsx-equals-spacing" | "stylistic/jsx-first-prop-new-line" | "stylistic/jsx-function-call-newline" | "stylistic/jsx-indent-props" | "stylistic/jsx-max-props-per-line" | "stylistic/jsx-newline" | "stylistic/jsx-one-expression-per-line" | "stylistic/jsx-pascal-case" | "stylistic/jsx-quotes" | "stylistic/jsx-self-closing-comp" | "stylistic/jsx-tag-spacing" | "stylistic/jsx-wrap-multilines" | "stylistic/key-spacing" | "stylistic/keyword-spacing" | "stylistic/line-comment-position" | "stylistic/linebreak-style" | "stylistic/lines-around-comment" | "stylistic/lines-between-class-members" | "stylistic/max-len" | "stylistic/max-statements-per-line" | "stylistic/member-delimiter-style" | "stylistic/multiline-comment-style" | "stylistic/multiline-ternary" | "stylistic/new-parens" | "stylistic/newline-per-chained-call" | "stylistic/no-confusing-arrow" | "stylistic/no-extra-parens" | "stylistic/no-extra-semi" | "stylistic/no-floating-decimal" | "stylistic/no-mixed-operators" | "stylistic/no-mixed-spaces-and-tabs" | "stylistic/no-multi-spaces" | "stylistic/no-multiple-empty-lines" | "stylistic/no-tabs" | "stylistic/no-trailing-spaces" | "stylistic/no-whitespace-before-property" | "stylistic/nonblock-statement-body-position" | "stylistic/object-curly-newline" | "stylistic/object-curly-spacing" | "stylistic/object-property-newline" | "stylistic/one-var-declaration-per-line" | "stylistic/operator-linebreak" | "stylistic/padded-blocks" | "stylistic/padding-line-between-statements" | "stylistic/quote-props" | "stylistic/quotes" | "stylistic/rest-spread-spacing" | "stylistic/semi" | "stylistic/semi-spacing" | "stylistic/semi-style" | "stylistic/space-before-blocks" | "stylistic/space-before-function-paren" | "stylistic/space-in-parens" | "stylistic/space-infix-ops" | "stylistic/space-unary-ops" | "stylistic/spaced-comment" | "stylistic/switch-colon-spacing" | "stylistic/template-curly-spacing" | "stylistic/template-tag-spacing" | "stylistic/type-annotation-spacing" | "stylistic/type-generic-spacing" | "stylistic/type-named-tuple-spacing" | "stylistic/wrap-iife" | "stylistic/wrap-regex" | "stylistic/yield-star-spacing", RuleConfig<unknown[]>>;
26
+ antfu: Record<"antfu/consistent-chaining" | "antfu/consistent-list-newline" | "antfu/curly" | "antfu/if-newline" | "antfu/import-dedupe" | "antfu/indent-unindent" | "antfu/no-import-dist" | "antfu/no-import-node-modules-by-path" | "antfu/no-top-level-await" | "antfu/no-ts-export-equal" | "antfu/top-level-function", RuleConfig<unknown[]>>;
27
+ imports: Record<"imports/consistent-type-specifier-style" | "imports/exports-last" | "imports/first" | "imports/newline-after-import" | "imports/no-default-export" | "imports/no-duplicates" | "imports/no-mutable-exports" | "imports/no-named-default" | "imports/prefer-default-export", RuleConfig<unknown[]>>;
28
+ importsSort: Record<"importsSort/imports" | "importsSort/exports", RuleConfig<unknown[]>>;
13
29
  };
14
30
  export default _default;
15
31
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,MAAM,MAAM,aAAa,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AACtC,MAAM,MAAM,YAAY,GAAG,KAAK,GAAG,MAAM,GAAG,OAAO,CAAC;AACpD,MAAM,MAAM,QAAQ,GAAG,YAAY,GAAG,aAAa,CAAC;AACpD,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,CAAC,QAAQ,CAAC,CAAC;;;;;;;;;;AAU/C,wBAQE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AA6CA,MAAM,MAAM,aAAa,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AACtC,MAAM,MAAM,YAAY,GAAG,KAAK,GAAG,MAAM,GAAG,OAAO,CAAC;AACpD,MAAM,MAAM,QAAQ,GAAG,YAAY,GAAG,aAAa,CAAC;AACpD,MAAM,MAAM,UAAU,CAAC,WAAW,SAAS,OAAO,EAAE,GAAG,OAAO,EAAE,IAAI,QAAQ,GAAG,CAAC,QAAQ,EAAE,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAYnH,QAAA,MAAM,KAAK;;;;;;;;;;CAUV,CAAC;AAEF,iBAAS,WAAW,CAAE,IAAI,EAAE,MAAM,OAAO,KAAK,EAAE,MAAM,CAAC,EAAE,MAAM,kttBAmB9D;;;;;;;;;;;;;;AAED,wBAIE"}
@@ -1 +1 @@
1
- {"version":3,"file":"preset.d.ts","sourceRoot":"","sources":["../../src/preset.ts"],"names":[],"mappings":";;;;AAAA,wBAqFE"}
1
+ {"version":3,"file":"preset.d.ts","sourceRoot":"","sources":["../../src/preset.ts"],"names":[],"mappings":";;;;AAAA,wBAuGE"}
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "description": "pawover's esLint rules",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
- "version": "0.0.0-beta.9",
7
+ "version": "0.0.2",
8
8
  "packageManager": "pnpm@10.28.2",
9
9
  "engines": {
10
10
  "node": ">=22.22.0"
@@ -41,41 +41,40 @@
41
41
  "build": "pnpm clean:output && tsc -p tsconfig.build.json",
42
42
  "public": "pnpm build && npm publish --access public",
43
43
  "check": "pnpm check:types & pnpm check:eslint & pnpm check:format",
44
- "check:types": "tsc --noEmit",
45
- "check:eslint": "pnpm build && pnpm eslint --fix \"**/*.{js,cjs,mjs,ts,cts,mts,jsx,tsx,vue}\" --cache-location=.cache/eslint.cache.json --cache",
46
- "check:format": "prettier --write \"**/*.{html,json}\" !.vscode/settings.json --cache-location=.cache/prettier.cache.json --cache",
44
+ "check:types": "tsc",
45
+ "check:eslint": "pnpm build && pnpm eslint --fix \"**/*.{js,cjs,mjs,ts,cts,mts,jsx,tsx,vue}\"",
46
+ "check:format": "prettier --write \"**/*.{html,json}\"",
47
47
  "check:pack": "attw --pack .",
48
- "clean": "pnpm clean:cache & pnpm clean:lib & pnpm clean:output",
49
- "clean:cache": "rimraf -g **/.cache **/auto-*.json **/auto-*.d.ts",
50
- "clean:lib": "rimraf -g **/node_modules",
48
+ "clean": "pnpm clean:lib & pnpm clean:output",
49
+ "clean:lib": "rimraf node_modules",
51
50
  "clean:output": "rimraf dist",
52
51
  "lib:up": "taze -I -r --exclude pnpm"
53
52
  },
54
53
  "devDependencies": {
55
- "@eslint-react/eslint-plugin": "^2.13.0",
54
+ "@arethetypeswrong/cli": "^0.18.2",
56
55
  "@stylistic/eslint-plugin": "^5.10.0",
57
- "eslint": "^9.39.4",
56
+ "eslint": "^10.2.0",
58
57
  "eslint-plugin-antfu": "^3.2.2",
59
- "eslint-plugin-import-lite": "^0.5.2",
60
- "eslint-plugin-react-hooks": "^7.0.1",
61
- "eslint-plugin-vue": "^10.8.0",
58
+ "eslint-plugin-import-lite": "^0.6.0",
59
+ "eslint-plugin-simple-import-sort": "^13.0.0",
62
60
  "prettier": "^3.8.1",
63
61
  "rimraf": "^6.1.3",
64
- "taze": "^19.10.0",
65
- "typescript": "^5.9.3",
66
- "typescript-eslint": "^8.56.1"
62
+ "taze": "^19.11.0",
63
+ "typescript": "^6.0.2",
64
+ "typescript-eslint": "^8.58.0"
67
65
  },
68
66
  "peerDependencies": {
69
- "@eslint-react/eslint-plugin": ">=2.13.0",
70
- "@stylistic/eslint-plugin": ">=5.9.0",
71
- "eslint": "^9.0.0 || ^10.0.0",
67
+ "@eslint-react/eslint-plugin": ">=4.2.3",
68
+ "@stylistic/eslint-plugin": ">=5.10.0",
69
+ "eslint": ">=10.0.3",
72
70
  "eslint-plugin-antfu": ">=3.2.2",
73
- "eslint-plugin-import-lite": ">=0.5.2",
71
+ "eslint-plugin-import-lite": ">=0.6.0",
74
72
  "eslint-plugin-react-hooks": ">=7.0.1",
73
+ "eslint-plugin-simple-import-sort": ">=13.0.0",
75
74
  "eslint-plugin-vue": ">=10.8.0",
76
75
  "react": ">=19.2.0",
77
76
  "typescript": ">=5.9.3",
78
- "typescript-eslint": ">=8.46.4"
77
+ "typescript-eslint": ">=8.57.0"
79
78
  },
80
79
  "peerDependenciesMeta": {
81
80
  "@eslint-react/eslint-plugin": {
@@ -90,6 +89,9 @@
90
89
  "eslint-plugin-import-lite": {
91
90
  "optional": true
92
91
  },
92
+ "eslint-plugin-simple-import-sort": {
93
+ "optional": true
94
+ },
93
95
  "eslint-plugin-react-hooks": {
94
96
  "optional": true
95
97
  },