forked from scena360/sim360
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
51 lines (51 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
{
"extends": ["airbnb-base", "plugin:@typescript-eslint/recommended"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"plugins": ["@typescript-eslint/eslint-plugin"],
"rules": {
"class-methods-use-this": "off",
"import/no-unresolved": "off",
"no-underscore-dangle": "off",
"object-curly-newline": "off",
"import/prefer-default-export": "off",
"import/extensions": "off",
"ter-arrow-parens": "off",
"func-names": "off",
"camelcase": "off",
"arrow-parens": "off",
"lines-between-class-members": "off",
"no-param-reassign": "off",
"arrow-body-style": "off",
"prefer-destructuring": "off",
"no-useless-catch": "off",
"prefer-template": "off",
"max-classes-per-file": "off",
"function-paren-newline": "off",
"operator-linebreak": "off",
"no-useless-concat": "off",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/interface-name-prefix": "off",
"@typescript-eslint/camelcase": "off",
"@typescript-eslint/no-inferrable-types": "off",
"@typescript-eslint/member-delimiter-style": "off",
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
"no-shadow": "off", // replaced by ts-eslint rule below
"@typescript-eslint/no-shadow": "error"
},
"overrides": [
{
"files": ["**/*.js"],
"rules": {
"@typescript-eslint/camelcase": "off",
"@typescript-eslint/explicit-function-return-type": "off"
}
}
]
}