-
Notifications
You must be signed in to change notification settings - Fork 52
/
.eslintrc.json
42 lines (42 loc) · 1.07 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
{
"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": "latest",
"sourceType": "module",
"project": "./tsconfig.json"
},
"root": true,
"rules": {
"node/no-unsupported-features/es-syntax": "off"
},
"settings": {
"node": {
"tryExtensions": [".mjs", ".js", ".json", ".ts"]
}
}
}