Skip to content

Commit

Permalink
Merge pull request #116 from bronzehedwick/patch-1
Browse files Browse the repository at this point in the history
Add syntax highlighting to readme code snippet
  • Loading branch information
spalger committed Aug 21, 2015
2 parents 599f236 + a57a3f2 commit 1a78c43
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,14 @@ You can pass in any other options and it passes them straight to JSHint. Look at

For example, to load your configuration from your `package.json` exclusively and avoid lookup overhead you can do:

var packageJSON = require('./package');
var jshintConfig = packageJSON.jshintConfig;
```js
var packageJSON = require('./package');
var jshintConfig = packageJSON.jshintConfig;

jshintConfig.lookup = false;
jshintConfig.lookup = false;

gulp.src('yo').pipe(jshint(jshintConfig));
gulp.src('yo').pipe(jshint(jshintConfig));
```

## Results

Expand Down

0 comments on commit 1a78c43

Please sign in to comment.