diff options
author | freezy <marek.viger@gmail.com> | 2015-08-27 20:55:43 +0300 |
---|---|---|
committer | freezy <marek.viger@gmail.com> | 2015-08-27 20:55:43 +0300 |
commit | bec72c2d4d7fa20fcacad9be4846fb9c7e4aef9e (patch) | |
tree | 3fc11c94b54c226fc7307f7a84d4c8a108c55ec9 /Gruntfile.js | |
parent | e9e57f8606baa53743e1e54cfa88f187e744000d (diff) |
Relaxerror can be defined as object of error IDs and filepath masks
Diffstat (limited to 'Gruntfile.js')
-rw-r--r-- | Gruntfile.js | 8 |
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', ] } }, |