This repository has been archived by the owner on May 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
/
.eslintrc
39 lines (39 loc) · 1.17 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
35
36
37
38
39
{
"plugins": ["@typescript-eslint", "prettier", "unicorn", "import"],
"extends": [
"airbnb-typescript/base",
"plugin:@typescript-eslint/recommended",
"plugin:unicorn/recommended",
"plugin:prettier/recommended",
"prettier"
],
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
"project": ["./tsconfig.json"] // Specify it only for TypeScript files
},
"parser": "@typescript-eslint/parser",
"env": {
"es6": true,
"browser": true,
"node": true
},
"rules": {
"import/order": ["error", { "newlines-between": "always" }],
"no-debugger": "off",
"no-console": 0,
"import/prefer-default-export": "off",
"import/no-cycle": "off",
"unicorn/no-null": "off",
"unicorn/no-useless-undefined": "off",
"unicorn/no-array-for-each": "off",
"class-methods-use-this": "off",
"unicorn/prefer-node-protocol": "off",
"no-param-reassign": "off",
"max-classes-per-file": "off",
"no-restricted-syntax": ["error", "ForInStatement"],
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/explicit-module-boundary-types": "off"
}
}