Skip to content

Commit

Permalink
chore(lint): fix unicorn/numeric-separators-style
Browse files Browse the repository at this point in the history
  • Loading branch information
dnalborczyk committed Jan 2, 2023
1 parent 4578992 commit 634b159
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ module.exports = {
'unicorn/no-unreadable-array-destructuring': 'off',
'unicorn/no-useless-promise-resolve-reject': 'off',
'unicorn/no-useless-undefined': 'off',
'unicorn/numeric-separators-style': 'off',
'unicorn/prefer-module': 'off',
'unicorn/prefer-number-properties': 'off',
'unicorn/prefer-regexp-test': 'off',
Expand Down
2 changes: 1 addition & 1 deletion src/utils/__tests__/createUniqueId.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import createUniqueId from '../createUniqueId.js'

describe('createUniqueId', () => {
it('should be unique', () => {
const items = 100000
const items = 100_000
const set = new Set(Array.from(new Array(items)).map(createUniqueId))

assert.equal(set.size, items)
Expand Down
2 changes: 1 addition & 1 deletion tests/manual/nodejs/subprocess.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ subprocess.stdout.pipe(process.stdout)
setTimeout(() => {
console.log('Stopping main process and sending SIGTERM to subprocess...')
subprocess.kill()
}, 10000)
}, 10_000)
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ describe('Python 3 tests', function desc() {
expected: Array.from(new Array(1000)).map((_, index) => ({
a: index,
b: true,
c: 1234567890,
c: 1_234_567_890,
d: 'foo',
})),
path: '/dev/hello',
Expand Down

0 comments on commit 634b159

Please sign in to comment.