Skip to content

Commit 634b159

Browse files
committed
chore(lint): fix unicorn/numeric-separators-style
1 parent 4578992 commit 634b159

4 files changed

Lines changed: 3 additions & 4 deletions

File tree

.eslintrc.cjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ module.exports = {
8585
'unicorn/no-unreadable-array-destructuring': 'off',
8686
'unicorn/no-useless-promise-resolve-reject': 'off',
8787
'unicorn/no-useless-undefined': 'off',
88-
'unicorn/numeric-separators-style': 'off',
8988
'unicorn/prefer-module': 'off',
9089
'unicorn/prefer-number-properties': 'off',
9190
'unicorn/prefer-regexp-test': 'off',

src/utils/__tests__/createUniqueId.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import createUniqueId from '../createUniqueId.js'
33

44
describe('createUniqueId', () => {
55
it('should be unique', () => {
6-
const items = 100000
6+
const items = 100_000
77
const set = new Set(Array.from(new Array(items)).map(createUniqueId))
88

99
assert.equal(set.size, items)

tests/manual/nodejs/subprocess.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ subprocess.stdout.pipe(process.stdout)
1212
setTimeout(() => {
1313
console.log('Stopping main process and sending SIGTERM to subprocess...')
1414
subprocess.kill()
15-
}, 10000)
15+
}, 10_000)

tests/runtimes/python/python-big-json/python-big-json.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ describe('Python 3 tests', function desc() {
2525
expected: Array.from(new Array(1000)).map((_, index) => ({
2626
a: index,
2727
b: true,
28-
c: 1234567890,
28+
c: 1_234_567_890,
2929
d: 'foo',
3030
})),
3131
path: '/dev/hello',

0 commit comments

Comments
 (0)