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-07-29 00:31:20 +0400
committerZac Echola <zac.echola@so.mnscu.edu>2014-07-29 00:31:20 +0400
commit3dcc9bff7fb1645ed43a6892d610720da0bbad8c (patch)
treeea09d752eeba6953d9a95b682a471b483e8f9cd5 /README.md
parenta5e6842dd01ac001a6e47090b004e43f15fa8666 (diff)
updating docs. Refs #2
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 6 insertions, 5 deletions
diff --git a/README.md b/README.md
index 1a58e5e..33dcf73 100644
--- a/README.md
+++ b/README.md
@@ -26,10 +26,11 @@ In your project's Gruntfile, add a section named `bootlint` to the data object p
grunt.initConfig({
bootlint: {
options: {
- // Task-specific options go here.
+ stoponerror: false,
+ relaxerror: []
},
- your_target: {
- // Target-specific file lists and/or options go here.
+ files: {
+ ['path/to/file.html', 'path/to/*.html'];
},
},
});
@@ -40,14 +41,14 @@ grunt.initConfig({
### Usage Examples
#### Default Options
-In this example, the default options are used to do something with whatever. So if the `testing` file has the content `Testing` and the `123` file had the content `1 2 3`, the generated result would be `Testing, 1 2 3.`
+In this example, the default options are used to lint two files for common errors in bootstrap.
```js
grunt.initConfig({
bootlint: {
options: {},
files: {
- 'dest/default_options': ['src/testing', 'src/123'],
+ ['test/fixtures/**.html'],
},
},
});