-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
41 lines (41 loc) · 1.11 KB
/
.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
32
33
34
35
36
37
38
39
40
41
{
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"env": {
"browser": true,
"node": true,
"es2021": true,
"serviceworker": true
},
"rules": {
"max-len": [1, 180, 2, { "ignoreComments": true }],
"quotes": [1, "single", { "allowTemplateLiterals": true }],
"indent": ["error", 2],
"import/extensions": "off",
"import/no-unresolved": "off",
"import/prefer-default-export": "off",
"no-param-reassign": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-var-requires": "off",
"import/named": "off",
"no-console": "warn",
"class-methods-use-this": "off",
"camelcase": "off",
"no-plusplus": "off",
"no-shadow": "off",
"no-underscore-dangle": "off",
"@typescript-eslint/no-empty-function": "off",
"no-return-assign": "off",
"no-mixed-operators": "off",
"no-case-declarations": "off",
"no-undef": "off"
},
"extends": [
"airbnb-base",
"plugin:@typescript-eslint/recommended"
],
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
}
}