Skip to content

Commit

Permalink
[Docs] no-extraneous-dependencies: correct peerDependencies option …
Browse files Browse the repository at this point in the history
…default to `true`
  • Loading branch information
dwardu authored and ljharb committed Feb 24, 2021
1 parent b44d9c2 commit cd48ef6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Expand Up @@ -29,6 +29,7 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
### Changed
- [Generic Import Callback] Make callback for all imports once in rules ([#1237], thanks [@ljqx])
- [Docs] [`no-named-as-default`]: add semicolon ([#1897], thanks [@bicstone])
- [Docs] `no-extraneous-dependencies`: correct peerDependencies option default to `true` ([#1993], thanks [@dwardu])

## [2.22.1] - 2020-09-27
### Fixed
Expand Down Expand Up @@ -759,6 +760,7 @@ for info on changes for earlier releases.

[`memo-parser`]: ./memo-parser/README.md

[#1993]: https://github.com/benmosher/eslint-plugin-import/pull/1993
[#1983]: https://github.com/benmosher/eslint-plugin-import/pull/1983
[#1974]: https://github.com/benmosher/eslint-plugin-import/pull/1974
[#1958]: https://github.com/benmosher/eslint-plugin-import/pull/1958
Expand Down Expand Up @@ -1340,4 +1342,5 @@ for info on changes for earlier releases.
[@panrafal]: https://github.com/panrafal
[@ttmarek]: https://github.com/ttmarek
[@christianvuerings]: https://github.com/christianvuerings
[@devongovett]: https://github.com/devongovett
[@devongovett]: https://github.com/devongovett
[@dwardu]: https://github.com/dwardu
2 changes: 1 addition & 1 deletion docs/rules/no-extraneous-dependencies.md
Expand Up @@ -13,7 +13,7 @@ This rule supports the following options:

`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`.
`peerDependencies`: If set to `false`, then the rule will show an error when `peerDependencies` are imported. Defaults to `true`.

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

Expand Down

0 comments on commit cd48ef6

Please sign in to comment.