forked from iExecBlockchainComputing/web3mail-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
36 lines (36 loc) · 931 Bytes
/
.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
{
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "import", "sonarjs", "jest"],
"parserOptions": {
"ecmaVersion": "latest",
"project": "./tsconfig.eslint.json",
"sourceType": "module"
},
"extends": [
"airbnb-typescript/base",
"plugin:@typescript-eslint/recommended",
"prettier",
"plugin:sonarjs/recommended",
"plugin:jest/recommended"
],
"rules": {
"sonarjs/cognitive-complexity": "warn",
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-use-before-define": ["error", { "functions": false }]
},
"overrides": [
{
"files": ["./tests/**/*.ts"],
"rules": {
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": true
}
],
"@typescript-eslint/no-explicit-any": "off",
"sonarjs/no-duplicate-string": "off"
}
}
]
}