Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Commit

Permalink
Charset check (#454)
Browse files Browse the repository at this point in the history
Port W001
  • Loading branch information
Herst authored and XhmikosR committed Aug 18, 2019
1 parent 4ec113f commit 153baa4
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/bootlint.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,6 @@ var LocationIndex = _location.LocationIndex;
allLinters[id] = linterWrapper;
}

/*
addLinter('W001', function lintMetaCharsetUtf8($, reporter) {
var meta = $('head>meta[charset]');
var charset = meta.attr('charset');
Expand All @@ -336,7 +335,6 @@ var LocationIndex = _location.LocationIndex;
reporter('charset `<meta>` tag is specifying a legacy, non-UTF-8 charset', meta);
}
});
*/
/*
addLinter('W003', function lintViewport($, reporter) {
var meta = $('head>meta[name="viewport"][content]');
Expand Down
2 changes: 0 additions & 2 deletions test/bootlint_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ exports.bootlint = {
'should not complain when the legacy-compatibility HTML5 doctype is used.');
test.done();
},
/*
'UTF-8 charset meta tag': function (test) {
test.expect(4);
test.deepEqual(lintHtml(utf8Fixture('charset/utf8.html')),
Expand All @@ -73,7 +72,6 @@ exports.bootlint = {
'should complain when <meta> tag specifies non-UTF-8 charset.');
test.done();
},
*/
/*
'rows outside containers': function (test) {
test.expect(6);
Expand Down
File renamed without changes.

0 comments on commit 153baa4

Please sign in to comment.