Skip to content

Commit 13ef22a

Browse files
committed
add linting
1 parent a925d5e commit 13ef22a

26 files changed

+1504
-482
lines changed

webdriver-ts/.eslintrc

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"root": true,
3+
"parser": "@typescript-eslint/parser",
4+
"plugins": [
5+
"@typescript-eslint"
6+
],
7+
"extends": [
8+
"eslint:recommended",
9+
"plugin:@typescript-eslint/eslint-recommended",
10+
"plugin:@typescript-eslint/recommended"
11+
],
12+
"parserOptions": {
13+
"project": [
14+
"./tsconfig.json"
15+
]
16+
},
17+
"rules": {
18+
"prefer-const": "off",
19+
"@typescript-eslint/no-explicit-any": "off",
20+
"@typescript-eslint/no-unused-vars": "off",
21+
"require-await": "error",
22+
"@typescript-eslint/no-floating-promises": "error"
23+
}
24+
}

0 commit comments

Comments
 (0)