Skip to content

Commit 678cc94

Browse files
mulztobljharb
authored andcommitted
[Docs] no-extraneous-dependencies: Make glob pattern description more explicit
1 parent ee5fade commit 678cc94

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange
66

77
## [Unreleased]
88

9+
### Changed
10+
- [Docs] `no-extraneous-dependencies`: Make glob pattern description more explicit ([#2944], thanks [@mulztob])
11+
912
## [2.29.1] - 2023-12-14
1013

1114
### Fixed
@@ -1101,6 +1104,7 @@ for info on changes for earlier releases.
11011104

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

1107+
[#2944]: https://github.com/import-js/eslint-plugin-import/pull/2944
11041108
[#2919]: https://github.com/import-js/eslint-plugin-import/pull/2919
11051109
[#2884]: https://github.com/import-js/eslint-plugin-import/pull/2884
11061110
[#2854]: https://github.com/import-js/eslint-plugin-import/pull/2854
@@ -1835,6 +1839,7 @@ for info on changes for earlier releases.
18351839
[@mplewis]: https://github.com/mplewis
18361840
[@mrmckeb]: https://github.com/mrmckeb
18371841
[@msvab]: https://github.com/msvab
1842+
[@mulztob]: https://github.com/mulztob
18381843
[@mx-bernhard]: https://github.com/mx-bernhard
18391844
[@Nfinished]: https://github.com/Nfinished
18401845
[@nickofthyme]: https://github.com/nickofthyme
@@ -1843,9 +1848,9 @@ for info on changes for earlier releases.
18431848
[@ntdb]: https://github.com/ntdb
18441849
[@nwalters512]: https://github.com/nwalters512
18451850
[@ombene]: https://github.com/ombene
1846-
[@Pandemic1617]: https://github.com/Pandemic1617
18471851
[@ota-meshi]: https://github.com/ota-meshi
18481852
[@OutdatedVersion]: https://github.com/OutdatedVersion
1853+
[@Pandemic1617]: https://github.com/Pandemic1617
18491854
[@panrafal]: https://github.com/panrafal
18501855
[@paztis]: https://github.com/paztis
18511856
[@pcorpet]: https://github.com/pcorpet

docs/rules/no-extraneous-dependencies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ You can also use an array of globs instead of literal booleans:
3232
"import/no-extraneous-dependencies": ["error", {"devDependencies": ["**/*.test.js", "**/*.spec.js"]}]
3333
```
3434

35-
When using an array of globs, the setting will be set to `true` (no errors reported) if the name of the file being linted matches a single glob in the array, and `false` otherwise.
35+
When using an array of globs, the setting will be set to `true` (no errors reported) if the name of the file being linted (i.e. not the imported file/module) matches a single glob in the array, and `false` otherwise.
3636

3737
There are 2 boolean options to opt into checking extra imports that are normally ignored: `includeInternal`, which enables the checking of internal modules, and `includeTypes`, which enables checking of type imports in TypeScript.
3838

0 commit comments

Comments
 (0)