@eslint-react/eslint-plugin 1.7.1 → 1.8.0-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/index.d.mts +70 -70
- package/dist/index.d.ts +70 -70
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ A series of composable ESLint rules rewritten from scratch for libraries and fra
|
|
|
10
10
|
|
|
11
11
|
## Roadmap
|
|
12
12
|
|
|
13
|
-
- [Milestone 2.0 ↗](https://eslint-react.xyz/roadmap#milestone-20
|
|
13
|
+
- [Milestone 2.0 ↗](https://eslint-react.xyz/roadmap#milestone-20)
|
|
14
14
|
- [Milestone 3.0 ↗](https://eslint-react.xyz/roadmap#milestone-30-draft)
|
|
15
15
|
|
|
16
16
|
## Features
|
|
@@ -27,7 +27,7 @@ A series of composable ESLint rules rewritten from scratch for libraries and fra
|
|
|
27
27
|
|
|
28
28
|
### Mono plugins (will be available in 2.0)
|
|
29
29
|
|
|
30
|
-
- [`eslint-plugin-react-x`](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) - Core rules (
|
|
30
|
+
- [`eslint-plugin-react-x`](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) - Core rules (renderer-agnostic, compatible with x-platform).
|
|
31
31
|
- [`eslint-plugin-react-dom`](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) - DOM specific rules for React DOM.
|
|
32
32
|
- [`eslint-plugin-react-hooks-extra`](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-hooks-extra) - Extra React Hooks rules.
|
|
33
33
|
- [`eslint-plugin-react-naming-convention`](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-naming-convention) - Naming convention rules.
|
package/dist/index.d.mts
CHANGED
|
@@ -644,86 +644,86 @@ declare const _default: {
|
|
|
644
644
|
};
|
|
645
645
|
};
|
|
646
646
|
readonly rules: {
|
|
647
|
-
readonly "debug/class-component": _typescript_eslint_utils_ts_eslint.RuleModule<"CLASS_COMPONENT", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
648
|
-
readonly "debug/function-component": _typescript_eslint_utils_ts_eslint.RuleModule<"FUNCTION_COMPONENT", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
649
|
-
readonly "debug/react-hooks": _typescript_eslint_utils_ts_eslint.RuleModule<"REACT_HOOKS", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
647
|
+
readonly "debug/class-component": _typescript_eslint_utils_ts_eslint.RuleModule<"CLASS_COMPONENT", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
648
|
+
readonly "debug/function-component": _typescript_eslint_utils_ts_eslint.RuleModule<"FUNCTION_COMPONENT", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
649
|
+
readonly "debug/react-hooks": _typescript_eslint_utils_ts_eslint.RuleModule<"REACT_HOOKS", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
650
650
|
readonly "naming-convention/component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"COMPONENT_NAME", readonly [{
|
|
651
651
|
excepts?: readonly string[];
|
|
652
652
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
653
|
-
} | "CONSTANT_CASE" | "PascalCase" | undefined], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
653
|
+
} | "CONSTANT_CASE" | "PascalCase" | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
654
654
|
readonly "naming-convention/filename": _typescript_eslint_utils_ts_eslint.RuleModule<"FILENAME_CASE_MISMATCH" | "FILENAME_CASE_MISMATCH_SUGGESTION" | "FILENAME_EMPTY", readonly ["PascalCase" | {
|
|
655
655
|
excepts?: readonly string[];
|
|
656
656
|
extensions?: readonly string[];
|
|
657
657
|
rule?: "PascalCase" | "camelCase" | "kebab-case" | "snake_case";
|
|
658
|
-
} | "camelCase" | "kebab-case" | "snake_case" | undefined], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
658
|
+
} | "camelCase" | "kebab-case" | "snake_case" | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
659
659
|
readonly "naming-convention/filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"FILE_NAME_EXTENSION_INVALID" | "FILE_NAME_EXTENSION_UNEXPECTED", readonly [{
|
|
660
660
|
allow?: "always" | "as-needed";
|
|
661
661
|
extensions?: readonly string[];
|
|
662
|
-
} | "always" | "as-needed" | undefined], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
663
|
-
readonly "naming-convention/use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"USE_STATE", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
664
|
-
readonly "hooks-extra/ensure-custom-hooks-using-other-hooks": _typescript_eslint_utils_ts_eslint.RuleModule<"ENSURE_CUSTOM_HOOKS_USING_OTHER_HOOKS", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
665
|
-
readonly "hooks-extra/ensure-use-callback-has-non-empty-deps": _typescript_eslint_utils_ts_eslint.RuleModule<"ENSURE_USE_CALLBACK_HAS_NON_EMPTY_DEPS", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
666
|
-
readonly "hooks-extra/ensure-use-memo-has-non-empty-deps": _typescript_eslint_utils_ts_eslint.RuleModule<"ENSURE_USE_MEMO_HAS_NON_EMPTY_DEPS", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
667
|
-
readonly "hooks-extra/no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_DIRECT_SET_STATE_IN_USE_EFFECT", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
668
|
-
readonly "hooks-extra/no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_DIRECT_SET_STATE_IN_USE_LAYOUT_EFFECT", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
669
|
-
readonly "hooks-extra/prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"PREFER_USE_STATE_LAZY_INITIALIZATION", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
670
|
-
readonly "dom/no-children-in-void-dom-elements": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CHILDREN_IN_VOID_DOM_ELEMENTS", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
671
|
-
readonly "dom/no-dangerously-set-innerhtml": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_DANGEROUSLY_SET_INNERHTML", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
672
|
-
readonly "dom/no-dangerously-set-innerhtml-with-children": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_DANGEROUSLY_SET_INNERHTML_WITH_CHILDREN", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
673
|
-
readonly "dom/no-find-dom-node": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_FIND_DOM_NODE", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
674
|
-
readonly "dom/no-missing-button-type": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_MISSING_BUTTON_TYPE", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
675
|
-
readonly "dom/no-missing-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_MISSING_IFRAME_SANDBOX", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
676
|
-
readonly "dom/no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_NAMESPACE", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
677
|
-
readonly "dom/no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_RENDER_RETURN_VALUE", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
678
|
-
readonly "dom/no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_SCRIPT_URL", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
679
|
-
readonly "dom/no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_UNSAFE_IFRAME_SANDBOX", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
680
|
-
readonly "dom/no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_UNSAFE_TARGET_BLANK", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
681
|
-
readonly "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"AVOID_SHORTHAND_BOOLEAN", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
682
|
-
readonly "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"AVOID_SHORTHAND_FRAGMENT", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
683
|
-
readonly "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"ENSURE_FORWARD_REF_USING_REF", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
684
|
-
readonly "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_ACCESS_STATE_IN_SETSTATE", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
685
|
-
readonly "no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_ARRAY_INDEX_KEY", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
686
|
-
readonly "no-children-count": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CHILDREN_COUNT", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
687
|
-
readonly "no-children-for-each": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CHILDREN_FOR_EACH", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
688
|
-
readonly "no-children-map": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CHILDREN_MAP", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
689
|
-
readonly "no-children-only": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CHILDREN_ONLY", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
690
|
-
readonly "no-children-prop": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CHILDREN_PROP", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
691
|
-
readonly "no-children-to-array": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CHILDREN_TO_ARRAY", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
692
|
-
readonly "no-class-component": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CLASS_COMPONENT", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
693
|
-
readonly "no-clone-element": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CLONE_ELEMENT", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
694
|
-
readonly "no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_COMMENT_TEXTNODES", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
695
|
-
readonly "no-complex-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_COMPLEX_CONDITIONAL_RENDERING", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
696
|
-
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_COMPLEX_CONDITIONAL_RENDERING", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
697
|
-
readonly "no-component-will-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_COMPONENT_WILL_MOUNT", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
698
|
-
readonly "no-component-will-receive-props": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_COMPONENT_WILL_RECEIVE_PROPS", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
699
|
-
readonly "no-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_COMPONENT_WILL_UPDATE", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
700
|
-
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CREATE_REF", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
701
|
-
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_DEFAULT_PROPS", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
702
|
-
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_DIRECT_MUTATION_STATE", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
703
|
-
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_DUPLICATE_KEY", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
704
|
-
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_IMPLICIT_KEY", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
705
|
-
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_LEAKED_CONDITIONAL_RENDERING", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
706
|
-
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_MISSING_COMPONENT_DISPLAY_NAME", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
707
|
-
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_MISSING_KEY" | "NO_MISSING_KEY_WITH_FRAGMENT", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
708
|
-
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"NESTED_COMPONENT" | "NESTED_COMPONENT_IN_PROPS", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
709
|
-
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_PROP_TYPES", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
710
|
-
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_REDUNDANT_SHOULD_COMPONENT_UPDATE", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
711
|
-
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_SET_STATE_IN_COMPONENT_DID_MOUNT", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
712
|
-
readonly "no-set-state-in-component-did-update": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_SET_STATE_IN_COMPONENT_DID_UPDATE", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
713
|
-
readonly "no-set-state-in-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_SET_STATE_IN_COMPONENT_WILL_UPDATE", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
714
|
-
readonly "no-string-refs": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_STRING_REFS", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
715
|
-
readonly "no-unsafe-component-will-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_UNSAFE_COMPONENT_WILL_MOUNT", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
716
|
-
readonly "no-unsafe-component-will-receive-props": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_UNSAFE_COMPONENT_WILL_RECEIVE_PROPS", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
717
|
-
readonly "no-unsafe-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_UNSAFE_COMPONENT_WILL_UPDATE", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
718
|
-
readonly "no-unstable-context-value": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_UNSTABLE_CONTEXT_VALUE" | "NO_UNSTABLE_CONTEXT_VALUE_WITH_FUNCTION" | "NO_UNSTABLE_CONTEXT_VALUE_WITH_IDENTIFIER", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
719
|
-
readonly "no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_UNSTABLE_DEFAULT_PROPS", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
720
|
-
readonly "no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_UNUSED_CLASS_COMPONENT_MEMBERS", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
721
|
-
readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_UNUSED_STATE", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
722
|
-
readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_USELESS_FRAGMENT" | "NO_USELESS_FRAGMENT_IN_BUILT_IN", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
723
|
-
readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"PREFER_DESTRUCTURING_ASSIGNMENT", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
724
|
-
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"PREFER_READ_ONLY_PROPS", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
725
|
-
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"PREFER_SHORTHAND_BOOLEAN", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
726
|
-
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"PREFER_SHORTHAND_FRAGMENT", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
662
|
+
} | "always" | "as-needed" | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
663
|
+
readonly "naming-convention/use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"USE_STATE", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
664
|
+
readonly "hooks-extra/ensure-custom-hooks-using-other-hooks": _typescript_eslint_utils_ts_eslint.RuleModule<"ENSURE_CUSTOM_HOOKS_USING_OTHER_HOOKS", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
665
|
+
readonly "hooks-extra/ensure-use-callback-has-non-empty-deps": _typescript_eslint_utils_ts_eslint.RuleModule<"ENSURE_USE_CALLBACK_HAS_NON_EMPTY_DEPS", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
666
|
+
readonly "hooks-extra/ensure-use-memo-has-non-empty-deps": _typescript_eslint_utils_ts_eslint.RuleModule<"ENSURE_USE_MEMO_HAS_NON_EMPTY_DEPS", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
667
|
+
readonly "hooks-extra/no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_DIRECT_SET_STATE_IN_USE_EFFECT", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
668
|
+
readonly "hooks-extra/no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_DIRECT_SET_STATE_IN_USE_LAYOUT_EFFECT", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
669
|
+
readonly "hooks-extra/prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"PREFER_USE_STATE_LAZY_INITIALIZATION", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
670
|
+
readonly "dom/no-children-in-void-dom-elements": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CHILDREN_IN_VOID_DOM_ELEMENTS", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
671
|
+
readonly "dom/no-dangerously-set-innerhtml": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_DANGEROUSLY_SET_INNERHTML", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
672
|
+
readonly "dom/no-dangerously-set-innerhtml-with-children": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_DANGEROUSLY_SET_INNERHTML_WITH_CHILDREN", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
673
|
+
readonly "dom/no-find-dom-node": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_FIND_DOM_NODE", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
674
|
+
readonly "dom/no-missing-button-type": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_MISSING_BUTTON_TYPE", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
675
|
+
readonly "dom/no-missing-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_MISSING_IFRAME_SANDBOX", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
676
|
+
readonly "dom/no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_NAMESPACE", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
677
|
+
readonly "dom/no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_RENDER_RETURN_VALUE", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
678
|
+
readonly "dom/no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_SCRIPT_URL", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
679
|
+
readonly "dom/no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_UNSAFE_IFRAME_SANDBOX", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
680
|
+
readonly "dom/no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_UNSAFE_TARGET_BLANK", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
681
|
+
readonly "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"AVOID_SHORTHAND_BOOLEAN", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
682
|
+
readonly "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"AVOID_SHORTHAND_FRAGMENT", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
683
|
+
readonly "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"ENSURE_FORWARD_REF_USING_REF", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
684
|
+
readonly "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_ACCESS_STATE_IN_SETSTATE", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
685
|
+
readonly "no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_ARRAY_INDEX_KEY", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
686
|
+
readonly "no-children-count": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CHILDREN_COUNT", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
687
|
+
readonly "no-children-for-each": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CHILDREN_FOR_EACH", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
688
|
+
readonly "no-children-map": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CHILDREN_MAP", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
689
|
+
readonly "no-children-only": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CHILDREN_ONLY", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
690
|
+
readonly "no-children-prop": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CHILDREN_PROP", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
691
|
+
readonly "no-children-to-array": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CHILDREN_TO_ARRAY", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
692
|
+
readonly "no-class-component": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CLASS_COMPONENT", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
693
|
+
readonly "no-clone-element": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CLONE_ELEMENT", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
694
|
+
readonly "no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_COMMENT_TEXTNODES", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
695
|
+
readonly "no-complex-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_COMPLEX_CONDITIONAL_RENDERING", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
696
|
+
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_COMPLEX_CONDITIONAL_RENDERING", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
697
|
+
readonly "no-component-will-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_COMPONENT_WILL_MOUNT", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
698
|
+
readonly "no-component-will-receive-props": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_COMPONENT_WILL_RECEIVE_PROPS", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
699
|
+
readonly "no-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_COMPONENT_WILL_UPDATE", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
700
|
+
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CREATE_REF", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
701
|
+
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_DEFAULT_PROPS", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
702
|
+
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_DIRECT_MUTATION_STATE", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
703
|
+
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_DUPLICATE_KEY", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
704
|
+
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_IMPLICIT_KEY", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
705
|
+
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_LEAKED_CONDITIONAL_RENDERING", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
706
|
+
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_MISSING_COMPONENT_DISPLAY_NAME", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
707
|
+
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_MISSING_KEY" | "NO_MISSING_KEY_WITH_FRAGMENT", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
708
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"NESTED_COMPONENT" | "NESTED_COMPONENT_IN_PROPS", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
709
|
+
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_PROP_TYPES", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
710
|
+
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_REDUNDANT_SHOULD_COMPONENT_UPDATE", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
711
|
+
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_SET_STATE_IN_COMPONENT_DID_MOUNT", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
712
|
+
readonly "no-set-state-in-component-did-update": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_SET_STATE_IN_COMPONENT_DID_UPDATE", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
713
|
+
readonly "no-set-state-in-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_SET_STATE_IN_COMPONENT_WILL_UPDATE", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
714
|
+
readonly "no-string-refs": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_STRING_REFS", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
715
|
+
readonly "no-unsafe-component-will-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_UNSAFE_COMPONENT_WILL_MOUNT", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
716
|
+
readonly "no-unsafe-component-will-receive-props": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_UNSAFE_COMPONENT_WILL_RECEIVE_PROPS", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
717
|
+
readonly "no-unsafe-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_UNSAFE_COMPONENT_WILL_UPDATE", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
718
|
+
readonly "no-unstable-context-value": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_UNSTABLE_CONTEXT_VALUE" | "NO_UNSTABLE_CONTEXT_VALUE_WITH_FUNCTION" | "NO_UNSTABLE_CONTEXT_VALUE_WITH_IDENTIFIER", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
719
|
+
readonly "no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_UNSTABLE_DEFAULT_PROPS", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
720
|
+
readonly "no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_UNUSED_CLASS_COMPONENT_MEMBERS", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
721
|
+
readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_UNUSED_STATE", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
722
|
+
readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_USELESS_FRAGMENT" | "NO_USELESS_FRAGMENT_IN_BUILT_IN", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
723
|
+
readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"PREFER_DESTRUCTURING_ASSIGNMENT", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
724
|
+
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"PREFER_READ_ONLY_PROPS", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
725
|
+
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"PREFER_SHORTHAND_BOOLEAN", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
726
|
+
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"PREFER_SHORTHAND_FRAGMENT", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
727
727
|
};
|
|
728
728
|
};
|
|
729
729
|
|
package/dist/index.d.ts
CHANGED
|
@@ -644,86 +644,86 @@ declare const _default: {
|
|
|
644
644
|
};
|
|
645
645
|
};
|
|
646
646
|
readonly rules: {
|
|
647
|
-
readonly "debug/class-component": _typescript_eslint_utils_ts_eslint.RuleModule<"CLASS_COMPONENT", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
648
|
-
readonly "debug/function-component": _typescript_eslint_utils_ts_eslint.RuleModule<"FUNCTION_COMPONENT", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
649
|
-
readonly "debug/react-hooks": _typescript_eslint_utils_ts_eslint.RuleModule<"REACT_HOOKS", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
647
|
+
readonly "debug/class-component": _typescript_eslint_utils_ts_eslint.RuleModule<"CLASS_COMPONENT", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
648
|
+
readonly "debug/function-component": _typescript_eslint_utils_ts_eslint.RuleModule<"FUNCTION_COMPONENT", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
649
|
+
readonly "debug/react-hooks": _typescript_eslint_utils_ts_eslint.RuleModule<"REACT_HOOKS", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
650
650
|
readonly "naming-convention/component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"COMPONENT_NAME", readonly [{
|
|
651
651
|
excepts?: readonly string[];
|
|
652
652
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
653
|
-
} | "CONSTANT_CASE" | "PascalCase" | undefined], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
653
|
+
} | "CONSTANT_CASE" | "PascalCase" | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
654
654
|
readonly "naming-convention/filename": _typescript_eslint_utils_ts_eslint.RuleModule<"FILENAME_CASE_MISMATCH" | "FILENAME_CASE_MISMATCH_SUGGESTION" | "FILENAME_EMPTY", readonly ["PascalCase" | {
|
|
655
655
|
excepts?: readonly string[];
|
|
656
656
|
extensions?: readonly string[];
|
|
657
657
|
rule?: "PascalCase" | "camelCase" | "kebab-case" | "snake_case";
|
|
658
|
-
} | "camelCase" | "kebab-case" | "snake_case" | undefined], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
658
|
+
} | "camelCase" | "kebab-case" | "snake_case" | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
659
659
|
readonly "naming-convention/filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"FILE_NAME_EXTENSION_INVALID" | "FILE_NAME_EXTENSION_UNEXPECTED", readonly [{
|
|
660
660
|
allow?: "always" | "as-needed";
|
|
661
661
|
extensions?: readonly string[];
|
|
662
|
-
} | "always" | "as-needed" | undefined], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
663
|
-
readonly "naming-convention/use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"USE_STATE", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
664
|
-
readonly "hooks-extra/ensure-custom-hooks-using-other-hooks": _typescript_eslint_utils_ts_eslint.RuleModule<"ENSURE_CUSTOM_HOOKS_USING_OTHER_HOOKS", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
665
|
-
readonly "hooks-extra/ensure-use-callback-has-non-empty-deps": _typescript_eslint_utils_ts_eslint.RuleModule<"ENSURE_USE_CALLBACK_HAS_NON_EMPTY_DEPS", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
666
|
-
readonly "hooks-extra/ensure-use-memo-has-non-empty-deps": _typescript_eslint_utils_ts_eslint.RuleModule<"ENSURE_USE_MEMO_HAS_NON_EMPTY_DEPS", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
667
|
-
readonly "hooks-extra/no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_DIRECT_SET_STATE_IN_USE_EFFECT", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
668
|
-
readonly "hooks-extra/no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_DIRECT_SET_STATE_IN_USE_LAYOUT_EFFECT", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
669
|
-
readonly "hooks-extra/prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"PREFER_USE_STATE_LAZY_INITIALIZATION", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
670
|
-
readonly "dom/no-children-in-void-dom-elements": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CHILDREN_IN_VOID_DOM_ELEMENTS", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
671
|
-
readonly "dom/no-dangerously-set-innerhtml": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_DANGEROUSLY_SET_INNERHTML", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
672
|
-
readonly "dom/no-dangerously-set-innerhtml-with-children": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_DANGEROUSLY_SET_INNERHTML_WITH_CHILDREN", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
673
|
-
readonly "dom/no-find-dom-node": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_FIND_DOM_NODE", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
674
|
-
readonly "dom/no-missing-button-type": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_MISSING_BUTTON_TYPE", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
675
|
-
readonly "dom/no-missing-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_MISSING_IFRAME_SANDBOX", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
676
|
-
readonly "dom/no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_NAMESPACE", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
677
|
-
readonly "dom/no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_RENDER_RETURN_VALUE", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
678
|
-
readonly "dom/no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_SCRIPT_URL", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
679
|
-
readonly "dom/no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_UNSAFE_IFRAME_SANDBOX", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
680
|
-
readonly "dom/no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_UNSAFE_TARGET_BLANK", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
681
|
-
readonly "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"AVOID_SHORTHAND_BOOLEAN", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
682
|
-
readonly "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"AVOID_SHORTHAND_FRAGMENT", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
683
|
-
readonly "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"ENSURE_FORWARD_REF_USING_REF", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
684
|
-
readonly "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_ACCESS_STATE_IN_SETSTATE", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
685
|
-
readonly "no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_ARRAY_INDEX_KEY", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
686
|
-
readonly "no-children-count": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CHILDREN_COUNT", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
687
|
-
readonly "no-children-for-each": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CHILDREN_FOR_EACH", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
688
|
-
readonly "no-children-map": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CHILDREN_MAP", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
689
|
-
readonly "no-children-only": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CHILDREN_ONLY", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
690
|
-
readonly "no-children-prop": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CHILDREN_PROP", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
691
|
-
readonly "no-children-to-array": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CHILDREN_TO_ARRAY", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
692
|
-
readonly "no-class-component": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CLASS_COMPONENT", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
693
|
-
readonly "no-clone-element": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CLONE_ELEMENT", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
694
|
-
readonly "no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_COMMENT_TEXTNODES", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
695
|
-
readonly "no-complex-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_COMPLEX_CONDITIONAL_RENDERING", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
696
|
-
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_COMPLEX_CONDITIONAL_RENDERING", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
697
|
-
readonly "no-component-will-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_COMPONENT_WILL_MOUNT", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
698
|
-
readonly "no-component-will-receive-props": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_COMPONENT_WILL_RECEIVE_PROPS", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
699
|
-
readonly "no-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_COMPONENT_WILL_UPDATE", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
700
|
-
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CREATE_REF", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
701
|
-
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_DEFAULT_PROPS", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
702
|
-
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_DIRECT_MUTATION_STATE", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
703
|
-
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_DUPLICATE_KEY", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
704
|
-
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_IMPLICIT_KEY", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
705
|
-
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_LEAKED_CONDITIONAL_RENDERING", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
706
|
-
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_MISSING_COMPONENT_DISPLAY_NAME", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
707
|
-
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_MISSING_KEY" | "NO_MISSING_KEY_WITH_FRAGMENT", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
708
|
-
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"NESTED_COMPONENT" | "NESTED_COMPONENT_IN_PROPS", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
709
|
-
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_PROP_TYPES", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
710
|
-
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_REDUNDANT_SHOULD_COMPONENT_UPDATE", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
711
|
-
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_SET_STATE_IN_COMPONENT_DID_MOUNT", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
712
|
-
readonly "no-set-state-in-component-did-update": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_SET_STATE_IN_COMPONENT_DID_UPDATE", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
713
|
-
readonly "no-set-state-in-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_SET_STATE_IN_COMPONENT_WILL_UPDATE", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
714
|
-
readonly "no-string-refs": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_STRING_REFS", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
715
|
-
readonly "no-unsafe-component-will-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_UNSAFE_COMPONENT_WILL_MOUNT", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
716
|
-
readonly "no-unsafe-component-will-receive-props": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_UNSAFE_COMPONENT_WILL_RECEIVE_PROPS", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
717
|
-
readonly "no-unsafe-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_UNSAFE_COMPONENT_WILL_UPDATE", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
718
|
-
readonly "no-unstable-context-value": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_UNSTABLE_CONTEXT_VALUE" | "NO_UNSTABLE_CONTEXT_VALUE_WITH_FUNCTION" | "NO_UNSTABLE_CONTEXT_VALUE_WITH_IDENTIFIER", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
719
|
-
readonly "no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_UNSTABLE_DEFAULT_PROPS", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
720
|
-
readonly "no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_UNUSED_CLASS_COMPONENT_MEMBERS", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
721
|
-
readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_UNUSED_STATE", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
722
|
-
readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_USELESS_FRAGMENT" | "NO_USELESS_FRAGMENT_IN_BUILT_IN", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
723
|
-
readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"PREFER_DESTRUCTURING_ASSIGNMENT", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
724
|
-
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"PREFER_READ_ONLY_PROPS", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
725
|
-
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"PREFER_SHORTHAND_BOOLEAN", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
726
|
-
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"PREFER_SHORTHAND_FRAGMENT", [], _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
662
|
+
} | "always" | "as-needed" | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
663
|
+
readonly "naming-convention/use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"USE_STATE", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
664
|
+
readonly "hooks-extra/ensure-custom-hooks-using-other-hooks": _typescript_eslint_utils_ts_eslint.RuleModule<"ENSURE_CUSTOM_HOOKS_USING_OTHER_HOOKS", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
665
|
+
readonly "hooks-extra/ensure-use-callback-has-non-empty-deps": _typescript_eslint_utils_ts_eslint.RuleModule<"ENSURE_USE_CALLBACK_HAS_NON_EMPTY_DEPS", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
666
|
+
readonly "hooks-extra/ensure-use-memo-has-non-empty-deps": _typescript_eslint_utils_ts_eslint.RuleModule<"ENSURE_USE_MEMO_HAS_NON_EMPTY_DEPS", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
667
|
+
readonly "hooks-extra/no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_DIRECT_SET_STATE_IN_USE_EFFECT", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
668
|
+
readonly "hooks-extra/no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_DIRECT_SET_STATE_IN_USE_LAYOUT_EFFECT", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
669
|
+
readonly "hooks-extra/prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"PREFER_USE_STATE_LAZY_INITIALIZATION", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
670
|
+
readonly "dom/no-children-in-void-dom-elements": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CHILDREN_IN_VOID_DOM_ELEMENTS", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
671
|
+
readonly "dom/no-dangerously-set-innerhtml": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_DANGEROUSLY_SET_INNERHTML", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
672
|
+
readonly "dom/no-dangerously-set-innerhtml-with-children": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_DANGEROUSLY_SET_INNERHTML_WITH_CHILDREN", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
673
|
+
readonly "dom/no-find-dom-node": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_FIND_DOM_NODE", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
674
|
+
readonly "dom/no-missing-button-type": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_MISSING_BUTTON_TYPE", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
675
|
+
readonly "dom/no-missing-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_MISSING_IFRAME_SANDBOX", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
676
|
+
readonly "dom/no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_NAMESPACE", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
677
|
+
readonly "dom/no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_RENDER_RETURN_VALUE", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
678
|
+
readonly "dom/no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_SCRIPT_URL", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
679
|
+
readonly "dom/no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_UNSAFE_IFRAME_SANDBOX", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
680
|
+
readonly "dom/no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_UNSAFE_TARGET_BLANK", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
681
|
+
readonly "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"AVOID_SHORTHAND_BOOLEAN", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
682
|
+
readonly "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"AVOID_SHORTHAND_FRAGMENT", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
683
|
+
readonly "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"ENSURE_FORWARD_REF_USING_REF", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
684
|
+
readonly "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_ACCESS_STATE_IN_SETSTATE", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
685
|
+
readonly "no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_ARRAY_INDEX_KEY", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
686
|
+
readonly "no-children-count": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CHILDREN_COUNT", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
687
|
+
readonly "no-children-for-each": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CHILDREN_FOR_EACH", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
688
|
+
readonly "no-children-map": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CHILDREN_MAP", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
689
|
+
readonly "no-children-only": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CHILDREN_ONLY", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
690
|
+
readonly "no-children-prop": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CHILDREN_PROP", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
691
|
+
readonly "no-children-to-array": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CHILDREN_TO_ARRAY", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
692
|
+
readonly "no-class-component": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CLASS_COMPONENT", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
693
|
+
readonly "no-clone-element": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CLONE_ELEMENT", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
694
|
+
readonly "no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_COMMENT_TEXTNODES", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
695
|
+
readonly "no-complex-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_COMPLEX_CONDITIONAL_RENDERING", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
696
|
+
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_COMPLEX_CONDITIONAL_RENDERING", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
697
|
+
readonly "no-component-will-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_COMPONENT_WILL_MOUNT", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
698
|
+
readonly "no-component-will-receive-props": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_COMPONENT_WILL_RECEIVE_PROPS", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
699
|
+
readonly "no-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_COMPONENT_WILL_UPDATE", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
700
|
+
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_CREATE_REF", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
701
|
+
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_DEFAULT_PROPS", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
702
|
+
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_DIRECT_MUTATION_STATE", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
703
|
+
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_DUPLICATE_KEY", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
704
|
+
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_IMPLICIT_KEY", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
705
|
+
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_LEAKED_CONDITIONAL_RENDERING", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
706
|
+
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_MISSING_COMPONENT_DISPLAY_NAME", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
707
|
+
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_MISSING_KEY" | "NO_MISSING_KEY_WITH_FRAGMENT", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
708
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"NESTED_COMPONENT" | "NESTED_COMPONENT_IN_PROPS", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
709
|
+
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_PROP_TYPES", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
710
|
+
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_REDUNDANT_SHOULD_COMPONENT_UPDATE", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
711
|
+
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_SET_STATE_IN_COMPONENT_DID_MOUNT", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
712
|
+
readonly "no-set-state-in-component-did-update": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_SET_STATE_IN_COMPONENT_DID_UPDATE", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
713
|
+
readonly "no-set-state-in-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_SET_STATE_IN_COMPONENT_WILL_UPDATE", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
714
|
+
readonly "no-string-refs": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_STRING_REFS", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
715
|
+
readonly "no-unsafe-component-will-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_UNSAFE_COMPONENT_WILL_MOUNT", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
716
|
+
readonly "no-unsafe-component-will-receive-props": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_UNSAFE_COMPONENT_WILL_RECEIVE_PROPS", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
717
|
+
readonly "no-unsafe-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_UNSAFE_COMPONENT_WILL_UPDATE", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
718
|
+
readonly "no-unstable-context-value": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_UNSTABLE_CONTEXT_VALUE" | "NO_UNSTABLE_CONTEXT_VALUE_WITH_FUNCTION" | "NO_UNSTABLE_CONTEXT_VALUE_WITH_IDENTIFIER", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
719
|
+
readonly "no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_UNSTABLE_DEFAULT_PROPS", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
720
|
+
readonly "no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_UNUSED_CLASS_COMPONENT_MEMBERS", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
721
|
+
readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_UNUSED_STATE", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
722
|
+
readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"NO_USELESS_FRAGMENT" | "NO_USELESS_FRAGMENT_IN_BUILT_IN", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
723
|
+
readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"PREFER_DESTRUCTURING_ASSIGNMENT", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
724
|
+
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"PREFER_READ_ONLY_PROPS", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
725
|
+
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"PREFER_SHORTHAND_BOOLEAN", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
726
|
+
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"PREFER_SHORTHAND_FRAGMENT", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
727
727
|
};
|
|
728
728
|
};
|
|
729
729
|
|
package/dist/index.js
CHANGED
|
@@ -38,7 +38,7 @@ var R__namespace = /*#__PURE__*/_interopNamespace(R);
|
|
|
38
38
|
|
|
39
39
|
// package.json
|
|
40
40
|
var name = "@eslint-react/eslint-plugin";
|
|
41
|
-
var version = "1.
|
|
41
|
+
var version = "1.8.0-next.0";
|
|
42
42
|
function transformKeys(obj, transform) {
|
|
43
43
|
if (tools.typeOf(obj) !== "object") return obj;
|
|
44
44
|
const res = {};
|
package/dist/index.mjs
CHANGED
|
@@ -11,7 +11,7 @@ import { typeOf } from '@eslint-react/tools';
|
|
|
11
11
|
|
|
12
12
|
// package.json
|
|
13
13
|
var name = "@eslint-react/eslint-plugin";
|
|
14
|
-
var version = "1.
|
|
14
|
+
var version = "1.8.0-next.0";
|
|
15
15
|
function transformKeys(obj, transform) {
|
|
16
16
|
if (typeOf(obj) !== "object") return obj;
|
|
17
17
|
const res = {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/eslint-plugin",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0-next.0",
|
|
4
4
|
"description": "The main ESLint plugin of ESLint React. Contains all the rules and presets of ESLint React.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -46,19 +46,19 @@
|
|
|
46
46
|
"./package.json"
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@typescript-eslint/scope-manager": "^
|
|
50
|
-
"@typescript-eslint/type-utils": "^
|
|
51
|
-
"@typescript-eslint/types": "^
|
|
52
|
-
"@typescript-eslint/utils": "^
|
|
49
|
+
"@typescript-eslint/scope-manager": "^8.0.0",
|
|
50
|
+
"@typescript-eslint/type-utils": "^8.0.0",
|
|
51
|
+
"@typescript-eslint/types": "^8.0.0",
|
|
52
|
+
"@typescript-eslint/utils": "^8.0.0",
|
|
53
53
|
"remeda": "^2.6.0",
|
|
54
|
-
"@eslint-react/shared": "1.
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"eslint-plugin-react-dom": "1.
|
|
58
|
-
"eslint-
|
|
59
|
-
"eslint-
|
|
60
|
-
"eslint-plugin-react-
|
|
61
|
-
"eslint-plugin-react-
|
|
54
|
+
"@eslint-react/shared": "1.8.0-next.0",
|
|
55
|
+
"eslint-plugin-react-hooks-extra": "1.8.0-next.0",
|
|
56
|
+
"eslint-plugin-react-debug": "1.8.0-next.0",
|
|
57
|
+
"eslint-plugin-react-dom": "1.8.0-next.0",
|
|
58
|
+
"@eslint-react/tools": "1.8.0-next.0",
|
|
59
|
+
"@eslint-react/types": "1.8.0-next.0",
|
|
60
|
+
"eslint-plugin-react-naming-convention": "1.8.0-next.0",
|
|
61
|
+
"eslint-plugin-react-x": "1.8.0-next.0"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"tsup": "8.2.3"
|