eslint-config-react-app-new 0.0.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2013-present, Facebook, Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,78 @@
1
+ # eslint-config-react-app
2
+
3
+ This package includes the shareable ESLint configuration used by [Create React App](https://github.com/facebook/create-react-app).<br>
4
+ Please refer to its documentation:
5
+
6
+ - [Getting Started](https://facebook.github.io/create-react-app/docs/getting-started) – How to create a new app.
7
+ - [User Guide](https://facebook.github.io/create-react-app/) – How to develop apps bootstrapped with Create React App.
8
+
9
+ ## Usage in Create React App Projects
10
+
11
+ The easiest way to use this configuration is with [Create React App](https://github.com/facebook/create-react-app), which includes it by default.
12
+
13
+ **You don’t need to install it separately in Create React App projects.**
14
+
15
+ ## Usage Outside of Create React App
16
+
17
+ If you want to use this ESLint configuration in a project not built with Create React App, you can install it with the following steps.
18
+
19
+ First, install this package and ESLint.
20
+
21
+ ```sh
22
+ npm install --save-dev eslint-config-react-app eslint@^8.0.0
23
+ ```
24
+
25
+ Then create a file named `.eslintrc.json` with following contents in the root folder of your project:
26
+
27
+ ```json
28
+ {
29
+ "extends": "react-app"
30
+ }
31
+ ```
32
+
33
+ That's it! You can override the settings from `eslint-config-react-app` by editing the `.eslintrc.json` file. Learn more about [configuring ESLint](https://eslint.org/docs/user-guide/configuring) on the ESLint website.
34
+
35
+ ## Jest rules
36
+
37
+ This config also ships with optional Jest rules for ESLint (based on [`eslint-plugin-jest`](https://github.com/jest-community/eslint-plugin-jest)).
38
+
39
+ You can enable these rules by adding the Jest config to the `extends` array in your ESLint config.
40
+
41
+ ```json
42
+ {
43
+ "extends": ["react-app", "react-app/jest"]
44
+ }
45
+ ```
46
+
47
+ ## Accessibility Checks
48
+
49
+ The following rules from the [eslint-plugin-jsx-a11y](https://github.com/evcohen/eslint-plugin-jsx-a11y) plugin are activated:
50
+
51
+ - [alt-text](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/alt-text.md)
52
+ - [anchor-has-content](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-has-content.md)
53
+ - [aria-activedescendant-has-tabindex](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-activedescendant-has-tabindex.md)
54
+ - [aria-props](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-props.md)
55
+ - [aria-proptypes](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-proptypes.md)
56
+ - [aria-role](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-role.md)
57
+ - [aria-unsupported-elements](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-unsupported-elements.md)
58
+ - [heading-has-content](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/heading-has-content.md)
59
+ - [href-no-hash](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/v5.1.1/docs/rules/href-no-hash.md)
60
+ - [iframe-has-title](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/iframe-has-title.md)
61
+ - [img-redundant-alt](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/img-redundant-alt.md)
62
+ - [no-access-key](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-access-key.md)
63
+ - [no-distracting-elements](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-distracting-elements.md)
64
+ - [no-redundant-roles](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-redundant-roles.md)
65
+ - [role-has-required-aria-props](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/role-has-required-aria-props.md)
66
+ - [role-supports-aria-props](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/role-supports-aria-props.md)
67
+ - [scope](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/scope.md)
68
+
69
+ If you want to enable even more accessibility rules, you can create an `.eslintrc.json` file in the root of your project with this content:
70
+
71
+ ```json
72
+ {
73
+ "extends": ["react-app", "plugin:jsx-a11y/recommended"],
74
+ "plugins": ["jsx-a11y"]
75
+ }
76
+ ```
77
+
78
+ However, if you are using [Create React App](https://github.com/facebook/create-react-app) and have not ejected, any additional rules will only be displayed in the [IDE integrations](https://facebook.github.io/create-react-app/docs/setting-up-your-editor#displaying-lint-output-in-the-editor), but not in the browser or the terminal.
package/base.js ADDED
@@ -0,0 +1,50 @@
1
+ /**
2
+ * Copyright (c) 2015-present, Facebook, Inc.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ 'use strict';
9
+
10
+ // Fix eslint shareable config (https://github.com/eslint/eslint/issues/3458)
11
+ require('@rushstack/eslint-patch/modern-module-resolution');
12
+
13
+ // This file contains the minimum ESLint configuration required for Create
14
+ // React App support, and is used as the `baseConfig` for `eslint-loader`
15
+ // to ensure that user-provided configs don't need this boilerplate.
16
+
17
+ module.exports = {
18
+ root: true,
19
+
20
+ parser: '@babel/eslint-parser',
21
+
22
+ plugins: ['react'],
23
+
24
+ env: {
25
+ browser: true,
26
+ commonjs: true,
27
+ es6: true,
28
+ jest: true,
29
+ node: true,
30
+ },
31
+
32
+ parserOptions: {
33
+ sourceType: 'module',
34
+ requireConfigFile: false,
35
+ babelOptions: {
36
+ presets: [require.resolve('babel-preset-react-app-new/prod')],
37
+ },
38
+ },
39
+
40
+ settings: {
41
+ react: {
42
+ version: 'detect',
43
+ },
44
+ },
45
+
46
+ rules: {
47
+ 'react/jsx-uses-vars': 'warn',
48
+ 'react/jsx-uses-react': 'warn',
49
+ },
50
+ };
package/index.js ADDED
@@ -0,0 +1,291 @@
1
+ /**
2
+ * Copyright (c) 2015-present, Facebook, Inc.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ 'use strict';
9
+
10
+ // Inspired by https://github.com/airbnb/javascript but less opinionated.
11
+
12
+ // We use eslint-loader so even warnings are very visible.
13
+ // This is why we prefer to use "WARNING" level for potential errors,
14
+ // and we try not to use "ERROR" level at all.
15
+
16
+ // In the future, we might create a separate list of rules for production.
17
+ // It would probably be more strict.
18
+
19
+ // The ESLint browser environment defines all browser globals as valid,
20
+ // even though most people don't know some of them exist (e.g. `name` or `status`).
21
+ // This is dangerous as it hides accidentally undefined variables.
22
+ // We blacklist the globals that we deem potentially confusing.
23
+ // To use them, explicitly reference them, e.g. `window.name` or `window.status`.
24
+ const restrictedGlobals = require('confusing-browser-globals');
25
+
26
+ module.exports = {
27
+ extends: [require.resolve('./base')],
28
+
29
+ plugins: ['import', 'flowtype', 'jsx-a11y', 'react-hooks'],
30
+
31
+ overrides: [
32
+ {
33
+ files: ['**/*.ts?(x)'],
34
+ parser: '@typescript-eslint/parser',
35
+ parserOptions: {
36
+ ecmaVersion: 2018,
37
+ sourceType: 'module',
38
+ ecmaFeatures: {
39
+ jsx: true,
40
+ },
41
+
42
+ // typescript-eslint specific options
43
+ warnOnUnsupportedTypeScriptVersion: true,
44
+ },
45
+ plugins: ['@typescript-eslint'],
46
+ // If adding a typescript-eslint version of an existing ESLint rule,
47
+ // make sure to disable the ESLint rule here.
48
+ rules: {
49
+ // TypeScript's `noFallthroughCasesInSwitch` option is more robust (#6906)
50
+ 'default-case': 'off',
51
+ // 'tsc' already handles this (https://github.com/typescript-eslint/typescript-eslint/issues/291)
52
+ 'no-dupe-class-members': 'off',
53
+ // 'tsc' already handles this (https://github.com/typescript-eslint/typescript-eslint/issues/477)
54
+ 'no-undef': 'off',
55
+
56
+ // Add TypeScript specific rules (and turn off ESLint equivalents)
57
+ '@typescript-eslint/consistent-type-assertions': 'warn',
58
+ 'no-array-constructor': 'off',
59
+ '@typescript-eslint/no-array-constructor': 'warn',
60
+ 'no-redeclare': 'off',
61
+ '@typescript-eslint/no-redeclare': 'warn',
62
+ 'no-use-before-define': 'off',
63
+ '@typescript-eslint/no-use-before-define': [
64
+ 'warn',
65
+ {
66
+ functions: false,
67
+ classes: false,
68
+ variables: false,
69
+ typedefs: false,
70
+ },
71
+ ],
72
+ 'no-unused-expressions': 'off',
73
+ '@typescript-eslint/no-unused-expressions': [
74
+ 'error',
75
+ {
76
+ allowShortCircuit: true,
77
+ allowTernary: true,
78
+ allowTaggedTemplates: true,
79
+ },
80
+ ],
81
+ 'no-unused-vars': 'off',
82
+ '@typescript-eslint/no-unused-vars': [
83
+ 'warn',
84
+ {
85
+ args: 'none',
86
+ ignoreRestSiblings: true,
87
+ },
88
+ ],
89
+ 'no-useless-constructor': 'off',
90
+ '@typescript-eslint/no-useless-constructor': 'warn',
91
+ },
92
+ },
93
+ ],
94
+
95
+ // NOTE: When adding rules here, you need to make sure they are compatible with
96
+ // `typescript-eslint`, as some rules such as `no-array-constructor` aren't compatible.
97
+ rules: {
98
+ // http://eslint.org/docs/rules/
99
+ 'array-callback-return': 'warn',
100
+ 'default-case': ['warn', { commentPattern: '^no default$' }],
101
+ 'dot-location': ['warn', 'property'],
102
+ eqeqeq: ['warn', 'smart'],
103
+ 'new-parens': 'warn',
104
+ 'no-array-constructor': 'warn',
105
+ 'no-caller': 'warn',
106
+ 'no-cond-assign': ['warn', 'except-parens'],
107
+ 'no-const-assign': 'warn',
108
+ 'no-control-regex': 'warn',
109
+ 'no-delete-var': 'warn',
110
+ 'no-dupe-args': 'warn',
111
+ 'no-dupe-class-members': 'warn',
112
+ 'no-dupe-keys': 'warn',
113
+ 'no-duplicate-case': 'warn',
114
+ 'no-empty-character-class': 'warn',
115
+ 'no-empty-pattern': 'warn',
116
+ 'no-eval': 'warn',
117
+ 'no-ex-assign': 'warn',
118
+ 'no-extend-native': 'warn',
119
+ 'no-extra-bind': 'warn',
120
+ 'no-extra-label': 'warn',
121
+ 'no-fallthrough': 'warn',
122
+ 'no-func-assign': 'warn',
123
+ 'no-implied-eval': 'warn',
124
+ 'no-invalid-regexp': 'warn',
125
+ 'no-iterator': 'warn',
126
+ 'no-label-var': 'warn',
127
+ 'no-labels': ['warn', { allowLoop: true, allowSwitch: false }],
128
+ 'no-lone-blocks': 'warn',
129
+ 'no-loop-func': 'warn',
130
+ 'no-mixed-operators': [
131
+ 'warn',
132
+ {
133
+ groups: [
134
+ ['&', '|', '^', '~', '<<', '>>', '>>>'],
135
+ ['==', '!=', '===', '!==', '>', '>=', '<', '<='],
136
+ ['&&', '||'],
137
+ ['in', 'instanceof'],
138
+ ],
139
+ allowSamePrecedence: false,
140
+ },
141
+ ],
142
+ 'no-multi-str': 'warn',
143
+ 'no-global-assign': 'warn',
144
+ 'no-unsafe-negation': 'warn',
145
+ 'no-new-func': 'warn',
146
+ 'no-new-object': 'warn',
147
+ 'no-new-symbol': 'warn',
148
+ 'no-new-wrappers': 'warn',
149
+ 'no-obj-calls': 'warn',
150
+ 'no-octal': 'warn',
151
+ 'no-octal-escape': 'warn',
152
+ 'no-redeclare': 'warn',
153
+ 'no-regex-spaces': 'warn',
154
+ 'no-restricted-syntax': ['warn', 'WithStatement'],
155
+ 'no-script-url': 'warn',
156
+ 'no-self-assign': 'warn',
157
+ 'no-self-compare': 'warn',
158
+ 'no-sequences': 'warn',
159
+ 'no-shadow-restricted-names': 'warn',
160
+ 'no-sparse-arrays': 'warn',
161
+ 'no-template-curly-in-string': 'warn',
162
+ 'no-this-before-super': 'warn',
163
+ 'no-throw-literal': 'warn',
164
+ 'no-undef': 'error',
165
+ 'no-restricted-globals': ['error'].concat(restrictedGlobals),
166
+ 'no-unreachable': 'warn',
167
+ 'no-unused-expressions': [
168
+ 'error',
169
+ {
170
+ allowShortCircuit: true,
171
+ allowTernary: true,
172
+ allowTaggedTemplates: true,
173
+ },
174
+ ],
175
+ 'no-unused-labels': 'warn',
176
+ 'no-unused-vars': [
177
+ 'warn',
178
+ {
179
+ args: 'none',
180
+ ignoreRestSiblings: true,
181
+ },
182
+ ],
183
+ 'no-use-before-define': [
184
+ 'warn',
185
+ {
186
+ functions: false,
187
+ classes: false,
188
+ variables: false,
189
+ },
190
+ ],
191
+ 'no-useless-computed-key': 'warn',
192
+ 'no-useless-concat': 'warn',
193
+ 'no-useless-constructor': 'warn',
194
+ 'no-useless-escape': 'warn',
195
+ 'no-useless-rename': [
196
+ 'warn',
197
+ {
198
+ ignoreDestructuring: false,
199
+ ignoreImport: false,
200
+ ignoreExport: false,
201
+ },
202
+ ],
203
+ 'no-with': 'warn',
204
+ 'no-whitespace-before-property': 'warn',
205
+ 'react-hooks/exhaustive-deps': 'warn',
206
+ 'require-yield': 'warn',
207
+ 'rest-spread-spacing': ['warn', 'never'],
208
+ strict: ['warn', 'never'],
209
+ 'unicode-bom': ['warn', 'never'],
210
+ 'use-isnan': 'warn',
211
+ 'valid-typeof': 'warn',
212
+ 'no-restricted-properties': [
213
+ 'error',
214
+ {
215
+ object: 'require',
216
+ property: 'ensure',
217
+ message:
218
+ 'Please use import() instead. More info: https://facebook.github.io/create-react-app/docs/code-splitting',
219
+ },
220
+ {
221
+ object: 'System',
222
+ property: 'import',
223
+ message:
224
+ 'Please use import() instead. More info: https://facebook.github.io/create-react-app/docs/code-splitting',
225
+ },
226
+ ],
227
+ 'getter-return': 'warn',
228
+
229
+ // https://github.com/benmosher/eslint-plugin-import/tree/master/docs/rules
230
+ 'import/first': 'error',
231
+ 'import/no-amd': 'error',
232
+ 'import/no-anonymous-default-export': 'warn',
233
+ 'import/no-webpack-loader-syntax': 'error',
234
+
235
+ // https://github.com/yannickcr/eslint-plugin-react/tree/master/docs/rules
236
+ 'react/forbid-foreign-prop-types': ['warn', { allowInPropTypes: true }],
237
+ 'react/jsx-no-comment-textnodes': 'warn',
238
+ 'react/jsx-no-duplicate-props': 'warn',
239
+ 'react/jsx-no-target-blank': 'warn',
240
+ 'react/jsx-no-undef': 'error',
241
+ 'react/jsx-pascal-case': [
242
+ 'warn',
243
+ {
244
+ allowAllCaps: true,
245
+ ignore: [],
246
+ },
247
+ ],
248
+ 'react/no-danger-with-children': 'warn',
249
+ // Disabled because of undesirable warnings
250
+ // See https://github.com/facebook/create-react-app/issues/5204 for
251
+ // blockers until its re-enabled
252
+ // 'react/no-deprecated': 'warn',
253
+ 'react/no-direct-mutation-state': 'warn',
254
+ 'react/no-is-mounted': 'warn',
255
+ 'react/no-typos': 'error',
256
+ 'react/require-render-return': 'error',
257
+ 'react/style-prop-object': 'warn',
258
+
259
+ // https://github.com/evcohen/eslint-plugin-jsx-a11y/tree/master/docs/rules
260
+ 'jsx-a11y/alt-text': 'warn',
261
+ 'jsx-a11y/anchor-has-content': 'warn',
262
+ 'jsx-a11y/anchor-is-valid': [
263
+ 'warn',
264
+ {
265
+ aspects: ['noHref', 'invalidHref'],
266
+ },
267
+ ],
268
+ 'jsx-a11y/aria-activedescendant-has-tabindex': 'warn',
269
+ 'jsx-a11y/aria-props': 'warn',
270
+ 'jsx-a11y/aria-proptypes': 'warn',
271
+ 'jsx-a11y/aria-role': ['warn', { ignoreNonDOM: true }],
272
+ 'jsx-a11y/aria-unsupported-elements': 'warn',
273
+ 'jsx-a11y/heading-has-content': 'warn',
274
+ 'jsx-a11y/iframe-has-title': 'warn',
275
+ 'jsx-a11y/img-redundant-alt': 'warn',
276
+ 'jsx-a11y/no-access-key': 'warn',
277
+ 'jsx-a11y/no-distracting-elements': 'warn',
278
+ 'jsx-a11y/no-redundant-roles': 'warn',
279
+ 'jsx-a11y/role-has-required-aria-props': 'warn',
280
+ 'jsx-a11y/role-supports-aria-props': 'warn',
281
+ 'jsx-a11y/scope': 'warn',
282
+
283
+ // https://github.com/facebook/react/tree/main/packages/eslint-plugin-react-hooks
284
+ 'react-hooks/rules-of-hooks': 'error',
285
+
286
+ // https://github.com/gajus/eslint-plugin-flowtype
287
+ 'flowtype/define-flow-type': 'warn',
288
+ 'flowtype/require-valid-file-annotation': 'warn',
289
+ 'flowtype/use-flow-type': 'warn',
290
+ },
291
+ };
package/jest.js ADDED
@@ -0,0 +1,62 @@
1
+ /**
2
+ * Copyright (c) 2015-present, Facebook, Inc.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ 'use strict';
9
+
10
+ // Fix eslint shareable config (https://github.com/eslint/eslint/issues/3458)
11
+ require('@rushstack/eslint-patch/modern-module-resolution');
12
+
13
+ // We use eslint-loader so even warnings are very visible.
14
+ // This is why we prefer to use "WARNING" level for potential errors,
15
+ // and we try not to use "ERROR" level at all.
16
+
17
+ module.exports = {
18
+ plugins: ['jest', 'testing-library'],
19
+ overrides: [
20
+ {
21
+ files: ['**/__tests__/**/*', '**/*.{spec,test}.*'],
22
+ env: {
23
+ 'jest/globals': true,
24
+ },
25
+ // A subset of the recommended rules:
26
+ rules: {
27
+ // https://github.com/jest-community/eslint-plugin-jest
28
+ 'jest/no-conditional-expect': 'error',
29
+ 'jest/no-identical-title': 'error',
30
+ 'jest/no-interpolation-in-snapshots': 'error',
31
+ 'jest/no-jasmine-globals': 'error',
32
+ 'jest/no-jest-import': 'error',
33
+ 'jest/no-mocks-import': 'error',
34
+ 'jest/valid-describe-callback': 'error',
35
+ 'jest/valid-expect': 'error',
36
+ 'jest/valid-expect-in-promise': 'error',
37
+ 'jest/valid-title': 'warn',
38
+
39
+ // https://github.com/testing-library/eslint-plugin-testing-library
40
+ 'testing-library/await-async-query': 'error',
41
+ 'testing-library/await-async-utils': 'error',
42
+ 'testing-library/no-await-sync-query': 'error',
43
+ 'testing-library/no-container': 'error',
44
+ 'testing-library/no-debugging-utils': 'error',
45
+ 'testing-library/no-dom-import': ['error', 'react'],
46
+ 'testing-library/no-node-access': 'error',
47
+ 'testing-library/no-promise-in-fire-event': 'error',
48
+ 'testing-library/no-render-in-setup': 'error',
49
+ 'testing-library/no-unnecessary-act': 'error',
50
+ 'testing-library/no-wait-for-empty-callback': 'error',
51
+ 'testing-library/no-wait-for-multiple-assertions': 'error',
52
+ 'testing-library/no-wait-for-side-effects': 'error',
53
+ 'testing-library/no-wait-for-snapshot': 'error',
54
+ 'testing-library/prefer-find-by': 'error',
55
+ 'testing-library/prefer-presence-queries': 'error',
56
+ 'testing-library/prefer-query-by-disappearance': 'error',
57
+ 'testing-library/prefer-screen-queries': 'error',
58
+ 'testing-library/render-result-naming-convention': 'error',
59
+ },
60
+ },
61
+ ],
62
+ };
package/package.json ADDED
@@ -0,0 +1,41 @@
1
+ {
2
+ "name": "eslint-config-react-app-new",
3
+ "version": "0.0.1",
4
+ "description": "ESLint configuration used by Create React App",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/facebook/create-react-app.git",
8
+ "directory": "packages/eslint-config-react-app"
9
+ },
10
+ "license": "MIT",
11
+ "bugs": {
12
+ "url": "https://github.com/facebook/create-react-app/issues"
13
+ },
14
+ "files": [
15
+ "base.js",
16
+ "index.js",
17
+ "jest.js"
18
+ ],
19
+ "peerDependencies": {
20
+ "eslint": "^8.0.0"
21
+ },
22
+ "dependencies": {
23
+ "@babel/core": "^7.22.9",
24
+ "@babel/eslint-parser": "^7.22.9",
25
+ "@rushstack/eslint-patch": "^1.3.2",
26
+ "@typescript-eslint/eslint-plugin": "^6.1.0",
27
+ "@typescript-eslint/parser": "^6.1.0",
28
+ "babel-preset-react-app": "^10.0.1",
29
+ "confusing-browser-globals": "^1.0.11",
30
+ "eslint-plugin-flowtype": "^8.0.3",
31
+ "eslint-plugin-import": "^2.27.5",
32
+ "eslint-plugin-jest": "^27.2.3",
33
+ "eslint-plugin-jsx-a11y": "^6.7.1",
34
+ "eslint-plugin-react": "^7.33.0",
35
+ "eslint-plugin-react-hooks": "^4.6.0",
36
+ "eslint-plugin-testing-library": "^5.11.0"
37
+ },
38
+ "engines": {
39
+ "node": ">=14.0.0"
40
+ }
41
+ }