-
Notifications
You must be signed in to change notification settings - Fork 39
/
.eslintrc.json
43 lines (43 loc) · 1.25 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,
"env": {
"browser": true,
"es2020": true,
"node": true
},
"extends": [
"@apify/eslint-config-ts"
],
"parserOptions": {
"project": "./tsconfig.eslint.json",
"ecmaVersion": 2022
},
"plugins": [
"@typescript-eslint"
],
"ignorePatterns": [
"node_modules",
"dist",
"coverage",
"**/*.js",
"**/*.d.ts"
],
"rules": {
"no-void": 0,
"no-console": "error",
"quote-props": ["error", "consistent"],
"keyword-spacing": ["error", { "before": true }],
"@typescript-eslint/array-type": "error",
"@typescript-eslint/no-floating-promises": "error",
"@typescript-eslint/ban-ts-comment": 0,
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-empty-function": "off",
"import/no-extraneous-dependencies": "off",
"@typescript-eslint/member-delimiter-style": ["error", {
"multiline": { "delimiter": "semi", "requireLast": true },
"singleline": { "delimiter": "semi", "requireLast": false }
}]
}
}