-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
53 lines (53 loc) · 1.76 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2019,
"sourceType": "module",
"project": "./tsconfig.json"
},
"env": {
"node": true,
"mocha": true
},
"extends": [
"airbnb-typescript/base",
"plugin:@typescript-eslint/recommended",
"prettier",
"plugin:import/recommended",
"plugin:import/typescript"
],
"plugins": ["@typescript-eslint", "prettier"],
"rules": {
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-non-null-assertion": 0,
"@typescript-eslint/array-type": 1,
"@typescript-eslint/interface-name-prefix": 0,
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/no-unused-vars": [2, { "varsIgnorePattern": "^_", "argsIgnorePattern": "^_" }],
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/explicit-module-boundary-types": 0,
"@typescript-eslint/camelcase": 0,
"quotes": [2, "double"],
"max-len": [2, 120],
"no-console": 2,
"no-undef": 0,
"no-underscore-dangle": [2, { "allow": ["_id"] }],
"func-names": [1, "as-needed"],
"lines-between-class-members": [1, "always", { "exceptAfterSingleLine": true }],
"no-useless-constructor": 0,
"class-methods-use-this": 0,
"consistent-return": 0,
"no-restricted-syntax": 0,
"no-await-in-loop": 0,
"max-classes-per-file": 0,
"no-plusplus": 0,
"no-bitwise": 0,
"global-require": 0,
"no-restricted-globals": 0,
"prefer-destructuring": 0,
"import/no-extraneous-dependencies": [1, { "devDependencies": true }],
"import/prefer-default-export": 0,
"import/extensions": 0,
"import/no-cycle": 0
}
}