-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc.json
44 lines (44 loc) · 1.28 KB
/
.eslintrc.json
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
{
"env": {
"node": true,
"es6": true
},
"extends": [
"airbnb-typescript/base",
"prettier/@typescript-eslint",
"plugin:prettier/recommended",
"plugin:node/recommended",
"plugin:@typescript-eslint/recommended"
],
"plugins": ["prettier"],
"parserOptions": {
"parser": "@typescript-eslint/parser",
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
"prettier/prettier": "error",
"no-unused-vars": ["warn", { "args": "none" }],
"no-unused-expressions": [
"warn",
{
"allowTernary": true
}
],
"import/no-cycle": "off",
"no-console": "off",
"func-names": "off",
"object-shorthand": "off",
"class-methods-use-this": "off",
"import/no-dynamic-require": "off",
"global-require": "off",
"no-shadow": "off",
"no-useless-constructor": "off",
"node/no-unsupported-features/es-syntax": "off",
"lines-between-class-members": "off",
"import/prefer-default-export": "off",
"import/named": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/interface-name-prefix": "off"
}
}