Skip to content

Commit

Permalink
Make options more readable (#476)
Browse files Browse the repository at this point in the history
  • Loading branch information
karlhorky authored and benmosher committed Aug 8, 2016
1 parent 04ded19 commit 3f2a6fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/rules/no-extraneous-dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ The closest parent `package.json` will be used. If no `package.json` is found, t
This rule supports the following options:

`devDependencies`: If set to `false`, then the rule will show an error when `devDependencies` are imported. Defaults to `true`.

`optionalDependencies`: If set to `false`, then the rule will show an error when `optionalDependencies` are imported. Defaults to `true`.

`peerDependencies`: If set to `false`, then the rule will show an error when `peerDependencies` are imported. Defaults to `false`.

You can set the options like this:
Expand Down

0 comments on commit 3f2a6fd

Please sign in to comment.