diff options
author | Zac Echola <zac.echola@so.mnscu.edu> | 2014-07-29 00:31:20 +0400 |
---|---|---|
committer | Zac Echola <zac.echola@so.mnscu.edu> | 2014-07-29 00:31:20 +0400 |
commit | 3dcc9bff7fb1645ed43a6892d610720da0bbad8c (patch) | |
tree | ea09d752eeba6953d9a95b682a471b483e8f9cd5 /README.md | |
parent | a5e6842dd01ac001a6e47090b004e43f15fa8666 (diff) |
updating docs. Refs #2
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -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'], }, }, }); |