-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
58 lines (58 loc) · 1.83 KB
/
index.js
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
56
57
58
module.exports = {
extends: [
"eslint-config-airbnb-base",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
],
env: {
"browser": true,
"node": true,
},
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint", "prettier"],
settings: {
"import/parsers": {
"@typescript-eslint/parser": [".ts"]
},
"import/resolver": {
typescript: {}
}
},
rules: {
"@typescript-eslint/ban-ts-ignore": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/indent": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-parameter-properties": "off",
"@typescript-eslint/no-this-alias": "off",
"class-methods-use-this": "off",
"eqeqeq": "off",
"import/extensions": "off",
"import/no-cycle": "off",
"import/no-extraneous-dependencies": "off",
"import/prefer-default-export": "off",
"indent": ["error", 4],
"linebreak-style": "off",
"lines-between-class-members": "off",
"max-classes-per-file": "off",
"no-await-in-loop": "off",
"no-bitwise": "off",
"no-case-declarations": "off",
"no-constant-condition": "off",
"no-empty-function": "off",
"no-multi-str": "off",
"no-nested-ternary": "off",
"no-param-reassign": "off",
"no-plusplus": "off",
"no-prototype-builtins": "off",
"no-restricted-syntax": "off",
"no-underscore-dangle": "off",
"no-useless-constructor": "off",
"quotes": ["error", "double"],
"radix": "off",
"semi": ['error', 'always'],
},
overrides: [{
files: ["*.ts"],
}]
};