@storm-software/eslint 0.76.0 → 0.76.1
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 +1 -1
- package/dist/preset.d.mts +0 -213
- package/dist/preset.d.ts +0 -213
- package/dist/preset.mjs +44 -928
- package/dist/rules.d.ts +0 -428
- package/package.json +1 -1
package/dist/rules.d.ts
CHANGED
|
@@ -787,218 +787,10 @@ export interface RuleOptions {
|
|
|
787
787
|
* @see https://docs.stormsoftware.com/eslint/rules/banner
|
|
788
788
|
*/
|
|
789
789
|
'banner/banner'?: Linter.RuleEntry<BannerBanner>
|
|
790
|
-
/**
|
|
791
|
-
* Enforce emojis are wrapped in `<span>` and provide screenreader access.
|
|
792
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/accessible-emoji.md
|
|
793
|
-
* @deprecated
|
|
794
|
-
*/
|
|
795
|
-
'jsx-a11y/accessible-emoji'?: Linter.RuleEntry<JsxA11yAccessibleEmoji>
|
|
796
|
-
/**
|
|
797
|
-
* Enforce all elements that require alternative text have meaningful information to relay back to end user.
|
|
798
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/alt-text.md
|
|
799
|
-
*/
|
|
800
|
-
'jsx-a11y/alt-text'?: Linter.RuleEntry<JsxA11yAltText>
|
|
801
|
-
/**
|
|
802
|
-
* Enforce `<a>` text to not exactly match "click here", "here", "link", or "a link".
|
|
803
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/anchor-ambiguous-text.md
|
|
804
|
-
*/
|
|
805
|
-
'jsx-a11y/anchor-ambiguous-text'?: Linter.RuleEntry<JsxA11yAnchorAmbiguousText>
|
|
806
|
-
/**
|
|
807
|
-
* Enforce all anchors to contain accessible content.
|
|
808
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/anchor-has-content.md
|
|
809
|
-
*/
|
|
810
|
-
'jsx-a11y/anchor-has-content'?: Linter.RuleEntry<JsxA11yAnchorHasContent>
|
|
811
|
-
/**
|
|
812
|
-
* Enforce all anchors are valid, navigable elements.
|
|
813
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/anchor-is-valid.md
|
|
814
|
-
*/
|
|
815
|
-
'jsx-a11y/anchor-is-valid'?: Linter.RuleEntry<JsxA11yAnchorIsValid>
|
|
816
|
-
/**
|
|
817
|
-
* Enforce elements with aria-activedescendant are tabbable.
|
|
818
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-activedescendant-has-tabindex.md
|
|
819
|
-
*/
|
|
820
|
-
'jsx-a11y/aria-activedescendant-has-tabindex'?: Linter.RuleEntry<JsxA11yAriaActivedescendantHasTabindex>
|
|
821
|
-
/**
|
|
822
|
-
* Enforce all `aria-*` props are valid.
|
|
823
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-props.md
|
|
824
|
-
*/
|
|
825
|
-
'jsx-a11y/aria-props'?: Linter.RuleEntry<JsxA11yAriaProps>
|
|
826
|
-
/**
|
|
827
|
-
* Enforce ARIA state and property values are valid.
|
|
828
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-proptypes.md
|
|
829
|
-
*/
|
|
830
|
-
'jsx-a11y/aria-proptypes'?: Linter.RuleEntry<JsxA11yAriaProptypes>
|
|
831
|
-
/**
|
|
832
|
-
* Enforce that elements with ARIA roles must use a valid, non-abstract ARIA role.
|
|
833
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-role.md
|
|
834
|
-
*/
|
|
835
|
-
'jsx-a11y/aria-role'?: Linter.RuleEntry<JsxA11yAriaRole>
|
|
836
|
-
/**
|
|
837
|
-
* Enforce that elements that do not support ARIA roles, states, and properties do not have those attributes.
|
|
838
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-unsupported-elements.md
|
|
839
|
-
*/
|
|
840
|
-
'jsx-a11y/aria-unsupported-elements'?: Linter.RuleEntry<JsxA11yAriaUnsupportedElements>
|
|
841
|
-
/**
|
|
842
|
-
* Enforce that autocomplete attributes are used correctly.
|
|
843
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/autocomplete-valid.md
|
|
844
|
-
*/
|
|
845
|
-
'jsx-a11y/autocomplete-valid'?: Linter.RuleEntry<JsxA11yAutocompleteValid>
|
|
846
|
-
/**
|
|
847
|
-
* Enforce a clickable non-interactive element has at least one keyboard event listener.
|
|
848
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/click-events-have-key-events.md
|
|
849
|
-
*/
|
|
850
|
-
'jsx-a11y/click-events-have-key-events'?: Linter.RuleEntry<JsxA11yClickEventsHaveKeyEvents>
|
|
851
|
-
/**
|
|
852
|
-
* Enforce that a control (an interactive element) has a text label.
|
|
853
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/control-has-associated-label.md
|
|
854
|
-
*/
|
|
855
|
-
'jsx-a11y/control-has-associated-label'?: Linter.RuleEntry<JsxA11yControlHasAssociatedLabel>
|
|
856
|
-
/**
|
|
857
|
-
* Enforce heading (`h1`, `h2`, etc) elements contain accessible content.
|
|
858
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/heading-has-content.md
|
|
859
|
-
*/
|
|
860
|
-
'jsx-a11y/heading-has-content'?: Linter.RuleEntry<JsxA11yHeadingHasContent>
|
|
861
|
-
/**
|
|
862
|
-
* Enforce `<html>` element has `lang` prop.
|
|
863
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/html-has-lang.md
|
|
864
|
-
*/
|
|
865
|
-
'jsx-a11y/html-has-lang'?: Linter.RuleEntry<JsxA11yHtmlHasLang>
|
|
866
|
-
/**
|
|
867
|
-
* Enforce iframe elements have a title attribute.
|
|
868
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/iframe-has-title.md
|
|
869
|
-
*/
|
|
870
|
-
'jsx-a11y/iframe-has-title'?: Linter.RuleEntry<JsxA11yIframeHasTitle>
|
|
871
|
-
/**
|
|
872
|
-
* Enforce `<img>` alt prop does not contain the word "image", "picture", or "photo".
|
|
873
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/img-redundant-alt.md
|
|
874
|
-
*/
|
|
875
|
-
'jsx-a11y/img-redundant-alt'?: Linter.RuleEntry<JsxA11yImgRedundantAlt>
|
|
876
|
-
/**
|
|
877
|
-
* Enforce that elements with interactive handlers like `onClick` must be focusable.
|
|
878
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/interactive-supports-focus.md
|
|
879
|
-
*/
|
|
880
|
-
'jsx-a11y/interactive-supports-focus'?: Linter.RuleEntry<JsxA11yInteractiveSupportsFocus>
|
|
881
|
-
/**
|
|
882
|
-
* Enforce that a `label` tag has a text label and an associated control.
|
|
883
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/label-has-associated-control.md
|
|
884
|
-
*/
|
|
885
|
-
'jsx-a11y/label-has-associated-control'?: Linter.RuleEntry<JsxA11yLabelHasAssociatedControl>
|
|
886
|
-
/**
|
|
887
|
-
* Enforce that `<label>` elements have the `htmlFor` prop.
|
|
888
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/label-has-for.md
|
|
889
|
-
* @deprecated
|
|
890
|
-
*/
|
|
891
|
-
'jsx-a11y/label-has-for'?: Linter.RuleEntry<JsxA11yLabelHasFor>
|
|
892
|
-
/**
|
|
893
|
-
* Enforce lang attribute has a valid value.
|
|
894
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/lang.md
|
|
895
|
-
*/
|
|
896
|
-
'jsx-a11y/lang'?: Linter.RuleEntry<JsxA11yLang>
|
|
897
|
-
/**
|
|
898
|
-
* Enforces that `<audio>` and `<video>` elements must have a `<track>` for captions.
|
|
899
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/media-has-caption.md
|
|
900
|
-
*/
|
|
901
|
-
'jsx-a11y/media-has-caption'?: Linter.RuleEntry<JsxA11yMediaHasCaption>
|
|
902
|
-
/**
|
|
903
|
-
* Enforce that `onMouseOver`/`onMouseOut` are accompanied by `onFocus`/`onBlur` for keyboard-only users.
|
|
904
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/mouse-events-have-key-events.md
|
|
905
|
-
*/
|
|
906
|
-
'jsx-a11y/mouse-events-have-key-events'?: Linter.RuleEntry<JsxA11yMouseEventsHaveKeyEvents>
|
|
907
|
-
/**
|
|
908
|
-
* Enforce that the `accessKey` prop is not used on any element to avoid complications with keyboard commands used by a screenreader.
|
|
909
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-access-key.md
|
|
910
|
-
*/
|
|
911
|
-
'jsx-a11y/no-access-key'?: Linter.RuleEntry<JsxA11yNoAccessKey>
|
|
912
|
-
/**
|
|
913
|
-
* Disallow `aria-hidden="true"` from being set on focusable elements.
|
|
914
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-aria-hidden-on-focusable.md
|
|
915
|
-
*/
|
|
916
|
-
'jsx-a11y/no-aria-hidden-on-focusable'?: Linter.RuleEntry<JsxA11yNoAriaHiddenOnFocusable>
|
|
917
|
-
/**
|
|
918
|
-
* Enforce autoFocus prop is not used.
|
|
919
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-autofocus.md
|
|
920
|
-
*/
|
|
921
|
-
'jsx-a11y/no-autofocus'?: Linter.RuleEntry<JsxA11yNoAutofocus>
|
|
922
|
-
/**
|
|
923
|
-
* Enforce distracting elements are not used.
|
|
924
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-distracting-elements.md
|
|
925
|
-
*/
|
|
926
|
-
'jsx-a11y/no-distracting-elements'?: Linter.RuleEntry<JsxA11yNoDistractingElements>
|
|
927
|
-
/**
|
|
928
|
-
* Interactive elements should not be assigned non-interactive roles.
|
|
929
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-interactive-element-to-noninteractive-role.md
|
|
930
|
-
*/
|
|
931
|
-
'jsx-a11y/no-interactive-element-to-noninteractive-role'?: Linter.RuleEntry<JsxA11yNoInteractiveElementToNoninteractiveRole>
|
|
932
|
-
/**
|
|
933
|
-
* Non-interactive elements should not be assigned mouse or keyboard event listeners.
|
|
934
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-noninteractive-element-interactions.md
|
|
935
|
-
*/
|
|
936
|
-
'jsx-a11y/no-noninteractive-element-interactions'?: Linter.RuleEntry<JsxA11yNoNoninteractiveElementInteractions>
|
|
937
|
-
/**
|
|
938
|
-
* Non-interactive elements should not be assigned interactive roles.
|
|
939
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-noninteractive-element-to-interactive-role.md
|
|
940
|
-
*/
|
|
941
|
-
'jsx-a11y/no-noninteractive-element-to-interactive-role'?: Linter.RuleEntry<JsxA11yNoNoninteractiveElementToInteractiveRole>
|
|
942
|
-
/**
|
|
943
|
-
* `tabIndex` should only be declared on interactive elements.
|
|
944
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-noninteractive-tabindex.md
|
|
945
|
-
*/
|
|
946
|
-
'jsx-a11y/no-noninteractive-tabindex'?: Linter.RuleEntry<JsxA11yNoNoninteractiveTabindex>
|
|
947
|
-
/**
|
|
948
|
-
* Enforce usage of `onBlur` over `onChange` on select menus for accessibility.
|
|
949
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-onchange.md
|
|
950
|
-
* @deprecated
|
|
951
|
-
*/
|
|
952
|
-
'jsx-a11y/no-onchange'?: Linter.RuleEntry<JsxA11yNoOnchange>
|
|
953
|
-
/**
|
|
954
|
-
* Enforce explicit role property is not the same as implicit/default role property on element.
|
|
955
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-redundant-roles.md
|
|
956
|
-
*/
|
|
957
|
-
'jsx-a11y/no-redundant-roles'?: Linter.RuleEntry<JsxA11yNoRedundantRoles>
|
|
958
|
-
/**
|
|
959
|
-
* Enforce that non-interactive, visible elements (such as `<div>`) that have click handlers use the role attribute.
|
|
960
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-static-element-interactions.md
|
|
961
|
-
*/
|
|
962
|
-
'jsx-a11y/no-static-element-interactions'?: Linter.RuleEntry<JsxA11yNoStaticElementInteractions>
|
|
963
|
-
/**
|
|
964
|
-
* Enforces using semantic DOM elements over the ARIA `role` property.
|
|
965
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/prefer-tag-over-role.md
|
|
966
|
-
*/
|
|
967
|
-
'jsx-a11y/prefer-tag-over-role'?: Linter.RuleEntry<JsxA11yPreferTagOverRole>
|
|
968
|
-
/**
|
|
969
|
-
* Enforce that elements with ARIA roles must have all required attributes for that role.
|
|
970
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/role-has-required-aria-props.md
|
|
971
|
-
*/
|
|
972
|
-
'jsx-a11y/role-has-required-aria-props'?: Linter.RuleEntry<JsxA11yRoleHasRequiredAriaProps>
|
|
973
|
-
/**
|
|
974
|
-
* Enforce that elements with explicit or implicit roles defined contain only `aria-*` properties supported by that `role`.
|
|
975
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/role-supports-aria-props.md
|
|
976
|
-
*/
|
|
977
|
-
'jsx-a11y/role-supports-aria-props'?: Linter.RuleEntry<JsxA11yRoleSupportsAriaProps>
|
|
978
|
-
/**
|
|
979
|
-
* Enforce `scope` prop is only used on `<th>` elements.
|
|
980
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/scope.md
|
|
981
|
-
*/
|
|
982
|
-
'jsx-a11y/scope'?: Linter.RuleEntry<JsxA11yScope>
|
|
983
|
-
/**
|
|
984
|
-
* Enforce `tabIndex` value is not greater than zero.
|
|
985
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/tabindex-no-positive.md
|
|
986
|
-
*/
|
|
987
|
-
'jsx-a11y/tabindex-no-positive'?: Linter.RuleEntry<JsxA11yTabindexNoPositive>
|
|
988
790
|
/**
|
|
989
791
|
* @see https://github.com/prettier/eslint-plugin-prettier#options
|
|
990
792
|
*/
|
|
991
793
|
'prettier/prettier'?: Linter.RuleEntry<PrettierPrettier>
|
|
992
|
-
/**
|
|
993
|
-
* verifies the list of dependencies for Hooks like useEffect and similar
|
|
994
|
-
* @see https://github.com/facebook/react/issues/14920
|
|
995
|
-
*/
|
|
996
|
-
'react-hooks/exhaustive-deps'?: Linter.RuleEntry<ReactHooksExhaustiveDeps>
|
|
997
|
-
/**
|
|
998
|
-
* enforces the Rules of Hooks
|
|
999
|
-
* @see https://reactjs.org/docs/hooks-rules.html
|
|
1000
|
-
*/
|
|
1001
|
-
'react-hooks/rules-of-hooks'?: Linter.RuleEntry<[]>
|
|
1002
794
|
/**
|
|
1003
795
|
* Enforces consistent naming for boolean props
|
|
1004
796
|
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/boolean-prop-naming.md
|
|
@@ -3960,221 +3752,6 @@ type BannerBanner = []|[{
|
|
|
3960
3752
|
|
|
3961
3753
|
numNewlines?: number
|
|
3962
3754
|
}]
|
|
3963
|
-
// ----- jsx-a11y/accessible-emoji -----
|
|
3964
|
-
type _JsxA11YAccessibleEmoji_JsxA11YAccessibleEmoji = []|[{
|
|
3965
|
-
[k: string]: unknown | undefined
|
|
3966
|
-
}]
|
|
3967
|
-
// ----- jsx-a11y/alt-text -----
|
|
3968
|
-
type _JsxA11YAltText_JsxA11YAltText = []|[{
|
|
3969
|
-
elements?: string[]
|
|
3970
|
-
img?: string[]
|
|
3971
|
-
object?: string[]
|
|
3972
|
-
area?: string[]
|
|
3973
|
-
"input[type=\"image\"]"?: string[]
|
|
3974
|
-
[k: string]: unknown | undefined
|
|
3975
|
-
}]
|
|
3976
|
-
// ----- jsx-a11y/anchor-ambiguous-text -----
|
|
3977
|
-
type _JsxA11YAnchorAmbiguousText_JsxA11YAnchorAmbiguousText = []|[{
|
|
3978
|
-
words?: string[]
|
|
3979
|
-
[k: string]: unknown | undefined
|
|
3980
|
-
}]
|
|
3981
|
-
// ----- jsx-a11y/anchor-has-content -----
|
|
3982
|
-
type _JsxA11YAnchorHasContent_JsxA11YAnchorHasContent = []|[{
|
|
3983
|
-
components?: string[]
|
|
3984
|
-
[k: string]: unknown | undefined
|
|
3985
|
-
}]
|
|
3986
|
-
// ----- jsx-a11y/anchor-is-valid -----
|
|
3987
|
-
type _JsxA11YAnchorIsValid_JsxA11YAnchorIsValid = []|[{
|
|
3988
|
-
components?: string[]
|
|
3989
|
-
specialLink?: string[]
|
|
3990
|
-
|
|
3991
|
-
aspects?: [("noHref" | "invalidHref" | "preferButton"), ...(("noHref" | "invalidHref" | "preferButton"))[]]
|
|
3992
|
-
[k: string]: unknown | undefined
|
|
3993
|
-
}]
|
|
3994
|
-
// ----- jsx-a11y/aria-activedescendant-has-tabindex -----
|
|
3995
|
-
type _JsxA11YAriaActivedescendantHasTabindex_JsxA11YAriaActivedescendantHasTabindex = []|[{
|
|
3996
|
-
[k: string]: unknown | undefined
|
|
3997
|
-
}]
|
|
3998
|
-
// ----- jsx-a11y/aria-props -----
|
|
3999
|
-
type _JsxA11YAriaProps_JsxA11YAriaProps = []|[{
|
|
4000
|
-
[k: string]: unknown | undefined
|
|
4001
|
-
}]
|
|
4002
|
-
// ----- jsx-a11y/aria-proptypes -----
|
|
4003
|
-
type _JsxA11YAriaProptypes_JsxA11YAriaProptypes = []|[{
|
|
4004
|
-
[k: string]: unknown | undefined
|
|
4005
|
-
}]
|
|
4006
|
-
// ----- jsx-a11y/aria-role -----
|
|
4007
|
-
type _JsxA11YAriaRole_JsxA11YAriaRole = []|[{
|
|
4008
|
-
allowedInvalidRoles?: string[]
|
|
4009
|
-
ignoreNonDOM?: boolean
|
|
4010
|
-
[k: string]: unknown | undefined
|
|
4011
|
-
}]
|
|
4012
|
-
// ----- jsx-a11y/aria-unsupported-elements -----
|
|
4013
|
-
type _JsxA11YAriaUnsupportedElements_JsxA11YAriaUnsupportedElements = []|[{
|
|
4014
|
-
[k: string]: unknown | undefined
|
|
4015
|
-
}]
|
|
4016
|
-
// ----- jsx-a11y/autocomplete-valid -----
|
|
4017
|
-
type _JsxA11YAutocompleteValid_JsxA11YAutocompleteValid = []|[{
|
|
4018
|
-
inputComponents?: string[]
|
|
4019
|
-
[k: string]: unknown | undefined
|
|
4020
|
-
}]
|
|
4021
|
-
// ----- jsx-a11y/click-events-have-key-events -----
|
|
4022
|
-
type _JsxA11YClickEventsHaveKeyEvents_JsxA11YClickEventsHaveKeyEvents = []|[{
|
|
4023
|
-
[k: string]: unknown | undefined
|
|
4024
|
-
}]
|
|
4025
|
-
// ----- jsx-a11y/control-has-associated-label -----
|
|
4026
|
-
type _JsxA11YControlHasAssociatedLabel_JsxA11YControlHasAssociatedLabel = []|[{
|
|
4027
|
-
labelAttributes?: string[]
|
|
4028
|
-
controlComponents?: string[]
|
|
4029
|
-
ignoreElements?: string[]
|
|
4030
|
-
ignoreRoles?: string[]
|
|
4031
|
-
|
|
4032
|
-
depth?: number
|
|
4033
|
-
[k: string]: unknown | undefined
|
|
4034
|
-
}]
|
|
4035
|
-
// ----- jsx-a11y/heading-has-content -----
|
|
4036
|
-
type _JsxA11YHeadingHasContent_JsxA11YHeadingHasContent = []|[{
|
|
4037
|
-
components?: string[]
|
|
4038
|
-
[k: string]: unknown | undefined
|
|
4039
|
-
}]
|
|
4040
|
-
// ----- jsx-a11y/html-has-lang -----
|
|
4041
|
-
type _JsxA11YHtmlHasLang_JsxA11YHtmlHasLang = []|[{
|
|
4042
|
-
[k: string]: unknown | undefined
|
|
4043
|
-
}]
|
|
4044
|
-
// ----- jsx-a11y/iframe-has-title -----
|
|
4045
|
-
type _JsxA11YIframeHasTitle_JsxA11YIframeHasTitle = []|[{
|
|
4046
|
-
[k: string]: unknown | undefined
|
|
4047
|
-
}]
|
|
4048
|
-
// ----- jsx-a11y/img-redundant-alt -----
|
|
4049
|
-
type _JsxA11YImgRedundantAlt_JsxA11YImgRedundantAlt = []|[{
|
|
4050
|
-
components?: string[]
|
|
4051
|
-
words?: string[]
|
|
4052
|
-
[k: string]: unknown | undefined
|
|
4053
|
-
}]
|
|
4054
|
-
// ----- jsx-a11y/interactive-supports-focus -----
|
|
4055
|
-
type _JsxA11YInteractiveSupportsFocus_JsxA11YInteractiveSupportsFocus = []|[{
|
|
4056
|
-
|
|
4057
|
-
tabbable?: ("button" | "checkbox" | "columnheader" | "combobox" | "grid" | "gridcell" | "link" | "listbox" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "option" | "progressbar" | "radio" | "radiogroup" | "row" | "rowheader" | "scrollbar" | "searchbox" | "slider" | "spinbutton" | "switch" | "tab" | "tablist" | "textbox" | "tree" | "treegrid" | "treeitem" | "doc-backlink" | "doc-biblioref" | "doc-glossref" | "doc-noteref")[]
|
|
4058
|
-
[k: string]: unknown | undefined
|
|
4059
|
-
}]
|
|
4060
|
-
// ----- jsx-a11y/label-has-associated-control -----
|
|
4061
|
-
type _JsxA11YLabelHasAssociatedControl_JsxA11YLabelHasAssociatedControl = []|[{
|
|
4062
|
-
labelComponents?: string[]
|
|
4063
|
-
labelAttributes?: string[]
|
|
4064
|
-
controlComponents?: string[]
|
|
4065
|
-
|
|
4066
|
-
assert?: ("htmlFor" | "nesting" | "both" | "either")
|
|
4067
|
-
|
|
4068
|
-
depth?: number
|
|
4069
|
-
[k: string]: unknown | undefined
|
|
4070
|
-
}]
|
|
4071
|
-
// ----- jsx-a11y/label-has-for -----
|
|
4072
|
-
type _JsxA11YLabelHasFor_JsxA11YLabelHasFor = []|[{
|
|
4073
|
-
components?: string[]
|
|
4074
|
-
required?: (("nesting" | "id") | {
|
|
4075
|
-
|
|
4076
|
-
some: ("nesting" | "id")[]
|
|
4077
|
-
[k: string]: unknown | undefined
|
|
4078
|
-
} | {
|
|
4079
|
-
|
|
4080
|
-
every: ("nesting" | "id")[]
|
|
4081
|
-
[k: string]: unknown | undefined
|
|
4082
|
-
})
|
|
4083
|
-
allowChildren?: boolean
|
|
4084
|
-
[k: string]: unknown | undefined
|
|
4085
|
-
}]
|
|
4086
|
-
// ----- jsx-a11y/lang -----
|
|
4087
|
-
type _JsxA11YLang_JsxA11YLang = []|[{
|
|
4088
|
-
[k: string]: unknown | undefined
|
|
4089
|
-
}]
|
|
4090
|
-
// ----- jsx-a11y/media-has-caption -----
|
|
4091
|
-
type _JsxA11YMediaHasCaption_JsxA11YMediaHasCaption = []|[{
|
|
4092
|
-
audio?: string[]
|
|
4093
|
-
video?: string[]
|
|
4094
|
-
track?: string[]
|
|
4095
|
-
[k: string]: unknown | undefined
|
|
4096
|
-
}]
|
|
4097
|
-
// ----- jsx-a11y/mouse-events-have-key-events -----
|
|
4098
|
-
type _JsxA11YMouseEventsHaveKeyEvents_JsxA11YMouseEventsHaveKeyEvents = []|[{
|
|
4099
|
-
|
|
4100
|
-
hoverInHandlers?: string[]
|
|
4101
|
-
|
|
4102
|
-
hoverOutHandlers?: string[]
|
|
4103
|
-
[k: string]: unknown | undefined
|
|
4104
|
-
}]
|
|
4105
|
-
// ----- jsx-a11y/no-access-key -----
|
|
4106
|
-
type _JsxA11YNoAccessKey_JsxA11YNoAccessKey = []|[{
|
|
4107
|
-
[k: string]: unknown | undefined
|
|
4108
|
-
}]
|
|
4109
|
-
// ----- jsx-a11y/no-aria-hidden-on-focusable -----
|
|
4110
|
-
type _JsxA11YNoAriaHiddenOnFocusable_JsxA11YNoAriaHiddenOnFocusable = []|[{
|
|
4111
|
-
[k: string]: unknown | undefined
|
|
4112
|
-
}]
|
|
4113
|
-
// ----- jsx-a11y/no-autofocus -----
|
|
4114
|
-
type _JsxA11YNoAutofocus_JsxA11YNoAutofocus = []|[{
|
|
4115
|
-
ignoreNonDOM?: boolean
|
|
4116
|
-
[k: string]: unknown | undefined
|
|
4117
|
-
}]
|
|
4118
|
-
// ----- jsx-a11y/no-distracting-elements -----
|
|
4119
|
-
type _JsxA11YNoDistractingElements_JsxA11YNoDistractingElements = []|[{
|
|
4120
|
-
|
|
4121
|
-
elements?: ("marquee" | "blink")[]
|
|
4122
|
-
[k: string]: unknown | undefined
|
|
4123
|
-
}]
|
|
4124
|
-
// ----- jsx-a11y/no-interactive-element-to-noninteractive-role -----
|
|
4125
|
-
type _JsxA11YNoInteractiveElementToNoninteractiveRole_JsxA11YNoInteractiveElementToNoninteractiveRole = []|[{
|
|
4126
|
-
[k: string]: string[] | undefined
|
|
4127
|
-
}]
|
|
4128
|
-
// ----- jsx-a11y/no-noninteractive-element-interactions -----
|
|
4129
|
-
type _JsxA11YNoNoninteractiveElementInteractions_JsxA11YNoNoninteractiveElementInteractions = []|[{
|
|
4130
|
-
handlers?: string[]
|
|
4131
|
-
[k: string]: unknown | undefined
|
|
4132
|
-
}]
|
|
4133
|
-
// ----- jsx-a11y/no-noninteractive-element-to-interactive-role -----
|
|
4134
|
-
type _JsxA11YNoNoninteractiveElementToInteractiveRole_JsxA11YNoNoninteractiveElementToInteractiveRole = []|[{
|
|
4135
|
-
[k: string]: string[] | undefined
|
|
4136
|
-
}]
|
|
4137
|
-
// ----- jsx-a11y/no-noninteractive-tabindex -----
|
|
4138
|
-
type _JsxA11YNoNoninteractiveTabindex_JsxA11YNoNoninteractiveTabindex = []|[{
|
|
4139
|
-
|
|
4140
|
-
roles?: string[]
|
|
4141
|
-
|
|
4142
|
-
tags?: string[]
|
|
4143
|
-
[k: string]: unknown | undefined
|
|
4144
|
-
}]
|
|
4145
|
-
// ----- jsx-a11y/no-onchange -----
|
|
4146
|
-
type _JsxA11YNoOnchange_JsxA11YNoOnchange = []|[{
|
|
4147
|
-
[k: string]: unknown | undefined
|
|
4148
|
-
}]
|
|
4149
|
-
// ----- jsx-a11y/no-redundant-roles -----
|
|
4150
|
-
type _JsxA11YNoRedundantRoles_JsxA11YNoRedundantRoles = []|[{
|
|
4151
|
-
[k: string]: string[] | undefined
|
|
4152
|
-
}]
|
|
4153
|
-
// ----- jsx-a11y/no-static-element-interactions -----
|
|
4154
|
-
type _JsxA11YNoStaticElementInteractions_JsxA11YNoStaticElementInteractions = []|[{
|
|
4155
|
-
handlers?: string[]
|
|
4156
|
-
[k: string]: unknown | undefined
|
|
4157
|
-
}]
|
|
4158
|
-
// ----- jsx-a11y/prefer-tag-over-role -----
|
|
4159
|
-
type _JsxA11YPreferTagOverRole_JsxA11YPreferTagOverRole = []|[{
|
|
4160
|
-
[k: string]: unknown | undefined
|
|
4161
|
-
}]
|
|
4162
|
-
// ----- jsx-a11y/role-has-required-aria-props -----
|
|
4163
|
-
type _JsxA11YRoleHasRequiredAriaProps_JsxA11YRoleHasRequiredAriaProps = []|[{
|
|
4164
|
-
[k: string]: unknown | undefined
|
|
4165
|
-
}]
|
|
4166
|
-
// ----- jsx-a11y/role-supports-aria-props -----
|
|
4167
|
-
type _JsxA11YRoleSupportsAriaProps_JsxA11YRoleSupportsAriaProps = []|[{
|
|
4168
|
-
[k: string]: unknown | undefined
|
|
4169
|
-
}]
|
|
4170
|
-
// ----- jsx-a11y/scope -----
|
|
4171
|
-
type _JsxA11YScope_JsxA11YScope = []|[{
|
|
4172
|
-
[k: string]: unknown | undefined
|
|
4173
|
-
}]
|
|
4174
|
-
// ----- jsx-a11y/tabindex-no-positive -----
|
|
4175
|
-
type _JsxA11YTabindexNoPositive_JsxA11YTabindexNoPositive = []|[{
|
|
4176
|
-
[k: string]: unknown | undefined
|
|
4177
|
-
}]
|
|
4178
3755
|
// ----- prettier/prettier -----
|
|
4179
3756
|
type PrettierPrettier = []|[{
|
|
4180
3757
|
[k: string]: unknown | undefined
|
|
@@ -4187,11 +3764,6 @@ type PrettierPrettier = []|[{
|
|
|
4187
3764
|
}
|
|
4188
3765
|
[k: string]: unknown | undefined
|
|
4189
3766
|
}]
|
|
4190
|
-
// ----- react-hooks/exhaustive-deps -----
|
|
4191
|
-
type ReactHooksExhaustiveDeps = []|[{
|
|
4192
|
-
additionalHooks?: string
|
|
4193
|
-
enableDangerousAutofixThisMayCauseInfiniteLoops?: boolean
|
|
4194
|
-
}]
|
|
4195
3767
|
// ----- react/boolean-prop-naming -----
|
|
4196
3768
|
type ReactBooleanPropNaming = []|[{
|
|
4197
3769
|
|
package/package.json
CHANGED