-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.js
33 lines (33 loc) · 1.14 KB
/
.eslintrc.js
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
module.exports = {
env: {
browser: true,
es2021: true
},
extends: ['plugin:react/recommended', 'standard-with-typescript'],
overrides: [],
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: './tsconfig.json'
},
plugins: ['react'],
rules: {
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/prefer-optional-chain': 'off',
'@typescript-eslint/no-floating-promises': 'off',
'@typescript-eslint/strict-boolean-expressions': 'off',
'@typescript-eslint/triple-slash-reference': 'off',
'@typescript-eslint/prefer-nullish-coalescing': 'off',
'react-hooks/exhaustive-deps': 'off',
'@typescript-eslint/no-misused-promises': 'off',
'promise/param-names': 'off',
'no-unmodified-loop-condition': 'off',
'prefer-regex-literals': 'off',
'space-before-function-paren': 'off',
'@typescript-eslint/space-before-function-paren': 'off',
'@typescript-eslint/member-delimiter-style': 'off',
'multiline-ternary': 'off',
'@typescript-eslint/no-unused-vars': 'warn'
},
ignorePatterns: ['node_modules', 'dist', 'build', 'coverage', 'public']
}