Skip to content

Commit fee7248

Browse files
authored
Merge branch 'master' into no-unused-modules_destructuring
2 parents a6a85cc + d31d615 commit fee7248

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

CHANGELOG.md

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

3435
## [2.22.1] - 2020-09-27
3536
### Fixed
@@ -761,6 +762,7 @@ for info on changes for earlier releases.
761762
[`memo-parser`]: ./memo-parser/README.md
762763

763764
[#1997]: https://github.com/benmosher/eslint-plugin-import/pull/1997
765+
[#1993]: https://github.com/benmosher/eslint-plugin-import/pull/1993
764766
[#1983]: https://github.com/benmosher/eslint-plugin-import/pull/1983
765767
[#1974]: https://github.com/benmosher/eslint-plugin-import/pull/1974
766768
[#1958]: https://github.com/benmosher/eslint-plugin-import/pull/1958
@@ -1344,3 +1346,4 @@ for info on changes for earlier releases.
13441346
[@christianvuerings]: https://github.com/christianvuerings
13451347
[@devongovett]: https://github.com/devongovett
13461348
[@s-h-a-d-o-w]: https://github.com/s-h-a-d-o-w
1349+
[@dwardu]: https://github.com/dwardu

appveyor.yml

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ image: Visual Studio 2019
1616
matrix:
1717
fast_finish: false
1818
exclude:
19+
- configuration: WSL
20+
nodejs_version: "10"
1921
- configuration: WSL
2022
nodejs_version: "8"
2123

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)