Skip to content

Commit 5b42cde

Browse files
committed
fix!: enable no-object-constructor instead deprecated no-new-object
1 parent cf2ca94 commit 5b42cde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/configs/base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ export const base = merge(js.configs.recommended, {
7373
"no-loop-func": 2,
7474
"no-multi-str": 2,
7575
"no-new-func": 2,
76-
"no-new-object": 2,
7776
"no-new-wrappers": 2,
77+
"no-object-constructor": 2,
7878
"no-octal-escape": 2,
7979
// want to warn only props...
8080
// "no-param-reassign": [2, {"props": true}],

0 commit comments

Comments
 (0)