-
Notifications
You must be signed in to change notification settings - Fork 38
/
.eslintrc
22 lines (22 loc) · 746 Bytes
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"plugins": ["@typescript-eslint", "unicorn"],
"extends": ["plugin:@typescript-eslint/recommended", "prettier"],
"rules": {
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/no-explicit-any": "error",
"prefer-const": "error",
"@typescript-eslint/no-var-requires": "off",
"no-console": "error",
"@typescript-eslint/padding-line-between-statements": [
"error",
{ "blankLine": "always", "prev": ["const", "let"], "next": "*" },
{
"blankLine": "any",
"prev": ["const", "let"],
"next": ["const", "let"]
},
{ "blankLine": "always", "prev": ["*"], "next": ["if", "return"] },
{ "blankLine": "always", "prev": ["*"], "next": ["try"] }
]
}
}