We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04ded19 commit 3f2a6fdCopy full SHA for 3f2a6fd
docs/rules/no-extraneous-dependencies.md
@@ -8,7 +8,9 @@ The closest parent `package.json` will be used. If no `package.json` is found, t
8
This rule supports the following options:
9
10
`devDependencies`: If set to `false`, then the rule will show an error when `devDependencies` are imported. Defaults to `true`.
11
+
12
`optionalDependencies`: If set to `false`, then the rule will show an error when `optionalDependencies` are imported. Defaults to `true`.
13
14
`peerDependencies`: If set to `false`, then the rule will show an error when `peerDependencies` are imported. Defaults to `false`.
15
16
You can set the options like this:
0 commit comments