-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.eslintrc.json
32 lines (32 loc) · 918 Bytes
/
.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
{
"env": {
"browser": true,
"es2021": true
},
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": ["@typescript-eslint"],
"root": true,
"rules": {
"no-restricted-imports": [
"error",
{
"patterns": ["**/src/*"],
"paths": ["node-eventstore-client", "geteventstore-promise"]
}
],
"no-unused-expressions": "error",
"no-prototype-builtins": "warn",
"@typescript-eslint/explicit-module-boundary-types": "warn",
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/no-empty-function": "off",
"no-mixed-spaces-and-tabs": "off"
}
}