-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.json
32 lines (32 loc) · 995 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
32
{
"env": {
"browser": true
},
"extends": ["plugin:@typescript-eslint/recommended"],
"parser": "@typescript-eslint/parser",
"plugins": ["eslint-plugin-import", "@typescript-eslint", "prettier"],
"settings": {
"import/parsers": {
"@typescript-eslint/parser": [".ts", ".tsx"]
},
"import/resolver": {
"typescript": {
"directory": "./client"
}
}
},
"rules": {
"no-trailing-spaces": ["error", { "skipBlankLines": true }],
"no-multiple-empty-lines": ["error", { "max": 3 }],
"no-unused-vars": "off",
"padded-blocks": "off",
"import/no-unresolved": [0, { "caseSensitive": true }],
"camelcase": "off",
"@typescript-eslint/indent": [2, 2],
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/camelcase": "off",
"@typescript-eslint/no-empty-function": "off"
}
}