-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
41 lines (41 loc) · 1.13 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
{
"extends": [
"eslint:recommended",
"plugin:node/recommended",
"plugin:jest/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/errors",
"plugin:import/typescript"
],
"plugins": ["jest", "prettier", "@typescript-eslint", "import"],
"rules": {
"node/no-missing-import": 0,
"node/exports-style": ["error", "module.exports"],
"node/prefer-global/buffer": ["error", "always"],
"node/prefer-global/console": ["error", "always"],
"node/prefer-global/process": ["error", "always"],
"node/prefer-global/url-search-params": ["error", "always"],
"node/prefer-global/url": ["error", "always"],
"node/no-unsupported-features/es-syntax": 0,
"no-console": 0
},
"parserOptions": {
"sourceType": "module"
},
"settings": {
"import/parsers": {
"@typescript-eslint/parser": [".ts"]
},
"import/resolver": {
"node": {
"paths": ["src"],
"extensions": [".js", ".ts", ".test.ts"]
},
"typescript": {
"paths": ["src"],
"extensions": [".js", ".ts", ".test.ts"]
}
}
},
"parser": "@typescript-eslint/parser"
}