1 | 'use strict';
|
---|
2 |
|
---|
3 | /* eslint global-require: 0 */
|
---|
4 |
|
---|
5 | /** @satisfies {Record<string, import('eslint').Rule.RuleModule>} */
|
---|
6 | module.exports = {
|
---|
7 | 'boolean-prop-naming': require('./boolean-prop-naming'),
|
---|
8 | 'button-has-type': require('./button-has-type'),
|
---|
9 | 'checked-requires-onchange-or-readonly': require('./checked-requires-onchange-or-readonly'),
|
---|
10 | 'default-props-match-prop-types': require('./default-props-match-prop-types'),
|
---|
11 | 'destructuring-assignment': require('./destructuring-assignment'),
|
---|
12 | 'display-name': require('./display-name'),
|
---|
13 | 'forbid-component-props': require('./forbid-component-props'),
|
---|
14 | 'forbid-dom-props': require('./forbid-dom-props'),
|
---|
15 | 'forbid-elements': require('./forbid-elements'),
|
---|
16 | 'forbid-foreign-prop-types': require('./forbid-foreign-prop-types'),
|
---|
17 | 'forbid-prop-types': require('./forbid-prop-types'),
|
---|
18 | 'function-component-definition': require('./function-component-definition'),
|
---|
19 | 'hook-use-state': require('./hook-use-state'),
|
---|
20 | 'iframe-missing-sandbox': require('./iframe-missing-sandbox'),
|
---|
21 | 'jsx-boolean-value': require('./jsx-boolean-value'),
|
---|
22 | 'jsx-child-element-spacing': require('./jsx-child-element-spacing'),
|
---|
23 | 'jsx-closing-bracket-location': require('./jsx-closing-bracket-location'),
|
---|
24 | 'jsx-closing-tag-location': require('./jsx-closing-tag-location'),
|
---|
25 | 'jsx-curly-spacing': require('./jsx-curly-spacing'),
|
---|
26 | 'jsx-curly-newline': require('./jsx-curly-newline'),
|
---|
27 | 'jsx-equals-spacing': require('./jsx-equals-spacing'),
|
---|
28 | 'jsx-filename-extension': require('./jsx-filename-extension'),
|
---|
29 | 'jsx-first-prop-new-line': require('./jsx-first-prop-new-line'),
|
---|
30 | 'jsx-handler-names': require('./jsx-handler-names'),
|
---|
31 | 'jsx-indent': require('./jsx-indent'),
|
---|
32 | 'jsx-indent-props': require('./jsx-indent-props'),
|
---|
33 | 'jsx-key': require('./jsx-key'),
|
---|
34 | 'jsx-max-depth': require('./jsx-max-depth'),
|
---|
35 | 'jsx-max-props-per-line': require('./jsx-max-props-per-line'),
|
---|
36 | 'jsx-newline': require('./jsx-newline'),
|
---|
37 | 'jsx-no-bind': require('./jsx-no-bind'),
|
---|
38 | 'jsx-no-comment-textnodes': require('./jsx-no-comment-textnodes'),
|
---|
39 | 'jsx-no-constructed-context-values': require('./jsx-no-constructed-context-values'),
|
---|
40 | 'jsx-no-duplicate-props': require('./jsx-no-duplicate-props'),
|
---|
41 | 'jsx-no-leaked-render': require('./jsx-no-leaked-render'),
|
---|
42 | 'jsx-no-literals': require('./jsx-no-literals'),
|
---|
43 | 'jsx-no-script-url': require('./jsx-no-script-url'),
|
---|
44 | 'jsx-no-target-blank': require('./jsx-no-target-blank'),
|
---|
45 | 'jsx-no-useless-fragment': require('./jsx-no-useless-fragment'),
|
---|
46 | 'jsx-one-expression-per-line': require('./jsx-one-expression-per-line'),
|
---|
47 | 'jsx-no-undef': require('./jsx-no-undef'),
|
---|
48 | 'jsx-curly-brace-presence': require('./jsx-curly-brace-presence'),
|
---|
49 | 'jsx-pascal-case': require('./jsx-pascal-case'),
|
---|
50 | 'jsx-fragments': require('./jsx-fragments'),
|
---|
51 | 'jsx-props-no-multi-spaces': require('./jsx-props-no-multi-spaces'),
|
---|
52 | 'jsx-props-no-spreading': require('./jsx-props-no-spreading'),
|
---|
53 | 'jsx-props-no-spread-multi': require('./jsx-props-no-spread-multi'),
|
---|
54 | 'jsx-sort-default-props': require('./jsx-sort-default-props'),
|
---|
55 | 'jsx-sort-props': require('./jsx-sort-props'),
|
---|
56 | 'jsx-space-before-closing': require('./jsx-space-before-closing'),
|
---|
57 | 'jsx-tag-spacing': require('./jsx-tag-spacing'),
|
---|
58 | 'jsx-uses-react': require('./jsx-uses-react'),
|
---|
59 | 'jsx-uses-vars': require('./jsx-uses-vars'),
|
---|
60 | 'jsx-wrap-multilines': require('./jsx-wrap-multilines'),
|
---|
61 | 'no-invalid-html-attribute': require('./no-invalid-html-attribute'),
|
---|
62 | 'no-access-state-in-setstate': require('./no-access-state-in-setstate'),
|
---|
63 | 'no-adjacent-inline-elements': require('./no-adjacent-inline-elements'),
|
---|
64 | 'no-array-index-key': require('./no-array-index-key'),
|
---|
65 | 'no-arrow-function-lifecycle': require('./no-arrow-function-lifecycle'),
|
---|
66 | 'no-children-prop': require('./no-children-prop'),
|
---|
67 | 'no-danger': require('./no-danger'),
|
---|
68 | 'no-danger-with-children': require('./no-danger-with-children'),
|
---|
69 | 'no-deprecated': require('./no-deprecated'),
|
---|
70 | 'no-did-mount-set-state': require('./no-did-mount-set-state'),
|
---|
71 | 'no-did-update-set-state': require('./no-did-update-set-state'),
|
---|
72 | 'no-direct-mutation-state': require('./no-direct-mutation-state'),
|
---|
73 | 'no-find-dom-node': require('./no-find-dom-node'),
|
---|
74 | 'no-is-mounted': require('./no-is-mounted'),
|
---|
75 | 'no-multi-comp': require('./no-multi-comp'),
|
---|
76 | 'no-namespace': require('./no-namespace'),
|
---|
77 | 'no-set-state': require('./no-set-state'),
|
---|
78 | 'no-string-refs': require('./no-string-refs'),
|
---|
79 | 'no-redundant-should-component-update': require('./no-redundant-should-component-update'),
|
---|
80 | 'no-render-return-value': require('./no-render-return-value'),
|
---|
81 | 'no-this-in-sfc': require('./no-this-in-sfc'),
|
---|
82 | 'no-typos': require('./no-typos'),
|
---|
83 | 'no-unescaped-entities': require('./no-unescaped-entities'),
|
---|
84 | 'no-unknown-property': require('./no-unknown-property'),
|
---|
85 | 'no-unsafe': require('./no-unsafe'),
|
---|
86 | 'no-unstable-nested-components': require('./no-unstable-nested-components'),
|
---|
87 | 'no-unused-class-component-methods': require('./no-unused-class-component-methods'),
|
---|
88 | 'no-unused-prop-types': require('./no-unused-prop-types'),
|
---|
89 | 'no-unused-state': require('./no-unused-state'),
|
---|
90 | 'no-object-type-as-default-prop': require('./no-object-type-as-default-prop'),
|
---|
91 | 'no-will-update-set-state': require('./no-will-update-set-state'),
|
---|
92 | 'prefer-es6-class': require('./prefer-es6-class'),
|
---|
93 | 'prefer-exact-props': require('./prefer-exact-props'),
|
---|
94 | 'prefer-read-only-props': require('./prefer-read-only-props'),
|
---|
95 | 'prefer-stateless-function': require('./prefer-stateless-function'),
|
---|
96 | 'prop-types': require('./prop-types'),
|
---|
97 | 'react-in-jsx-scope': require('./react-in-jsx-scope'),
|
---|
98 | 'require-default-props': require('./require-default-props'),
|
---|
99 | 'require-optimization': require('./require-optimization'),
|
---|
100 | 'require-render-return': require('./require-render-return'),
|
---|
101 | 'self-closing-comp': require('./self-closing-comp'),
|
---|
102 | 'sort-comp': require('./sort-comp'),
|
---|
103 | 'sort-default-props': require('./sort-default-props'),
|
---|
104 | 'sort-prop-types': require('./sort-prop-types'),
|
---|
105 | 'state-in-constructor': require('./state-in-constructor'),
|
---|
106 | 'static-property-placement': require('./static-property-placement'),
|
---|
107 | 'style-prop-object': require('./style-prop-object'),
|
---|
108 | 'void-dom-elements-no-children': require('./void-dom-elements-no-children'),
|
---|
109 | };
|
---|