diff options
| author | XhmikosR <[email protected]> | 2021-08-10 19:03:29 +0300 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2021-09-28 19:05:53 +0300 |
| commit | 65122addeb0a973583b67f10df943094be0e5f6c (patch) | |
| tree | 73ce8eadc699f063c87e521495c09388a9dd6a10 | |
| parent | 0f139791ab8cc1acafdec0ed3f8cfb3b59dd543c (diff) | |
| download | bootstrap-65122addeb0a973583b67f10df943094be0e5f6c.tar.xz bootstrap-65122addeb0a973583b67f10df943094be0e5f6c.zip | |
Enable `unicorn/numeric-separators-style` rule.
This is taken care of by babel via @babel/plugin-proposal-numeric-separator
| -rw-r--r-- | .eslintrc.json | 1 | ||||
| -rw-r--r-- | js/src/util/index.js | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/.eslintrc.json b/.eslintrc.json index 8fbb687ce..1e45281a2 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 945913547..13ef3d8c0 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' |
