-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
30 lines (30 loc) · 849 Bytes
/
.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
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "playwright"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:playwright/playwright-test",
"prettier"
],
"parserOptions": {
"ecmaVersion": 2021,
"sourceType": "module",
"project": ["./tsconfig.json"]
},
"env": {
"node": true,
"es6": true,
"jest": true
},
"rules": {
"@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }],
"@typescript-eslint/no-explicit-any": "off",
"playwright/no-force-option": "error",
"playwright/prefer-lowercase-title": "error",
"playwright/prefer-to-have-length": "error",
"playwright/require-top-level-describe": "error",
"curly": ["error", "all"]
}
}