-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
46 lines (46 loc) · 1.43 KB
/
.eslintrc
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
{
"env": { "es2021": true, "node": true },
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"project": ["./tsconfig.json"],
},
"plugins": ["@typescript-eslint", "prettier"],
"extends": [
"plugin:@typescript-eslint/recommended-type-checked",
"eslint:recommended",
"airbnb-base",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:@typescript-eslint/eslint-recommended",
"prettier",
"plugin:prettier/recommended",
"plugin:playwright/recommended",
],
"overrides": [
{
"env": { "node": true },
"files": [".eslintrc.{js,cjs}"],
"parserOptions": { "sourceType": "script" },
},
],
"rules": {
"import/prefer-default-export": "off",
"import/extensions": "off",
"import/no-unresolved": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-floating-promises": "error",
"@typescript-eslint/await-thenable": "error",
"playwright/expect-expect": "off",
"no-console": "off",
"class-methods-use-this": "off",
"max-classes-per-file": "off",
"no-useless-constructor": "off",
"no-empty-function": "off",
"func-names": "off",
"playwright/no-standalone-expect": "off",
"import/no-extraneous-dependencies": "off"
},
"ignorePatterns": ["node_modules", "playwright-report", "test-results"],
}