-
Notifications
You must be signed in to change notification settings - Fork 52
/
.eslintrc
47 lines (47 loc) · 1.31 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
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": { "project": "./tsconfig.json" },
"env": { "es6": true },
"ignorePatterns": [
"node_modules",
"build",
"coverage",
"src/lib/schema/ajv/*.js"
],
"extends": ["bitauth"],
// "globals": { "BigInt": true, "console": true, "WebAssembly": true },
"rules": {
"@typescript-eslint/no-unsafe-enum-comparison": "off"
},
"overrides": [
/*
* Require all test files to import functionality from the entry point
* (to test that exports are available to consumers as expected).
*/
{
"files": ["**.spec.ts", "**.bench.ts"],
"rules": {
"import/no-restricted-paths": [
"error",
{
"zones": [
{
"target": "./src",
"from": "./src/lib",
"except": ["lib.ts", "(.*).helper.ts", "(.*).json"]
}
]
}
],
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/no-magic-numbers": "off",
"functional/no-expression-statements": "off",
"functional/no-conditional-statements": "off",
"functional/functional-parameters": "off",
"functional/immutable-data": "off",
"functional/no-return-void": "off"
}
}
]
}