Skip to content

Commit 93a5704

Browse files
fix: erros config eslintrc
Dois erros corrigidos. @typescript-eslint/dot-notation: https://stackoverflow.com/questions/64116378/error-while-loading-rule-typescript-eslint-dot-notation React version not specified in eslint-plugin-react jsx-eslint/eslint-plugin-react#3438 (comment)
1 parent 5a2c443 commit 93a5704

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

.eslintrc.js

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
11
module.exports = {
22
env: {
33
browser: true,
4-
es2021: true
4+
es2021: true,
55
},
6-
extends: [
7-
'plugin:react/recommended',
8-
'standard-with-typescript'
9-
],
10-
overrides: [
11-
],
6+
extends: ['plugin:react/recommended', 'standard-with-typescript'],
7+
overrides: [],
128
parserOptions: {
139
ecmaVersion: 'latest',
14-
sourceType: 'module'
10+
sourceType: 'module',
11+
project: ['tsconfig.json'],
1512
},
16-
plugins: [
17-
'react'
18-
],
19-
rules: {
20-
}
21-
}
13+
plugins: ['react'],
14+
rules: {},
15+
settings: {
16+
react: {
17+
version: 'detect',
18+
},
19+
},
20+
};

0 commit comments

Comments
 (0)