зеркало из https://github.com/twbs/bootlint.git
v0.0.1, to grab the npm entry
This commit is contained in:
Родитель
82263e83eb
Коммит
9c587e3cca
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "bootlint",
|
"name": "bootlint",
|
||||||
"version": "0.0.0",
|
"version": "0.0.1",
|
||||||
"description": "HTML linter for Bootstrap projects",
|
"description": "HTML linter for Bootstrap projects",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"bootstrap",
|
"bootstrap",
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
function isDoctype(node) {
|
function isDoctype(node) {
|
||||||
return node.type == 'directive' && node.name == '!doctype';
|
return node.type === 'directive' && node.name === '!doctype';
|
||||||
}
|
}
|
||||||
|
|
||||||
exports.lintDoctype = function ($) {
|
exports.lintDoctype = function ($) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче