-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
38 lines (38 loc) · 1.07 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
34
35
36
37
38
module.exports = {
extends: [
'airbnb-base',
'airbnb-typescript',
'plugin:@typescript-eslint/recommended',
'plugin:@typescript-eslint/recommended-requiring-type-checking',
"plugin:react/recommended"
],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: "latest",
project: "./tsconfig.json",
ecmaFeatures: { impliedStrict: true },
},
plugins: ['@typescript-eslint'],
rules: {
"@typescript-eslint/quotes": [ "error", "double" ],
quotes: "off",
"array-bracket-spacing": [ "error", "always"],
"import/prefer-default-export": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"react/prop-types": "off",
"react/jsx-uses-react": "off",
"react/react-in-jsx-scope": "off",
"no-restricted-syntax": "off",
"import/prefer-default-export": "off",
"no-void": "off",
"class-methods-use-this": "off",
"@typescript-eslint/unbound-method": "off",
"@typescript-eslint/no-misused-promises": [
"error",
{
"checksVoidReturn": false
}
]
},
root: true,
};