-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
29 lines (29 loc) · 831 Bytes
/
.eslintrc
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
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"overrides": [],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
"no-console": 1, // Means warning
"prettier/prettier": 2, // Means error,
"indent": ["error", 4],
"semi": ["error", "always"],
"quote-props": ["error", "as-needed"],
"@typescript-eslint/no-non-null-assertion": "warn",
"@typescript-eslint/no-explicit-any": "warn"
},
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "prettier"],
"ignorePatterns": ["*.js"]
}