-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
31 lines (31 loc) · 920 Bytes
/
.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
{
"extends": "airlight-node",
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json",
"sourceType": "module",
"extraFileExtensions": [".cjs", ".d.ts"]
},
"rules": {
"node/no-unsupported-features/es-syntax": [
"error",
{ "ignores": ["modules"] }
],
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/indent": "off",
"eslint-comments/disable-enable-pair": "off",
"indent": "off",
"guard-for-in": "off",
"no-restricted-syntax": "off",
"no-continue": "off",
"no-param-reassign": "off",
"consistent-return": "off",
"complexity": ["warn", 20],
"max-depth": ["warn", 5],
"max-lines": ["warn", 160],
"max-lines-per-function": ["warn", 50],
"import/prefer-default-export": "warn"
}
}