-
Notifications
You must be signed in to change notification settings - Fork 34
/
.eslintrc.json
54 lines (54 loc) · 1.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
{
"env": {
"commonjs": true,
"es6": true
},
"extends": [
"eslint:recommended",
"airbnb-base",
"airbnb-typescript/base",
"plugin:@typescript-eslint/recommended",
"plugin:playwright/playwright-test"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json",
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"indent": "off",
"@typescript-eslint/indent": "off",
"linebreak-style": "off",
"quotes": "off",
"no-trailing-spaces": "off",
"lines-between-class-members": "off",
"@typescript-eslint/lines-between-class-members": "off",
"@typescript-eslint/quotes": "off",
"no-underscore-dangle": "off",
"semi": [
"error",
"always"
],
"object-shorthand": "off",
"no-console":"off",
"class-methods-use-this": "off",
"no-plusplus": "off",
"@typescript-eslint/no-explicit-any": "off",
"no-await-in-loop": "off",
"function-paren-newline": "off",
"function-call-argument-newline": "off",
"import/no-extraneous-dependencies": "off",
"max-len": ["warn",
{
"code": 120 ,
"ignoreComments": true,
"ignoreTrailingComments": true,
"ignoreTemplateLiterals": true,
"ignoreUrls": true
}]
}
}