forked from drendog/Logic-Circuit-Simulator
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.eslintrc.json
55 lines (55 loc) · 1.7 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
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"project": [
"./tsconfig.json"
]
},
"plugins": [
// "i18n-text",
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"@typescript-eslint/no-unused-vars": [
"warn",
{
"varsIgnorePattern": "__",
"argsIgnorePattern": "__"
}
],
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"semi": "off",
"@typescript-eslint/semi": [
"error",
"never"
],
"@typescript-eslint/no-explicit-any": "off",
// "@typescript-eslint/class-name-casing": "warn",
// "@typescript-eslint/explicit-function-return-type": ["error"],
"@typescript-eslint/prefer-for-of": "warn",
"@typescript-eslint/switch-exhaustiveness-check": "error",
"comma-dangle": [
"error",
"always-multiline"
],
"curly": "warn",
"eqeqeq": "warn",
"no-throw-literal": "warn",
"prefer-named-capture-group": "off",
"no-unexpected-multiline": "error",
// "i18n-text/no-en": 2,
"@typescript-eslint/strict-boolean-expressions": "error",
"@typescript-eslint/explicit-member-accessibility": "error",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/no-inferrable-types": "off"
}
}