Skip to content

Commit 3e7ad84

Browse files
author
spalger
committed
[npm] move jshint to peerDependencies
Special versions of jshint are currently supported via the [`linter` config option](https://github.com/spalger/gulp-jshint#options), but with this change jshint is something you would install along with gulp-jshint.
1 parent 599f236 commit 3e7ad84

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
## Install
2020

21-
npm install gulp-jshint --save-dev
21+
npm install jshint gulp-jshint --save-dev
2222

2323
## Usage
2424

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,14 @@
1414
],
1515
"dependencies": {
1616
"gulp-util": "^3.0.0",
17-
"jshint": "^2.7.0",
1817
"lodash": "^3.0.1",
1918
"minimatch": "^2.0.1",
2019
"rcloader": "0.1.2",
2120
"through2": "~0.6.1"
2221
},
22+
"peerDependencies": {
23+
"jshint": "2.x"
24+
},
2325
"devDependencies": {
2426
"gulp": "^3.8.10",
2527
"mocha": "^2.1.0",

0 commit comments

Comments
 (0)