-
Notifications
You must be signed in to change notification settings - Fork 57
/
.eslintrc.json
55 lines (55 loc) · 1.33 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
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
"project": "./tsconfig.json"
},
"plugins": [
"@typescript-eslint",
"deprecation"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"ignorePatterns": [
"build/**/*.ts",
"**/*.js",
"website"
],
"rules": {
"no-prototype-builtins": 0,
"no-unused-vars": 0,
"newline-before-return": 1,
"@typescript-eslint/no-unused-vars": [
"warn",
{
"args": "none"
}
],
"@typescript-eslint/ban-ts-ignore": 0,
"@typescript-eslint/camelcase": 0,
"@typescript-eslint/explicit-function-return-type": 1,
"@typescript-eslint/explicit-member-accessibility": [
"warn",
{
"overrides": {
"constructors": "no-public"
}
}
],
"@typescript-eslint/interface-name-prefix": 0,
"@typescript-eslint/no-explicit-any": 0,
"semi": 0,
"@typescript-eslint/semi": 2,
"quotes": 0,
"@typescript-eslint/quotes": 2,
"no-duplicate-imports": 2,
"@typescript-eslint/explicit-module-boundary-types": 0,
"@typescript-eslint/triple-slash-reference": 0,
"no-trailing-spaces": 2,
"deprecation/deprecation": 2
}
}