-
Notifications
You must be signed in to change notification settings - Fork 35
/
.eslintrc
32 lines (32 loc) · 1.16 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
{
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"parser": "@typescript-eslint/parser",
"overrides": [
{
// These are files with more lenient lint config because they have not been "fixed" yet
// Once a directory here is fixed, it should be removed from here so the strict rules applies
"files": [
"src/keri/app/**",
"src/keri/core/**",
"examples/integration-scripts/**"
],
"rules": {
"prefer-const": "warn",
"no-var": "warn",
"no-self-assign": "warn",
"no-case-declarations": "warn",
"no-constant-condition": "warn",
"no-empty": "warn",
"@typescript-eslint/no-non-null-asserted-optional-chain": "warn",
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-namespace": "warn",
"@typescript-eslint/ban-types": "warn",
"@typescript-eslint/no-unused-vars": "warn"
}
}
]
}