Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Nov 1, 2024
1 parent 7b862b3 commit a108407
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/merge/array.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const pushValue = (value, newValueArray, { mutate }) => {
const pushValueMutate = (value, newValueArray) => {
// eslint-disable-next-line fp/no-loops
for (const newValue of newValueArray) {
// eslint-disable-next-line fp/no-mutating-methods
value.push(newValue)
}

Expand All @@ -45,6 +46,7 @@ const unshiftValue = (value, newValueArray, { mutate }) => {
const unshiftValueMutate = (value, newValueArray) => {
// eslint-disable-next-line fp/no-loops, fp/no-let, fp/no-mutation
for (let index = newValueArray.length - 1; index >= 0; index -= 1) {
// eslint-disable-next-line fp/no-mutating-methods
value.unshift(newValueArray[index])
}

Expand Down

0 comments on commit a108407

Please sign in to comment.