diff --git a/src/bootlint.js b/src/bootlint.js index eeda4280..298f51ae 100644 --- a/src/bootlint.js +++ b/src/bootlint.js @@ -338,17 +338,6 @@ var LocationIndex = _location.LocationIndex; }); */ /* - addLinter('W002', function lintXUaCompatible($, reporter) { - var meta = $([ - 'head>meta[http-equiv="X-UA-Compatible"][content="IE=edge"]', - 'head>meta[http-equiv="x-ua-compatible"][content="ie=edge"]' - ].join(',')); - if (!meta.length) { - reporter('`
` is missing X-UA-Compatible `` tag that disables old IE compatibility modes'); - } - }); - */ - /* addLinter('W003', function lintViewport($, reporter) { var meta = $('head>meta[name="viewport"][content]'); if (!meta.length) { @@ -496,14 +485,6 @@ var LocationIndex = _location.LocationIndex; }); }); /* - addLinter('W010', function lintMediaPulls($, reporter) { - var mediaPulls = $('.media>.pull-left, .media>.pull-right'); - if (mediaPulls.length) { - reporter('Using `.pull-left` or `.pull-right` as part of the media object component is deprecated as of Bootstrap v3.3.0. Use `.media-left` or `.media-right` instead.'); - } - }); - */ - /* addLinter('W012', function lintNavbarContainers($, reporter) { var navBars = $('.navbar'); var containers = [ @@ -564,36 +545,6 @@ var LocationIndex = _location.LocationIndex; }); */ /* - addLinter('W015', function lintNewBootstrap($, reporter) { - var FUTURE_VERSION_ERROR = 'Detected what appears to be Bootstrap v4 or later. This version of Bootlint only supports Bootstrap v3.'; - var theWindow = getBrowserWindowObject(); - - var globaljQuery = theWindow && (theWindow.$ || theWindow.jQuery); - // @covignore - if (globaljQuery) { - var versions = jqueryPluginVersions(globaljQuery); - if (versions.length) { - var minVersion = versions[0]; - if (semver.gte(minVersion, BOOTSTRAP_VERSION_4, true)) { - reporter(FUTURE_VERSION_ERROR); - return; - } - } - } - // check for Bootstrap s and - - - - - - - - - - -