Skip to content

Commit 670152a

Browse files
committed
Enhance eslint configuration
1 parent 87ac3ce commit 670152a

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

.eslintrc.js

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,26 @@
11
module.exports = {
2-
parser: "@typescript-eslint/parser",
2+
parser: '@typescript-eslint/parser',
33
extends: [
4-
"plugin:react/recommended",
5-
"plugin:@typescript-eslint/recommended",
6-
"prettier/@typescript-eslint",
7-
"plugin:prettier/recommended"
4+
'plugin:react/recommended',
5+
'plugin:@typescript-eslint/recommended',
6+
'prettier/@typescript-eslint',
7+
'plugin:prettier/recommended'
88
],
99
parserOptions: {
1010
ecmaFeatures: {
1111
jsx: true
1212
},
1313
ecmaVersion: 2018,
14-
sourceType: "module"
14+
sourceType: 'module'
1515
},
1616
rules: {
17-
"@typescript-eslint/explicit-function-return-type": "off",
18-
"react/prop-types": "off"
17+
'@typescript-eslint/explicit-function-return-type': 'off',
18+
'@typescript-eslint/explicit-module-boundary-types': 'off',
19+
'react/prop-types': 'off'
1920
},
2021
settings: {
2122
react: {
22-
version: "detect"
23+
version: 'detect'
2324
}
2425
}
2526
};

0 commit comments

Comments
 (0)