Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Mar 6, 2022
1 parent 7162847 commit 6143dda
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/config/normalize/lib/star_dot_path/tokens/regexp.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ const normalize = function (token) {
return token
}

// Check if two tokens are the same
const equals = function (tokenA, tokenB) {
return tokenA.source === tokenB.source && tokenA.flags === tokenB.flags
}

// Use the token to list entries against a target value.
// eslint-disable-next-line max-params
const getEntries = function (value, path, token, defined) {
Expand All @@ -51,11 +56,6 @@ const getEntries = function (value, path, token, defined) {
}))
}

// Check if two tokens are the same
const equals = function (tokenA, tokenB) {
return tokenA.source === tokenB.source && tokenA.flags === tokenB.flags
}

export const REGEXP_TOKEN = {
testObject,
serialize,
Expand Down

0 comments on commit 6143dda

Please sign in to comment.