-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc
35 lines (35 loc) · 887 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
30
31
32
33
34
35
{
"env": {
"node": true,
"es6": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "tsconfig.json"
},
"plugins": ["@typescript-eslint", "functional"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:functional/external-typescript-recommended",
"plugin:functional/strict",
"prettier"
],
"rules": {
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"warn",
{ "argsIgnorePattern": "^_*$" }
],
"functional/no-conditional-statements": [
"error",
{
"allowReturningBranches": true
}
],
"functional/functional-parameters": "off",
"functional/prefer-immutable-types": "off",
"functional/type-declaration-immutability": "off"
}
}