forked from inferno-framework/inferno-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
30 lines (30 loc) · 950 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
{
"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"
],
"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": "^_" }]
}
}