From 3afe4b8c7dfd06eed6e9ec447ec4c1cfb2a12dd1 Mon Sep 17 00:00:00 2001 From: XhmikosR <xhmikosr@gmail.com> Date: Tue, 10 Aug 2021 19:03:29 +0300 Subject: [PATCH] Enable `unicorn/numeric-separators-style` rule. This is taken care of by babel via @babel/plugin-proposal-numeric-separator --- .eslintrc.json | 1 - js/src/util/index.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 8fbb687ce0..1e45281a27 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -54,7 +54,6 @@ "unicorn/no-array-method-this-argument": "off", "unicorn/no-null": "off", "unicorn/no-unused-properties": "error", - "unicorn/numeric-separators-style": "off", "unicorn/prefer-array-flat": "off", "unicorn/prefer-dom-node-dataset": "off", "unicorn/prefer-module": "off", diff --git a/js/src/util/index.js b/js/src/util/index.js index 9cee979dfc..0ac4ed2636 100644 --- a/js/src/util/index.js +++ b/js/src/util/index.js @@ -5,7 +5,7 @@ * -------------------------------------------------------------------------- */ -const MAX_UID = 1000000 +const MAX_UID = 1_000_000 const MILLISECONDS_MULTIPLIER = 1000 const TRANSITION_END = 'transitionend'