-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
52 lines (52 loc) · 1.51 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
module.exports = {
parserOptions: {
parser: "@typescript-eslint/parser",
sourceType: "module",
},
extends: ["eslint-config-airbnb-base", "plugin:@typescript-eslint/recommended"],
rules: {
"curly": ["error", "all"],
"no-undef": "off",
"indent": "off",
"quotes": "off",
"max-len": "off",
"function-paren-newline": "off",
"implicit-arrow-linebreak": "off",
"comma-dangle": "off",
"object-curly-spacing": "off",
"newline-per-chained-call": "off",
"lines-between-class-members": "off",
"no-use-before-define": "off",
"no-new": "off",
"object-curly-newline": "off",
"no-console": "off",
"no-plusplus": "off",
"arrow-parens": "off",
"no-shadow": "off",
"prefer-destructuring": "off",
"operator-linebreak": "off",
"func-names": ["error", "as-needed"],
"no-confusing-arrow": [
"error",
{
"onlyOneSimpleParam": true,
},
],
"no-param-reassign": [
"error",
{
"props": false,
},
],
"import/prefer-default-export": "off",
"import/no-unresolved": "off",
"import/extensions": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/array-type": [
"error",
{
"default": "array-simple",
},
],
},
};