Skip to content

Commit 3f2a6fd

Browse files
karlhorkybenmosher
authored andcommitted
Make options more readable (#476)
1 parent 04ded19 commit 3f2a6fd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/rules/no-extraneous-dependencies.md

+2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ The closest parent `package.json` will be used. If no `package.json` is found, t
88
This rule supports the following options:
99

1010
`devDependencies`: If set to `false`, then the rule will show an error when `devDependencies` are imported. Defaults to `true`.
11+
1112
`optionalDependencies`: If set to `false`, then the rule will show an error when `optionalDependencies` are imported. Defaults to `true`.
13+
1214
`peerDependencies`: If set to `false`, then the rule will show an error when `peerDependencies` are imported. Defaults to `false`.
1315

1416
You can set the options like this:

0 commit comments

Comments
 (0)