-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
41 lines (41 loc) · 1.13 KB
/
.eslintrc
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
{
"root": true,
"extends": ["eslint:recommended", "prettier", "standard"],
"plugins": ["prettier"],
"ignorePatterns": ["dist", "node_modules"],
"rules": {
"no-async-promise-executor": "off",
"no-unsafe-finally": "off",
"no-extra-semi": "off",
"prettier/prettier": ["error"],
"no-console": "off",
"comma-dangle": "off",
"multiline-ternary": "off",
"no-use-before-define": "off",
"indent": "off"
},
"overrides": [
{
"files": ["*.{ts,tsx}"],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": ["plugin:@typescript-eslint/recommended"],
"rules": {
"@typescript-eslint/no-extra-semi": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/naming-convention": [
"warn",
{
"selector": "function",
"format": ["PascalCase", "camelCase"]
},
{
"selector": "interface",
"format": ["PascalCase", "camelCase", "snake_case"]
}
],
"@typescript-eslint/no-explicit-any": "off"
}
}
]
}