Skip to content

Commit

Permalink
Ignore linting errors for hex table
Browse files Browse the repository at this point in the history
  • Loading branch information
chjj committed Jan 31, 2024
1 parent 3288d7d commit e320c87
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2123,6 +2123,7 @@ const hexSliceLookupTable = (function () {
})()

// hex lookup table for Buffer.from(x, 'hex')
/* eslint-disable no-multi-spaces, indent */
const hexCharValueTable = [
-1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1,
Expand All @@ -2141,6 +2142,7 @@ const hexCharValueTable = [
-1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1
]
/* eslint-enable no-multi-spaces, indent */

// Return not function with Error if BigInt not supported
function defineBigIntMethod (fn) {
Expand Down

0 comments on commit e320c87

Please sign in to comment.