-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.json
52 lines (52 loc) · 1.3 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
{
"plugins": ["jest", "@typescript-eslint"],
"extends": [
"@masterworks/eslint-config-masterworks/base",
"@masterworks/eslint-config-masterworks/node",
"@masterworks/eslint-config-masterworks/modern",
"@masterworks/eslint-config-masterworks/modules",
"@masterworks/eslint-config-masterworks/stylish",
"@masterworks/eslint-config-masterworks/typescript",
"@masterworks/eslint-config-masterworks/typescript-strict",
"@masterworks/eslint-config-masterworks/typescript-stylish"
],
"env": {
"es6": true,
"node": true
},
"overrides": [
{
"env": {
"jest": true,
"jest/globals": true
},
"extends": ["plugin:jest/recommended"],
"files": ["__tests__/**/*"]
}
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
"project": "./tsconfig.json"
},
"root": true,
"rules": {
"@typescript-eslint/member-delimiter-style": ["error", {
"multiline": {
"delimiter": "none",
"requireLast": false
},
"singleline": {
"delimiter": "semi",
"requireLast": false
}
}],
"node/no-unsupported-features/es-syntax": "off"
},
"settings": {
"node": {
"tryExtensions": [".js", ".json", ".ts"]
}
}
}