diff options
author | Zac Echola <zac.echola@so.mnscu.edu> | 2014-11-15 00:03:15 +0300 |
---|---|---|
committer | Zac Echola <zac.echola@so.mnscu.edu> | 2014-11-15 00:03:15 +0300 |
commit | fdde37b0043df98a5583d5287ffdb3452d2c6450 (patch) | |
tree | 81badee6d09a018805cffc28a5da5e92ef3d8e9f /README.md | |
parent | 85f669d2b328a2f53d2a9ea7eb2a5b7774a63e70 (diff) |
adds documenation for stoponwarning, clarifies stoponerror
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 37 |
1 files changed, 36 insertions, 1 deletions
@@ -53,6 +53,7 @@ grunt.initConfig({ bootlint: { options: { stoponerror: false, + stoponwarning: false, relaxerror: [] }, files: ['test/fixtures/**.html'], @@ -67,7 +68,41 @@ grunt.initConfig({ * Type: `Boolean` * Default: `false` -Breaks out of grunt task on first error. Use `--force` to force continue. +Breaks out of grunt task on first error problem ID. Use `--force` to force continue. + +Example: + +```javascript +grunt.initConfig({ + bootlint: { + options: { + stoponerror: true + }, + files: ['test/fixtures/**.html'], + }, +}); +``` + +#### options.stoponwarning + +* Type: `Boolean` +* Default: `false` + +Breaks out of grunt task on first warning problem ID. Use `--force` to force continue. + +Example: + +```javascript +grunt.initConfig({ + bootlint: { + options: { + stoponwarning: true + }, + files: ['test/fixtures/**.html'], + }, +}); +``` + #### options.relaxerror |