@pawover/eslint-rules 0.0.0-beta.14 → 0.0.0-beta.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,11 @@
1
1
  export default {
2
- "imports/consistent-type-specifier-style": [2, "prefer-top-level"],
3
- "imports/exports-last": 0,
4
- "imports/first": 2,
5
- "imports/newline-after-import": [2, { count: 1 }],
6
- "imports/no-default-export": 0,
7
- "imports/no-duplicates": 2,
8
- "imports/no-mutable-exports": 2,
9
- "imports/no-named-default": 2,
10
- "imports/prefer-default-export": 0,
2
+ "import-lite/consistent-type-specifier-style": [2, "prefer-top-level"],
3
+ "import-lite/exports-last": 0,
4
+ "import-lite/first": 2,
5
+ "import-lite/newline-after-import": [2, { count: 1 }],
6
+ "import-lite/no-default-export": 0,
7
+ "import-lite/no-duplicates": 2,
8
+ "import-lite/no-mutable-exports": 2,
9
+ "import-lite/no-named-default": 2,
10
+ "import-lite/prefer-default-export": 0,
11
11
  };
@@ -1,7 +1,19 @@
1
1
  export default {
2
+ "react-hooks/exhaustive-deps": 0,
3
+ "react-hooks/rules-of-hooks": 0,
4
+ "react-hooks/component-hook-factories": 0,
2
5
  "react-hooks/config": 2,
6
+ "react-hooks/error-boundaries": 0,
3
7
  "react-hooks/gating": 2,
4
8
  "react-hooks/globals": 2,
9
+ "react-hooks/immutability": 0,
5
10
  "react-hooks/incompatible-library": 2,
6
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,
7
19
  };
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
  ],
@@ -1,15 +1,15 @@
1
1
  declare const _default: {
2
- "imports/consistent-type-specifier-style": (string | number)[];
3
- "imports/exports-last": number;
4
- "imports/first": number;
5
- "imports/newline-after-import": (number | {
2
+ "import-lite/consistent-type-specifier-style": (string | number)[];
3
+ "import-lite/exports-last": number;
4
+ "import-lite/first": number;
5
+ "import-lite/newline-after-import": (number | {
6
6
  count: number;
7
7
  })[];
8
- "imports/no-default-export": number;
9
- "imports/no-duplicates": number;
10
- "imports/no-mutable-exports": number;
11
- "imports/no-named-default": number;
12
- "imports/prefer-default-export": number;
8
+ "import-lite/no-default-export": number;
9
+ "import-lite/no-duplicates": number;
10
+ "import-lite/no-mutable-exports": number;
11
+ "import-lite/no-named-default": number;
12
+ "import-lite/prefer-default-export": number;
13
13
  };
14
14
  export default _default;
15
15
  //# sourceMappingURL=core.imports.d.ts.map
@@ -1,9 +1,21 @@
1
1
  declare const _default: {
2
+ "react-hooks/exhaustive-deps": number;
3
+ "react-hooks/rules-of-hooks": number;
4
+ "react-hooks/component-hook-factories": number;
2
5
  "react-hooks/config": number;
6
+ "react-hooks/error-boundaries": number;
3
7
  "react-hooks/gating": number;
4
8
  "react-hooks/globals": number;
9
+ "react-hooks/immutability": number;
5
10
  "react-hooks/incompatible-library": number;
6
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;
7
19
  };
8
20
  export default _default;
9
21
  //# sourceMappingURL=core.reactHooks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"core.reactHooks.d.ts","sourceRoot":"","sources":["../../src/core.reactHooks.ts"],"names":[],"mappings":";;;;;;;AAAA,wBAME"}
1
+ {"version":3,"file":"core.reactHooks.d.ts","sourceRoot":"","sources":["../../src/core.reactHooks.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,wBAkBE"}
@@ -1,17 +1,17 @@
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
5
  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<"@eslint-react/component-hook-factories" | "@eslint-react/error-boundaries" | "@eslint-react/exhaustive-deps" | "@eslint-react/immutability" | "@eslint-react/no-access-state-in-setstate" | "@eslint-react/no-array-index-key" | "@eslint-react/no-children-count" | "@eslint-react/no-children-for-each" | "@eslint-react/no-children-map" | "@eslint-react/no-children-only" | "@eslint-react/no-children-to-array" | "@eslint-react/no-class-component" | "@eslint-react/no-clone-element" | "@eslint-react/no-component-will-mount" | "@eslint-react/no-component-will-receive-props" | "@eslint-react/no-component-will-update" | "@eslint-react/no-context-provider" | "@eslint-react/no-create-ref" | "@eslint-react/no-direct-mutation-state" | "@eslint-react/no-duplicate-key" | "@eslint-react/no-forward-ref" | "@eslint-react/no-implicit-children" | "@eslint-react/no-implicit-key" | "@eslint-react/no-implicit-ref" | "@eslint-react/no-leaked-conditional-rendering" | "@eslint-react/no-missing-component-display-name" | "@eslint-react/no-missing-context-display-name" | "@eslint-react/no-missing-key" | "@eslint-react/no-misused-capture-owner-stack" | "@eslint-react/no-nested-component-definitions" | "@eslint-react/no-nested-lazy-component-declarations" | "@eslint-react/no-redundant-should-component-update" | "@eslint-react/no-set-state-in-component-did-mount" | "@eslint-react/no-set-state-in-component-did-update" | "@eslint-react/no-set-state-in-component-will-update" | "@eslint-react/no-unnecessary-use-callback" | "@eslint-react/no-unnecessary-use-memo" | "@eslint-react/no-unnecessary-use-prefix" | "@eslint-react/no-unsafe-component-will-mount" | "@eslint-react/no-unsafe-component-will-receive-props" | "@eslint-react/no-unsafe-component-will-update" | "@eslint-react/no-unstable-context-value" | "@eslint-react/no-unstable-default-props" | "@eslint-react/no-unused-class-component-members" | "@eslint-react/no-unused-props" | "@eslint-react/no-unused-state" | "@eslint-react/no-use-context" | "@eslint-react/prefer-destructuring-assignment" | "@eslint-react/prefer-namespace-import" | "@eslint-react/purity" | "@eslint-react/refs" | "@eslint-react/rules-of-hooks" | "@eslint-react/set-state-in-effect" | "@eslint-react/set-state-in-render" | "@eslint-react/unsupported-syntax" | "@eslint-react/use-memo" | "@eslint-react/use-state" | "@eslint-react/jsx-no-children-prop" | "@eslint-react/jsx-no-children-prop-with-children" | "@eslint-react/jsx-no-comment-textnodes" | "@eslint-react/jsx-no-key-after-spread" | "@eslint-react/jsx-no-leaked-dollar" | "@eslint-react/jsx-no-leaked-semicolon" | "@eslint-react/jsx-no-namespace" | "@eslint-react/jsx-no-useless-fragment" | "@eslint-react/rsc-function-definition" | "@eslint-react/dom-no-dangerously-set-innerhtml-with-children" | "@eslint-react/dom-no-dangerously-set-innerhtml" | "@eslint-react/dom-no-find-dom-node" | "@eslint-react/dom-no-flush-sync" | "@eslint-react/dom-no-hydrate" | "@eslint-react/dom-no-missing-button-type" | "@eslint-react/dom-no-missing-iframe-sandbox" | "@eslint-react/dom-no-render-return-value" | "@eslint-react/dom-no-render" | "@eslint-react/dom-no-script-url" | "@eslint-react/dom-no-string-style-prop" | "@eslint-react/dom-no-unknown-property" | "@eslint-react/dom-no-unsafe-iframe-sandbox" | "@eslint-react/dom-no-unsafe-target-blank" | "@eslint-react/dom-no-use-form-state" | "@eslint-react/dom-no-void-elements-with-children" | "@eslint-react/dom-prefer-namespace-import" | "@eslint-react/web-api-no-leaked-event-listener" | "@eslint-react/web-api-no-leaked-interval" | "@eslint-react/web-api-no-leaked-resize-observer" | "@eslint-react/web-api-no-leaked-timeout" | "@eslint-react/naming-convention-context-name" | "@eslint-react/naming-convention-id-name" | "@eslint-react/naming-convention-ref-name" | "@eslint-react/debug-class-component" | "@eslint-react/debug-function-component" | "@eslint-react/debug-hook" | "@eslint-react/debug-is-from-react" | "@eslint-react/debug-is-from-ref" | "@eslint-react/debug-jsx", RuleConfig>;
9
- reactHooks: Record<"react-hooks/config" | "react-hooks/gating" | "react-hooks/globals" | "react-hooks/incompatible-library" | "react-hooks/preserve-manual-memoization", RuleConfig>;
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>;
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>;
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>;
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>;
14
- importsSort: Record<"simple-import-sort/imports" | "simple-import-sort/exports", RuleConfig>;
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<"@eslint-react/component-hook-factories" | "@eslint-react/error-boundaries" | "@eslint-react/exhaustive-deps" | "@eslint-react/immutability" | "@eslint-react/no-access-state-in-setstate" | "@eslint-react/no-array-index-key" | "@eslint-react/no-children-count" | "@eslint-react/no-children-for-each" | "@eslint-react/no-children-map" | "@eslint-react/no-children-only" | "@eslint-react/no-children-to-array" | "@eslint-react/no-class-component" | "@eslint-react/no-clone-element" | "@eslint-react/no-component-will-mount" | "@eslint-react/no-component-will-receive-props" | "@eslint-react/no-component-will-update" | "@eslint-react/no-context-provider" | "@eslint-react/no-create-ref" | "@eslint-react/no-direct-mutation-state" | "@eslint-react/no-duplicate-key" | "@eslint-react/no-forward-ref" | "@eslint-react/no-implicit-children" | "@eslint-react/no-implicit-key" | "@eslint-react/no-implicit-ref" | "@eslint-react/no-leaked-conditional-rendering" | "@eslint-react/no-missing-component-display-name" | "@eslint-react/no-missing-context-display-name" | "@eslint-react/no-missing-key" | "@eslint-react/no-misused-capture-owner-stack" | "@eslint-react/no-nested-component-definitions" | "@eslint-react/no-nested-lazy-component-declarations" | "@eslint-react/no-redundant-should-component-update" | "@eslint-react/no-set-state-in-component-did-mount" | "@eslint-react/no-set-state-in-component-did-update" | "@eslint-react/no-set-state-in-component-will-update" | "@eslint-react/no-unnecessary-use-callback" | "@eslint-react/no-unnecessary-use-memo" | "@eslint-react/no-unnecessary-use-prefix" | "@eslint-react/no-unsafe-component-will-mount" | "@eslint-react/no-unsafe-component-will-receive-props" | "@eslint-react/no-unsafe-component-will-update" | "@eslint-react/no-unstable-context-value" | "@eslint-react/no-unstable-default-props" | "@eslint-react/no-unused-class-component-members" | "@eslint-react/no-unused-props" | "@eslint-react/no-unused-state" | "@eslint-react/no-use-context" | "@eslint-react/prefer-destructuring-assignment" | "@eslint-react/prefer-namespace-import" | "@eslint-react/purity" | "@eslint-react/refs" | "@eslint-react/rules-of-hooks" | "@eslint-react/set-state-in-effect" | "@eslint-react/set-state-in-render" | "@eslint-react/unsupported-syntax" | "@eslint-react/use-memo" | "@eslint-react/use-state" | "@eslint-react/jsx-no-children-prop" | "@eslint-react/jsx-no-children-prop-with-children" | "@eslint-react/jsx-no-comment-textnodes" | "@eslint-react/jsx-no-key-after-spread" | "@eslint-react/jsx-no-leaked-dollar" | "@eslint-react/jsx-no-leaked-semicolon" | "@eslint-react/jsx-no-namespace" | "@eslint-react/jsx-no-useless-fragment" | "@eslint-react/rsc-function-definition" | "@eslint-react/dom-no-dangerously-set-innerhtml-with-children" | "@eslint-react/dom-no-dangerously-set-innerhtml" | "@eslint-react/dom-no-find-dom-node" | "@eslint-react/dom-no-flush-sync" | "@eslint-react/dom-no-hydrate" | "@eslint-react/dom-no-missing-button-type" | "@eslint-react/dom-no-missing-iframe-sandbox" | "@eslint-react/dom-no-render-return-value" | "@eslint-react/dom-no-render" | "@eslint-react/dom-no-script-url" | "@eslint-react/dom-no-string-style-prop" | "@eslint-react/dom-no-unknown-property" | "@eslint-react/dom-no-unsafe-iframe-sandbox" | "@eslint-react/dom-no-unsafe-target-blank" | "@eslint-react/dom-no-use-form-state" | "@eslint-react/dom-no-void-elements-with-children" | "@eslint-react/dom-prefer-namespace-import" | "@eslint-react/web-api-no-leaked-event-listener" | "@eslint-react/web-api-no-leaked-interval" | "@eslint-react/web-api-no-leaked-resize-observer" | "@eslint-react/web-api-no-leaked-timeout" | "@eslint-react/naming-convention-context-name" | "@eslint-react/naming-convention-id-name" | "@eslint-react/naming-convention-ref-name" | "@eslint-react/debug-class-component" | "@eslint-react/debug-function-component" | "@eslint-react/debug-hook" | "@eslint-react/debug-is-from-react" | "@eslint-react/debug-is-from-ref" | "@eslint-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<"import-lite/consistent-type-specifier-style" | "import-lite/exports-last" | "import-lite/first" | "import-lite/newline-after-import" | "import-lite/no-default-export" | "import-lite/no-duplicates" | "import-lite/no-mutable-exports" | "import-lite/no-named-default" | "import-lite/prefer-default-export", RuleConfig<unknown[]>>;
14
+ importsSort: Record<"simple-import-sort/imports" | "simple-import-sort/exports", RuleConfig<unknown[]>>;
15
15
  GLOB_EXCLUDE: string[];
16
16
  };
17
17
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAUA,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;;;;;;;;;;;;;AA+C/C,wBAWE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAUA,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;;;;;;;;;;;;;AA+CnH,wBAWE"}
@@ -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.14",
7
+ "version": "0.0.0-beta.20",
8
8
  "packageManager": "pnpm@10.28.2",
9
9
  "engines": {
10
10
  "node": ">=22.22.0"
@@ -43,23 +43,20 @@
43
43
  "check": "pnpm check:types & pnpm check:eslint & pnpm check:format",
44
44
  "check:types": "tsc",
45
45
  "check:eslint": "pnpm build && pnpm eslint --fix \"**/*.{js,cjs,mjs,ts,cts,mts,jsx,tsx,vue}\"",
46
- "check:format": "prettier --write \"**/*.{html,json}\" !.vscode/settings.json",
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:lib": "rimraf -g **/node_modules",
50
- "clean:output": "rimraf -g **/dist",
48
+ "clean": "pnpm clean:lib & pnpm clean:output",
49
+ "clean:lib": "rimraf node_modules",
50
+ "clean:output": "rimraf dist",
51
51
  "lib:up": "taze -I -r --exclude pnpm"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@arethetypeswrong/cli": "^0.18.2",
55
- "@eslint-react/eslint-plugin": "^4.2.3",
56
55
  "@stylistic/eslint-plugin": "^5.10.0",
57
56
  "eslint": "^10.2.0",
58
57
  "eslint-plugin-antfu": "^3.2.2",
59
58
  "eslint-plugin-import-lite": "^0.6.0",
60
- "eslint-plugin-react-hooks": "^7.0.1",
61
59
  "eslint-plugin-simple-import-sort": "^13.0.0",
62
- "eslint-plugin-vue": "^10.8.0",
63
60
  "prettier": "^3.8.1",
64
61
  "rimraf": "^6.1.3",
65
62
  "taze": "^19.11.0",
@@ -67,11 +64,11 @@
67
64
  "typescript-eslint": "^8.58.0"
68
65
  },
69
66
  "peerDependencies": {
70
- "@eslint-react/eslint-plugin": ">=3.0.0",
67
+ "@eslint-react/eslint-plugin": ">=4.2.3",
71
68
  "@stylistic/eslint-plugin": ">=5.10.0",
72
69
  "eslint": ">=10.0.3",
73
70
  "eslint-plugin-antfu": ">=3.2.2",
74
- "eslint-plugin-import-lite": ">=0.5.2",
71
+ "eslint-plugin-import-lite": ">=0.6.0",
75
72
  "eslint-plugin-react-hooks": ">=7.0.1",
76
73
  "eslint-plugin-simple-import-sort": ">=13.0.0",
77
74
  "eslint-plugin-vue": ">=10.8.0",