-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
34 lines (34 loc) · 1.19 KB
/
.eslintrc
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
{
"rules": {
"unicorn/no-abusive-eslint-disable": "off",
"unicorn/no-array-for-each": "off",
"unicorn/no-array-callback-reference": "off",
"unicorn/prefer-module": "off",
"unicorn/no-array-reduce": "off",
"unicorn/consistent-function-scoping": ["error", { "checkArrowFunctions": false }],
"@typescript-eslint/ban-ts-ignore": "off",
"@typescript-eslint/ban-ts-comment": "off",
"unicorn/prefer-node-protocol": "off",
"unicorn/import-style": "off",
"valid-jsdoc": "off",
"max-params": ["error", 8],
"object-curly-spacing": "off",
"import/no-unresolved": "error",
"node/no-missing-import": "off", // We have other rules for this.
"no-template-curly-in-string": "off", // We use this for clone-and-fill
"complexity": ["error", 35],
"prefer-const": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"no-negated-condition": "off"
},
"extends": ["oclif", "oclif-typescript", "plugin:import/errors", "plugin:import/warnings", "prettier"],
"settings": {
"import/parsers": {
"@typescript-eslint/parser": [".ts", ".tsx"]
},
"import/resolver": {
"babel-module": {},
"typescript": {}
}
}
}