Skip to content

Commit

Permalink
fix: delete unrelated change for this issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
Solo-steven committed Mar 22, 2023
1 parent 0d36ce5 commit 8e7992c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/utils/src/eslint-utils/applyDefault.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ function applyDefault<TUser extends readonly unknown[], TDefault extends TUser>(
(options as unknown[]).forEach((opt: unknown, i: number) => {
if (userOptions[i] !== undefined) {
const userOpt = userOptions[i];

if (isObjectNotArray(userOpt) && isObjectNotArray(opt)) {
options[i] = deepMerge(opt, userOpt);
} else {
Expand Down

0 comments on commit 8e7992c

Please sign in to comment.