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 ea33891 commit 5933e3c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/parse/query.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ const addQueryArray = (state) => {
addToken(state)
}

// eslint-disable-next-line fp/no-mutating-methods
state.arrays.push(state.array)
resetQueryArrayState(state)
}
Expand All @@ -65,6 +66,7 @@ const addToken = (state) => {
state.onlyDots = hasOnlyDots(state)
const tokenType = getStringTokenType(state.chars, state.isProp)
const token = tokenType.normalize(tokenType.parse(state.chars))
// eslint-disable-next-line fp/no-mutating-methods
state.array.push(token)
resetTokenState(state)
}
Expand Down

0 comments on commit 5933e3c

Please sign in to comment.