Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/grunt-bootlint.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tasks
diff options
context:
space:
mode:
authorZac Echola <zac.echola@so.mnscu.edu>2014-08-19 21:48:10 +0400
committerZac Echola <zac.echola@so.mnscu.edu>2014-08-19 21:48:10 +0400
commitae31bb28f74b306437ca6cb34662935c3910434e (patch)
tree2621a21eb9b304f8af212e2c0b0675f39496ac68 /tasks
parent0efc199cf011d002c4e943a68856cef804633a6b (diff)
unit test the things
Diffstat (limited to 'tasks')
-rw-r--r--tasks/bootlint.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/tasks/bootlint.js b/tasks/bootlint.js
index fc400e7..aa10abb 100644
--- a/tasks/bootlint.js
+++ b/tasks/bootlint.js
@@ -25,13 +25,14 @@ module.exports = function(grunt) {
done: 'All Done!'.bold.ok
};
- var totalErrCount = 0;
grunt.registerMultiTask('bootlint', 'An HTML linter for Bootstrap projects', function() {
var options = this.options({
- stoponerror: false
+ stoponerror: false,
+ relaxerror: []
});
+ var totalErrCount = 0;
// Iterate over all specified file groups.
this.files.forEach(function(f) {