-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy path.eslintrc.js
More file actions
60 lines (52 loc) · 981 Bytes
/
.eslintrc.js
File metadata and controls
60 lines (52 loc) · 981 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
module.exports = {
root: true,
extends: [
'eslint:recommended',
'prettier',
'plugin:@nx/react',
'plugin:import/errors',
'plugin:jest/recommended',
'plugin:jest-dom/recommended',
'plugin:jsx-a11y/recommended',
'plugin:promise/recommended',
'plugin:react/recommended',
'plugin:testing-library/react',
'.eslintrc.rules.js',
],
env: {
browser: true,
es2022: true,
jest: true,
node: true,
},
ignorePatterns: ['**/*'],
parserOptions: {
ecmaVersion: 2022,
sourceType: 'module',
ecmaFeatures: {
jsx: true,
modules: true,
},
},
plugins: [
'@nx',
'@typescript-eslint',
'header',
'import',
'jest',
'jest-dom',
'jsx-a11y',
'local-rules',
'promise',
'react',
'react-hooks',
'testing-library',
'typescript-sort-keys',
],
settings: {
'import/ignore': ['node_modules'],
react: {
version: '18.3.1',
},
},
};