forked from davewasmer/devcert
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc
34 lines (33 loc) · 1.04 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
{
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json",
"ecmaVersion": 2017
},
"env": { "node": true, "es6": true },
"plugins": ["@typescript-eslint", "prettier", "node", "async-await"],
"rules": {
"@typescript-eslint/no-use-before-define": 0,
"@typescript-eslint/camelcase": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-unused-vars": 0,
"@typescript-eslint/explicit-function-return-type": 1,
"@typescript-eslint/interface-name-prefix": 1,
"@typescript-eslint/explicit-member-accessibility": 0,
"@typescript-eslint/prefer-includes": 0,
"@typescript-eslint/require-await": 1
},
"overrides": [{
"files": ["test/**/*.ts"],
"parserOptions": {
"project": "./test/tsconfig.json"
}
}]
}