-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
34 lines (34 loc) · 1.13 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
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "es-x"],
"ignorePatterns": ["lib/*", "node_modules/**"],
"extends": [
"eslint:recommended",
"plugin:prettier/recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:es-x/no-new-in-es2020"
],
"rules": {
"prettier/prettier": "warn",
"no-console": "warn",
"sort-imports": [
"warn",
{
"ignoreCase": true,
"ignoreDeclarationSort": true
}
],
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-namespace": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-empty-function": "warn",
"@typescript-eslint/no-this-alias": "off",
"no-inner-declarations": "off",
"es-x/no-optional-chaining": "ERROR",
"es-x/no-class-fields": "OFF",
"es-x/no-export-ns-from": "OFF"
}
}