-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
62 lines (62 loc) · 1.46 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"env": {
"node": true
},
"extends": [
"eslint:recommended",
"airbnb",
"airbnb-typescript/base",
"plugin:@typescript-eslint/strict",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:unicorn/all",
"plugin:node/recommended-module",
"plugin:import/recommended",
"plugin:import/typescript",
"plugin:promise/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"project": [
"./tsconfig.json"
],
"sourceType": "module"
},
"root": true,
"rules": {
"@typescript-eslint/no-var-requires": "off",
"class-methods-use-this": "off",
"consistent-return": "off",
"import/extensions": "off",
"linebreak-style": "off",
"no-console": "off",
"no-process-exit": "off",
"no-restricted-syntax": "off",
"unicorn/no-null": "off", // prefer null > undefined
"unicorn/no-process-exit": "off",
"unicorn/prefer-logical-operator-over-ternary": "off",
"node/shebang": "off",
"unicorn/prefer-node-protocol": "off",
"unicorn/prefer-module": "off",
"unicorn/prefer-type-error": "off",
"unicorn/prevent-abbreviations": "off",
"node/no-missing-import": [
"error",
{
"allowModules": [
"yargs",
"svg-parser"
],
"tryExtensions": [
".ts"
]
}
]
},
"settings": {
"import/resolver": {
"node": true,
"typescript": true
}
}
}