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:
-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