Skip to content

Commit ed839f1

Browse files
committed
docs: Fix code samples of plugin loading
1 parent a036018 commit ed839f1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ npm i -D @prantlf/gulp-jsonlint
2929
Then, add it to your `gulpfile.js`:
3030

3131
```javascript
32-
var jsonlint = require("gulp-jsonlint");
32+
var jsonlint = require("@prantlf/gulp-jsonlint");
3333

3434
gulp.src("./src/*.json")
3535
.pipe(jsonlint())
@@ -39,7 +39,7 @@ gulp.src("./src/*.json")
3939
Using a custom reporter:
4040

4141
```javascript
42-
var jsonlint = require('gulp-jsonlint');
42+
var jsonlint = require('@prantlf/gulp-jsonlint');
4343
var log = require('fancy-log');
4444

4545
var myCustomReporter = function (file) {
@@ -54,7 +54,7 @@ gulp.src('./src/*.json')
5454
Using an alternative error location *formatter* and error message *reporter*:
5555

5656
```javascript
57-
var jsonlint = require('gulp-jsonlint');
57+
var jsonlint = require('@prantlf/gulp-jsonlint');
5858

5959
gulp.src('./src/*.json')
6060
.pipe(jsonlint({

0 commit comments

Comments
 (0)