-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.cjs
31 lines (31 loc) · 921 Bytes
/
.eslintrc.cjs
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
module.exports = {
"env": {
"browser": true,
"es2021": true
},
"extends": [
"plugin:react/recommended",
"standard-with-typescript"
],
"overrides": [
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"react"
],
"rules": {
"@typescript-eslint/strict-boolean-expressions": 'off',
"@typescript-eslint/explicit-function-return-type": 'off',
"react/react-in-jsx-scope": 'off',
'react/prop-types': 'off',
'@typescript-eslint/no-misused-promises': 'off',
'@typescript-eslint/no-floating-promises': 'off',
"react/jsx-indent": [2, 2, {checkAttributes: true}],
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-confusing-void-expression': 'off',
'@typescript-eslint/ban-types': 'off'
}
}