mirror of
https://github.com/ExactTarget/fuelux.git
synced 2026-01-10 06:57:56 -05:00
replace java based html linter grunt-html w/ node linter grunt-htmllint
This commit is contained in:
7
.htmllintrc
Normal file
7
.htmllintrc
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"attr-bans": [],
|
||||
"attr-name-style": false,
|
||||
"id-class-style": false,
|
||||
"line-end-style": false,
|
||||
"label-req-for": false
|
||||
}
|
||||
@@ -2,10 +2,6 @@ language: node_js
|
||||
node_js:
|
||||
- 6.8.1
|
||||
sudo: false
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- oracle-java8-installer
|
||||
install:
|
||||
- time npm install
|
||||
- time ./node_modules/bower/bin/bower update
|
||||
|
||||
@@ -1,11 +1,7 @@
|
||||
module.exports = {
|
||||
options: {
|
||||
ignore:[
|
||||
'Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections.',
|
||||
'Bad value X-UA-Compatible for attribute http-equiv on element meta.',
|
||||
'Element head is missing a required instance of child element title.'
|
||||
],
|
||||
force: true
|
||||
force: true,
|
||||
htmllintrc: true
|
||||
},
|
||||
src: ['index.html', 'markup/*.html', 'test/markup/*.html']
|
||||
};
|
||||
};
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
"grunt-contrib-qunit": "1.2.0",
|
||||
"grunt-contrib-uglify": "2.0.0",
|
||||
"grunt-contrib-watch": "1.0.0",
|
||||
"grunt-html": "5.0.1",
|
||||
"grunt-htmllint": "^0.2.7",
|
||||
"grunt-jsbeautifier": "0.2.13",
|
||||
"grunt-prompt": "1.3.3",
|
||||
"grunt-saucelabs": "9.0.0",
|
||||
|
||||
@@ -62,32 +62,32 @@
|
||||
</div>
|
||||
<div class="repeater-footer-right">
|
||||
<div class="repeater-pagination">
|
||||
<button type="button" class="btn btn-default btn-sm repeater-prev">
|
||||
<span class="glyphicon glyphicon-chevron-left"></span>
|
||||
<span class="sr-only">Previous Page</span>
|
||||
</button>
|
||||
<label id="MyPageLabel1" class="page-label">Page</label>
|
||||
<div class="repeater-primaryPaging active">
|
||||
<div class="input-group input-append dropdown combobox">
|
||||
<input type="text" class="form-control" aria-labelledby="MyPageLabel1">
|
||||
<div class="input-group-btn">
|
||||
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="caret"></span>
|
||||
<span class="sr-only">Toggle Dropdown</span>
|
||||
</button>
|
||||
<ul class="dropdown-menu dropdown-menu-right"></ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<input type="text" class="form-control repeater-secondaryPaging" aria-labelledby="MyPageLabel1">
|
||||
<span>of <span class="repeater-pages"></span></span>
|
||||
<button type="button" class="btn btn-default btn-sm repeater-next">
|
||||
<span class="glyphicon glyphicon-chevron-right"></span>
|
||||
<span class="sr-only">Next Page</span>
|
||||
</button>
|
||||
<button type="button" class="btn btn-default btn-sm repeater-prev">
|
||||
<span class="glyphicon glyphicon-chevron-left"></span>
|
||||
<span class="sr-only">Previous Page</span>
|
||||
</button>
|
||||
<label id="MyPageLabel1" class="page-label">Page</label>
|
||||
<div class="repeater-primaryPaging active">
|
||||
<div class="input-group input-append dropdown combobox">
|
||||
<input type="text" class="form-control" aria-labelledby="MyPageLabel1">
|
||||
<div class="input-group-btn">
|
||||
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="caret"></span>
|
||||
<span class="sr-only">Toggle Dropdown</span>
|
||||
</button>
|
||||
<ul class="dropdown-menu dropdown-menu-right"></ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<input type="text" class="form-control repeater-secondaryPaging" aria-labelledby="MyPageLabel1">
|
||||
<span>of <span class="repeater-pages"></span></span>
|
||||
<button type="button" class="btn btn-default btn-sm repeater-next">
|
||||
<span class="glyphicon glyphicon-chevron-right"></span>
|
||||
<span class="sr-only">Next Page</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user