-
Notifications
You must be signed in to change notification settings - Fork 27
/
.eslintrc.json
29 lines (29 loc) · 841 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
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2019,
"sourceType": "module",
"project": "./tsconfig.eslint.json"
},
"plugins": [
"@typescript-eslint", "jest"
],
"extends": [
"eslint:recommended", "plugin:jest/recommended", "plugin:@typescript-eslint/recommended", "plugin:prettier/recommended"
],
"rules": {
"@typescript-eslint/ban-ts-comment": [
"error", { "ts-expect-error": "allow-with-description" }],
"semi": "off",
"@typescript-eslint/semi": "error",
"max-len": [
"error",
160,
2,
{ "ignoreUrls": true, "ignoreComments": true, "ignoreRegExpLiterals": true, "ignoreStrings": true, "ignoreTemplateLiterals": true }
],
"comma-dangle": ["error", "always-multiline"],
"jest/expect-expect": "off"
}
}