1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-10-02 00:06:46 +02:00

Minor lint tweaks and rules cleanup

This commit is contained in:
XhmikosR
2020-05-08 19:19:14 +03:00
parent 53eace04df
commit eb720f20ff
14 changed files with 9 additions and 18 deletions

View File

@@ -1,5 +1,4 @@
/* eslint-env node */
/* eslint no-process-env: 0 */
const path = require('path')
const ip = require('ip')

View File

@@ -826,7 +826,6 @@ $(function () {
'</div>'
].join('')).appendTo('#qunit-fixture')
$modal.on('shown.bs.modal', function () {
assert.strictEqual($modal.scrollTop(), 0)
done()

View File

@@ -208,7 +208,6 @@ $(function () {
.bootstrapToast('show')
})
QUnit.test('should close toast when close element with data-dismiss attribute is set', function (assert) {
assert.expect(2)
var done = assert.async()

View File

@@ -63,7 +63,6 @@ $(function () {
Util.typeCheckConfig(namePlugin, config, defaultType)
// eslint-disable-next-line
config.toggle = undefined
Util.typeCheckConfig(namePlugin, config, defaultType)