From: XhmikosR Date: Tue, 10 Aug 2021 16:03:29 +0000 (+0300) Subject: Enable `unicorn/numeric-separators-style` rule. X-Git-Tag: v5.2.0-beta1~475 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3afe4b8c7dfd06eed6e9ec447ec4c1cfb2a12dd1;p=thirdparty%2Fbootstrap.git Enable `unicorn/numeric-separators-style` rule. This is taken care of by babel via @babel/plugin-proposal-numeric-separator --- 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'