-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
41 lines (40 loc) · 962 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
33
34
35
36
37
38
39
40
41
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"standard",
"plugin:prettier/recommended",
"plugin:jest/recommended",
"plugin:jest/style",
"plugin:json/recommended",
"plugin:@typescript-eslint/recommended",
"eslint-config-prettier"
],
"plugins": ["@typescript-eslint"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"rules": {
"indent": [2, "tab"],
"no-tabs": 0,
"semi": [2, "always"],
"quotes": ["error", "double", { "allowTemplateLiterals": true }],
"comma-dangle": "off",
"prettier/prettier": "error",
"json/*": ["error", { "allowComments": true }],
"@typescript-eslint/no-inferrable-types": [
0,
{
"ignoreParameters": true,
"ignoreProperties": true
}
],
"arrow-body-style": "off",
"prefer-arrow-callback": "off",
"no-throw-literal": "off"
}
}