forked from webdriverio-community/wdio-vscode-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
76 lines (76 loc) · 2.55 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
75
76
{
"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", "unicorn", "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,
"import/export": 0,
"import/no-cycle": 0,
"import/no-unresolved": 0,
"import/extensions": ["error", "ignorePackages"],
"class-methods-use-this": 0,
"import/prefer-default-export": "off",
"node/no-unpublished-import": "error",
"node/no-missing-import": "off", // duped by import
"node/no-unsupported-features/es-syntax": 0,
"import/no-extraneous-dependencies": "off",
"import/no-import-module-exports": "off",
"node/no-extraneous-import": "off",
"unicorn/prefer-node-protocol": ["error"],
"newline-per-chained-call": 0,
"@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/naming-convention": 0,
"@typescript-eslint/no-floating-promises": 0,
"@typescript-eslint/no-unsafe-declaration-merging": 0
},
"parserOptions": {
"ecmaVersion": 2021,
"sourceType": "module",
"project": ["./tsconfig.json", "./test/tsconfig.json"]
},
"settings": {
"node": {
"tryExtensions": [".js", ".json", ".node", ".ts"]
},
"import/parsers": {
"@typescript-eslint/parser": [".ts"]
}
}
}