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:
authorZac Echola <zac.echola@so.mnscu.edu>2014-11-15 00:03:15 +0300
committerZac Echola <zac.echola@so.mnscu.edu>2014-11-15 00:03:15 +0300
commitfdde37b0043df98a5583d5287ffdb3452d2c6450 (patch)
tree81badee6d09a018805cffc28a5da5e92ef3d8e9f /README.md
parent85f669d2b328a2f53d2a9ea7eb2a5b7774a63e70 (diff)
adds documenation for stoponwarning, clarifies stoponerror
Diffstat (limited to 'README.md')
-rw-r--r--README.md37
1 files changed, 36 insertions, 1 deletions
diff --git a/README.md b/README.md
index 140d105..3c3ccda 100644
--- a/README.md
+++ b/README.md
@@ -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