File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import typescriptEslint from "@typescript-eslint/eslint-plugin"
33import eslintComments from "eslint-plugin-eslint-comments"
44import node from "eslint-plugin-n"
55import nodeDeps from "eslint-plugin-node-dependencies"
6+ import unicorn from "eslint-plugin-unicorn"
67import tsParser from "@typescript-eslint/parser"
78import jsonParser from "jsonc-eslint-parser"
89import path from "node:path"
@@ -114,6 +115,7 @@ export default [
114115 "@typescript-eslint" : typescriptEslint ,
115116 "eslint-comments" : eslintComments ,
116117 node,
118+ unicorn,
117119 } ,
118120
119121 languageOptions : {
@@ -779,6 +781,8 @@ export default [
779781 ] ,
780782 } ,
781783 ] ,
784+
785+ "unicorn/no-useless-fallback-in-spread" : [ "error" ] ,
782786 } ,
783787 } ,
784788 {
Original file line number Diff line number Diff line change 4747 "eslint-plugin-n" : " ^17.15.1" ,
4848 "eslint-plugin-node-dependencies" : " ^0.12.0" ,
4949 "eslint-plugin-prettier" : " ^5.2.3" ,
50+ "eslint-plugin-unicorn" : " ^57.0.0" ,
5051 "fs-extra" : " ^10.0.0" ,
5152 "jsonc-eslint-parser" : " ^2.0.3" ,
5253 "mocha" : " ^9.1.3" ,
You can’t perform that action at this time.
0 commit comments