diff --git a/src/bootlint.js b/src/bootlint.js
index 80e6c8eb..1cafeadb 100644
--- a/src/bootlint.js
+++ b/src/bootlint.js
@@ -1036,14 +1036,12 @@ var LocationIndex = _location.LocationIndex;
}
});
*/
- /*
addLinter('E045', function lintImgResponsiveOnNonImgs($, reporter) {
- var imgResponsiveNotOnImg = $('.img-responsive:not(img)');
+ var imgResponsiveNotOnImg = $('.img-fluid:not(img)');
if (imgResponsiveNotOnImg.length) {
- reporter('`.img-responsive` should only be used on ``s', imgResponsiveNotOnImg);
+ reporter('`.img-fluid` should only be used on `
`s', imgResponsiveNotOnImg);
}
});
- */
addLinter('E046', function lintModalTabIndex($, reporter) {
var modalsWithoutTabindex = $('.modal:not([tabindex])');
if (modalsWithoutTabindex.length) {
diff --git a/test/bootlint_test.js b/test/bootlint_test.js
index 6d89ef7b..80d2d0bc 100644
--- a/test/bootlint_test.js
+++ b/test/bootlint_test.js
@@ -783,20 +783,18 @@ exports.bootlint = {
test.done();
},
*/
- /*
- '.img-responsive not on image': function (test) {
+ '.img-fluid not on image': function (test) {
test.expect(2);
- test.deepEqual(lintHtml(utf8Fixture('images/img-responsive-bad.html')),
- ['`.img-responsive` should only be used on `
`s'],
- 'should complain about .img-responsive not on an image.'
+ test.deepEqual(lintHtml(utf8Fixture('images/img-fluid-bad.html')),
+ ['`.img-fluid` should only be used on `
`s'],
+ 'should complain about .img-fluid not on an image.'
);
- test.deepEqual(lintHtml(utf8Fixture('images/img-responsive-valid.html')),
+ test.deepEqual(lintHtml(utf8Fixture('images/img-fluid-valid.html')),
[],
- 'should not complain about .img-responsive on an image.'
+ 'should not complain about .img-fluid on an image.'
);
test.done();
},
- */
/*
'btn classes on anchors within .navbar-nav': function (test) {
test.expect(2);
diff --git a/test/_old_fixtures/images/img-responsive-bad.html b/test/fixtures/images/img-fluid-bad.html
similarity index 88%
rename from test/_old_fixtures/images/img-responsive-bad.html
rename to test/fixtures/images/img-fluid-bad.html
index a098964d..491dfa72 100644
--- a/test/_old_fixtures/images/img-responsive-bad.html
+++ b/test/fixtures/images/img-fluid-bad.html
@@ -18,11 +18,11 @@