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
diff options
context:
space:
mode:
authorfreezy <marek.viger@gmail.com>2015-08-27 20:55:43 +0300
committerfreezy <marek.viger@gmail.com>2015-08-27 20:55:43 +0300
commitbec72c2d4d7fa20fcacad9be4846fb9c7e4aef9e (patch)
tree3fc11c94b54c226fc7307f7a84d4c8a108c55ec9 /Gruntfile.js
parente9e57f8606baa53743e1e54cfa88f187e744000d (diff)
Relaxerror can be defined as object of error IDs and filepath masks
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 28e6401..a1f3e28 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -41,12 +41,18 @@ module.exports = function(grunt) {
},
relaxerror: {
options: {
- relaxerror: ['E001'],
+ relaxerror: {
+ 'E001': [],
+ 'W005': [
+ 'test/fixtures/missing-jquery.html'
+ ]
+ },
},
files: {
'tmp/relaxerror': [
'test/fixtures/missing-doctype.html',
'test/fixtures/missing-charset.html',
+ 'test/fixtures/missing-jquery.html',
]
}
},