Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2021-08-10 19:03:29 +0300
committerXhmikosR <xhmikosr@gmail.com>2021-10-05 19:52:11 +0300
commit3afe4b8c7dfd06eed6e9ec447ec4c1cfb2a12dd1 (patch)
tree75252f5c01e7267c164f8189c099b3eb62e15881
parent567a41347e0c0d6e46ca59c93887218dcce50ba7 (diff)
Enable `unicorn/numeric-separators-style` rule.
This is taken care of by babel via @babel/plugin-proposal-numeric-separator
-rw-r--r--.eslintrc.json1
-rw-r--r--js/src/util/index.js2
2 files changed, 1 insertions, 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'