-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
31 lines (31 loc) · 895 Bytes
/
.eslintrc.json
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
{
"root": true,
"env": { "browser": true, "es2020": true },
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react-hooks/recommended",
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"project": "tsconfig.json",
"sourceType": "module"
},
"plugins": ["@typescript-eslint"],
"ignorePatterns": ["lib", "scripts"],
"rules": {
"quotes": [1, "single", { "avoidEscape": true, "allowTemplateLiterals": false }],
"object-shorthand": 1,
"require-await": 1,
"@typescript-eslint/consistent-type-imports": 2,
"@typescript-eslint/no-namespace": 0,
"@typescript-eslint/await-thenable": 1,
"no-useless-escape": 1,
"no-useless-return": 1,
"no-useless-call": 1,
"no-unused-expressions": 1,
"prettier/prettier": 1
}
}