-
-
Notifications
You must be signed in to change notification settings - Fork 28
/
.eslintrc.json
51 lines (51 loc) · 1.35 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
44
45
46
47
48
49
50
51
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"eslint-plugin",
"functional",
"import",
"jsdoc",
"prettier"
],
"env": {
"es6": true,
"node": true
},
"extends": [
"@rebeccastevens/eslint-config/modern",
"@rebeccastevens/eslint-config/typescript",
"@rebeccastevens/eslint-config/common-overrides",
"plugin:eslint-plugin/recommended",
"plugin:prettier/recommended",
"prettier"
],
"parserOptions": {
"ecmaVersion": 10,
"project": ["./tsconfig.json", "./tests/tsconfig.json"],
"sourceType": "module"
},
"ignorePatterns": ["build/", "coverage/", "lib/"],
"rules": {
"@typescript-eslint/no-unnecessary-condition": "off",
"import/no-relative-parent-imports": "error",
"node/no-unsupported-features/es-builtins": "off",
"node/no-unsupported-features/es-syntax": "off",
// enable once supported in all our supported node versions.
"unicorn/prefer-node-protocol": "off"
},
"overrides": [
// Top level files.
{
"files": ["*"],
"rules": {
"functional/immutable-data": "off",
"functional/functional-parameters": "off",
"functional/no-conditional-statement": "off",
"functional/no-expression-statement": "off",
"functional/no-throw-statement": "off"
}
}
]
}