-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc
29 lines (29 loc) · 859 Bytes
/
.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
{
"env": { "node": true },
"extends": ["@askeladden/eslint-config-askeladden/typescript-recommended"],
"rules": {
"import/extensions": 0,
"prefer-template": 0,
//"class-methods-use-this": 0,
"@typescript-eslint/no-inferrable-types": 0,
//"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/no-unused-vars": 1,
"@typescript-eslint/no-empty-function": 0,
"@typescript-eslint/ban-types": 0,
"no-console": 2,
"import/no-extraneous-dependencies": [
"error",
{ "devDependencies": ["**/*.test.ts", "**/*.spec.ts"] }
],
"no-use-before-define": [
"error",
{
"functions": false,
"classes": false,
"variables": false
}
],
// Prettier errors are fixed automatically, do not need linting hints in IDE
"prettier/prettier": 0
},
}