aboutsummaryrefslogtreecommitdiff
path: root/js/src
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2019-09-02 12:44:19 +0300
committerGitHub <[email protected]>2019-09-02 12:44:19 +0300
commit6cb4ebc04870df30d5b6ec528ffcb84a07ab48c5 (patch)
tree34fb437acea06afd887a15054e50f12bb8d7e97e /js/src
parent6f1eb110e7c39dc2fb7e2126248b320519ae037a (diff)
downloadbootstrap-6cb4ebc04870df30d5b6ec528ffcb84a07ab48c5.tar.xz
bootstrap-6cb4ebc04870df30d5b6ec528ffcb84a07ab48c5.zip
ESLint: specify `--report-unused-disable-directives` (#29350)
Diffstat (limited to 'js/src')
-rw-r--r--js/src/util/index.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/js/src/util/index.js b/js/src/util/index.js
index 746ee608b..150b4f877 100644
--- a/js/src/util/index.js
+++ b/js/src/util/index.js
@@ -20,7 +20,6 @@ const toType = obj => ({}.toString.call(obj).match(/\s([a-z]+)/i)[1].toLowerCase
const getUID = prefix => {
do {
- // eslint-disable-next-line no-bitwise
prefix += ~~(Math.random() * MAX_UID) // "~~" acts like a faster Math.floor() here
} while (document.getElementById(prefix))
@@ -170,7 +169,6 @@ const findShadowRoot = element => {
return findShadowRoot(element.parentNode)
}
-// eslint-disable-next-line no-empty-function
const noop = () => function () {}
const reflow = element => element.offsetHeight