diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 56cc67455..c4c923004 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -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', diff --git a/src/utils/__tests__/createUniqueId.test.js b/src/utils/__tests__/createUniqueId.test.js index b2f5fc187..bdeeb89af 100644 --- a/src/utils/__tests__/createUniqueId.test.js +++ b/src/utils/__tests__/createUniqueId.test.js @@ -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) diff --git a/tests/manual/nodejs/subprocess.js b/tests/manual/nodejs/subprocess.js index 7b6a0277c..662f678d9 100644 --- a/tests/manual/nodejs/subprocess.js +++ b/tests/manual/nodejs/subprocess.js @@ -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) diff --git a/tests/runtimes/python/python-big-json/python-big-json.test.js b/tests/runtimes/python/python-big-json/python-big-json.test.js index 7cc8fcbc1..914fcc9c2 100644 --- a/tests/runtimes/python/python-big-json/python-big-json.test.js +++ b/tests/runtimes/python/python-big-json/python-big-json.test.js @@ -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',