forked from onsip/SIP.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
31 lines (31 loc) · 872 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
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module",
"project": "./tsconfig-base.json"
},
"plugins": ["@typescript-eslint", "tree-shaking"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:prettier/recommended"
],
"rules": {
"no-console": "error",
// "@typescript-eslint/explicit-member-accessibility": "error",
"@typescript-eslint/member-ordering": "error",
"tree-shaking/no-side-effects-in-initialization": 2
},
"overrides": [
{
"files": ["./demo/**/*.ts", "./test/**/*.ts"],
"rules": {
"tree-shaking/no-side-effects-in-initialization": "off"
}
}
]
}