-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
74 lines (74 loc) · 2.58 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"extends": [
"airbnb-base-typescript",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:import/errors",
"plugin:import/typescript",
"plugin:import/warnings",
"plugin:node/recommended",
"plugin:wdio/recommended"
],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "import", "node", "wdio"],
"env": {
"node": true
},
"rules": {
"max-len": [2, 120],
"max-classes-per-file": 0,
"no-unused-vars": "off",
"no-underscore-dangle": 0,
"no-multi-assign": 0,
"no-restricted-syntax": 0,
"no-restricted-properties": 0,
"no-await-in-loop": 0,
"no-continue": 0,
"no-param-reassign": 0,
"func-names": 0,
"no-promise-executor-return": 0,
"class-methods-use-this": 0,
"node/no-missing-import": "off", // duped by import
"node/no-unsupported-features/es-syntax": 0,
"import/prefer-default-export": "off",
"import/export": 0,
"import/no-cycle": 0,
"import/no-unresolved": "off",
"import/no-extraneous-dependencies": "off",
"import/no-import-module-exports": "off",
"import/extensions": ["error", "ignorePackages"],
"node/no-extraneous-import": "off",
"@typescript-eslint/indent": [2, 4],
"@typescript-eslint/ban-types": 0,
"@typescript-eslint/semi": [2, "never"],
"@typescript-eslint/comma-dangle": [2, "never"],
"@typescript-eslint/space-before-function-paren": [2, "always"],
"@typescript-eslint/restrict-template-expressions": 0,
"@typescript-eslint/no-unsafe-member-access": 0,
"@typescript-eslint/no-unsafe-assignment": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-empty-interface": 0,
"@typescript-eslint/lines-between-class-members": 0,
"@typescript-eslint/no-use-before-define": 0,
"@typescript-eslint/no-this-alias": 0,
"@typescript-eslint/no-namespace": 0,
"@typescript-eslint/no-unsafe-call": 0,
"@typescript-eslint/no-unsafe-return": 0,
"@typescript-eslint/no-unsafe-argument": 1,
"node/no-unpublished-import": 0
},
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
"project": ["./tsconfig.json", "./test/tsconfig.json"]
},
"settings": {
"node": {
"tryExtensions": [".js", ".json", ".node", ".ts"]
},
"import/parsers": {
"@typescript-eslint/parser": [".ts"]
}
}
}