-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.cjs
28 lines (28 loc) · 923 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
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/no-misused-promises': 'off',
'@typescript-eslint/restrict-template-expressions': 'off',
'@typescript-eslint/no-floating-promises': 'off',
'@typescript-eslint/strict-boolean-expressions': 'off',
'react/react-in-jsx-scope': 'off',
'space-before-function-paren': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/promise-function-async': 'off',
'@typescript-eslint/consistent-type-assertions': 'off'
}
}