-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
28 lines (28 loc) · 848 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
{
"env": {
"browser": true,
"es6": true,
"node": true
},
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier", "plugin:unicorn/all"],
"ignorePatterns": ["/dist/**/*"],
"overrides": [],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"project": "tsconfig.eslint.json",
"sourceType": "module"
},
"plugins": ["@typescript-eslint"],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"no-console": "warn",
"unicorn/consistent-function-scoping": ["error", { "checkArrowFunctions": false }],
"unicorn/no-array-for-each": "off",
"unicorn/no-array-reduce": "off",
"unicorn/no-for-loop": "off",
"unicorn/no-null": "off",
"unicorn/number-literal-case": "off",
"unicorn/prevent-abbreviations": "off"
}
}