forked from ryanrosello-og/zebrunner-playwright-agent
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc.json
43 lines (43 loc) · 1.03 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
{
"root": true,
"parser": "@typescript-eslint/parser",
"env": {
"browser": true,
"es6": true,
"jest": true,
"node": true
},
"plugins": ["@typescript-eslint"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"airbnb-base",
"prettier"
],
"rules": {
"max-line-length": [true, { "limit": 120 }],
"import/extensions": 0,
"no-console": 0,
"consistent-return": 0,
"no-template-curly-in-string": 0,
"indent": ["error", 2, { "ignoreComments": true, "SwitchCase": 1 }],
"import/prefer-default-export": ["off"],
"max-len": 1,
"import/no-extraneous-dependencies": 1,
"no-unused-vars": 1,
"spaced-comment": 1,
"implicit-arrow-linebreak": 0,
"no-underscore-dangle": 0,
"class-methods-use-this": 0,
"no-param-reassign": 0,
"no-nested-ternary": 0
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
}
}