-
Notifications
You must be signed in to change notification settings - Fork 2
/
foo
28 lines (28 loc) · 711 Bytes
/
foo
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
{
"extends": [
"eslint:recommended",
"prettier"
],
"plugins": ["prettier", "@typescript-eslint"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"env": {
"es6": true,
"browser": true,
"jest": true,
"node": true
},
"rules": {
"prettier/prettier": "warn",
"arrow-body-style": ["warn", "as-needed"],
"no-unused-vars": "off",
"no-duplicate-imports": "warn",
"@typescript-eslint/no-array-constructor": "error",
"@typescript-eslint/no-namespace": "error",
"@typescript-eslint/no-unused-vars": ["error", {"args": "none", "ignoreRestSiblings": true}],
"no-console": "warn"
}
}