Skip to content

Commit cd48ef6

Browse files
dwarduljharb
authored andcommitted
[Docs] no-extraneous-dependencies: correct peerDependencies option default to true
1 parent b44d9c2 commit cd48ef6

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Diff for: CHANGELOG.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
2929
### Changed
3030
- [Generic Import Callback] Make callback for all imports once in rules ([#1237], thanks [@ljqx])
3131
- [Docs] [`no-named-as-default`]: add semicolon ([#1897], thanks [@bicstone])
32+
- [Docs] `no-extraneous-dependencies`: correct peerDependencies option default to `true` ([#1993], thanks [@dwardu])
3233

3334
## [2.22.1] - 2020-09-27
3435
### Fixed
@@ -759,6 +760,7 @@ for info on changes for earlier releases.
759760

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

763+
[#1993]: https://github.com/benmosher/eslint-plugin-import/pull/1993
762764
[#1983]: https://github.com/benmosher/eslint-plugin-import/pull/1983
763765
[#1974]: https://github.com/benmosher/eslint-plugin-import/pull/1974
764766
[#1958]: https://github.com/benmosher/eslint-plugin-import/pull/1958
@@ -1340,4 +1342,5 @@ for info on changes for earlier releases.
13401342
[@panrafal]: https://github.com/panrafal
13411343
[@ttmarek]: https://github.com/ttmarek
13421344
[@christianvuerings]: https://github.com/christianvuerings
1343-
[@devongovett]: https://github.com/devongovett
1345+
[@devongovett]: https://github.com/devongovett
1346+
[@dwardu]: https://github.com/dwardu

Diff for: docs/rules/no-extraneous-dependencies.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This rule supports the following options:
1313

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

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

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

0 commit comments

Comments
 (0)