Skip to content

Commit

Permalink
refactor: prefix unused params with underscores (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs authored Jan 4, 2025
1 parent 242ea46 commit c5bbcce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/formatDate.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
'use strict'

const TWO_PADDED_NUMBERS = new Array(60).fill(0).map((v, i) => i.toString().padStart(2, '0'))
const THREE_PADDED_NUMBERS = new Array(1000).fill(0).map((v, i) => i.toString().padStart(3, '0'))
const TWO_PADDED_NUMBERS = new Array(60).fill(0).map((_v, i) => i.toString().padStart(2, '0'))
const THREE_PADDED_NUMBERS = new Array(1000).fill(0).map((_v, i) => i.toString().padStart(3, '0'))

const MONTH_LOOKUP = new Array(12).fill(0).map((v, i) => (i + 1).toString().padStart(2, '0'))
const MONTH_LOOKUP = new Array(12).fill(0).map((_v, i) => (i + 1).toString().padStart(2, '0'))
const TZ_OFFSET_LOOKUP = {}

for (let i = -900; i < 900; i += 15) {
Expand Down
2 changes: 1 addition & 1 deletion test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ after(() => {
unmockTime()
})

test('able to instantiate target without arguments', (t) => {
test('able to instantiate target without arguments', () => {
target()
})

Expand Down

0 comments on commit c5bbcce

Please sign in to comment.