-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.json
27 lines (27 loc) · 896 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
{
"env": {
"browser": true,
"es2021": true
},
"extends": ["standard-with-typescript", "eslint-config-prettier"],
"overrides": [],
"parserOptions": {
"project": ["./tsconfig.json"],
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
"no-console": "warn",
"no-unused-vars": "warn",
"no-unused-expressions": "off",
"no-sequences": "off",
"spaced-comment": "off",
"@typescript-eslint/strict-boolean-expressions": "off",
"@typescript-eslint/no-misused-promises": "off",
"@typescript-eslint/no-throw-literal": "off",
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/prefer-nullish-coalescing": "off",
"@typescript-eslint/method-signature-style": "off",
"@typescript-eslint/prefer-optional-chain": "off"
}
}