Skip to content

Commit 4ffd355

Browse files
fix: update unicorn rules
1 parent 7ce18d8 commit 4ffd355

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/plugins/unicorn.ts

+9
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@ export const settings: Linter.Config = {
66
extends: ["plugin:unicorn/recommended"],
77

88
rules: {
9+
// "eslint-comments/no-unlimited-disable" covers this.
10+
"unicorn/no-abusive-eslint-disable": "off",
11+
// "eslint-comments/prefer-tacit" covers this.
12+
"unicorn/no-array-callback-reference": "off",
13+
"unicorn/no-array-reduce": "off",
14+
"unicorn/no-fn-reference-in-iterator": "off",
15+
"unicorn/no-nested-ternary": "off",
16+
"unicorn/no-null": "off",
17+
"unicorn/no-useless-undefined": "off",
918
"unicorn/prevent-abbreviations": "off",
1019
},
1120
};

0 commit comments

Comments
 (0)