Skip to content

Commit e3601f2

Browse files
committed
chore(lint): fix unicorn/better-regex
1 parent 634b159 commit e3601f2

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.eslintrc.cjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ module.exports = {
6565
},
6666
],
6767
// unicorn temp off
68-
'unicorn/better-regex': 'off',
6968
'unicorn/catch-error-name': 'off',
7069
'unicorn/consistent-destructuring': 'off',
7170
'unicorn/consistent-function-scoping': 'off',

src/utils/__tests__/formatToClfTime.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ describe('formatToClfTime', () => {
99
const result = formatToClfTime(millis)
1010

1111
// expected: 17/Dec/1995:03:24:00 -0500 (with varying offset)
12-
assert.match(result, /([\w:/]+\s[+-]\d{4})/)
12+
assert.match(result, /([\w/:]+\s[+-]\d{4})/)
1313
})
1414
})

0 commit comments

Comments
 (0)