-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
31 lines (31 loc) · 843 Bytes
/
.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
{
"root": true,
"plugins": ["@typescript-eslint", "prettier"],
"extends": [
"plugin:@typescript-eslint/recommended",
"prettier",
"prettier/@typescript-eslint"
],
"rules": {
"prettier/prettier": "warn",
"arrow-body-style": "error",
"no-console": "off",
"no-shadow": "error",
"func-style": ["error", "expression"],
"curly": "error",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/explicit-module-boundary": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-shadow": "off",
"no-unused-vars": ["error", { "ignoreRestSiblings": true }]
},
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module"
},
"env": {
"es6": true,
"node": true
}
}