forked from inferno-framework/inferno-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
38 lines (38 loc) · 1.16 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
{
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:prettier/recommended"
],
"overrides": [{
"files": ["**/*.test.tsx"],
"rules": {
"@typescript-eslint/no-empty-function": ["off"],
"@typescript-eslint/no-unsafe-assignment": ["off"],
"@typescript-eslint/no-explicit-any": ["off"]
}
}],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "tsconfig.json",
"sourceType": "module"
},
"rules": {
"@typescript-eslint/brace-style": "error",
"@typescript-eslint/func-call-spacing": "error",
"@typescript-eslint/no-require-imports": "error",
"@typescript-eslint/no-unnecessary-qualifier": "error",
"@typescript-eslint/semi": "error",
"brace-style": "off",
"func-call-spacing": "off",
"max-len": ["warn", { "code": 100, "ignoreStrings": true }],
"semi": "off",
"no-nested-ternary": "error",
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }]
}
}