-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
56 lines (56 loc) · 1.47 KB
/
.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"$schema": "https://json.schemastore.org/eslintrc",
"env": {
"node": true,
"jest": true,
"browser": true,
"es2021": true
},
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
"standard-with-typescript"
],
"overrides": [
{
"files": ["*.ts", "*.tsx"],
"extends": ["plugin:@typescript-eslint/recommended"]
}
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2021,
"project": "tsconfig.json",
"sourceType": "module"
},
"plugins": ["@typescript-eslint", "prettier"],
"rules": {
"quotes": [2, "double"],
"semi": [2, "always"],
"indent": 0,
"comma-dangle": 0,
"no-unused-vars": 2,
"@typescript-eslint/quotes": [2, "double"],
"@typescript-eslint/semi": [2, "always"],
"@typescript-eslint/indent": 0,
"@typescript-eslint/comma-dangle": 0,
"@typescript-eslint/interface-name-prefix": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/explicit-module-boundary-types": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-useless-constructor": 0,
"@typescript-eslint/space-before-function-paren": 0,
"prettier/prettier": [
2,
{
"semi": true,
"tabWidth": 2,
"printWidth": 80,
"endOfLine": "auto",
"singleQuote": false,
"singleAttributesPerLine": true,
"trailingComma": "all"
}
]
}
}