import-js/eslint-plugin-import
Voir sur GitHub`no-extraneous-dependencies` doesn't support nested package.json
Open
#1 913 ouverte le 29 sept. 2020
enhancementhelp wanted
Métriques du dépôt
- Stars
- (4 946 stars)
- Métriques de merge PR
- (Merge moyen 138j 22h) (3 PRs mergées en 30 j)
Description
With Node’s ES Module support explicitly suggesting to use multiple package.json files in subfolders, I think no-extraneous-dependencies should automatically support nested package.json without further config
The nearest parent
package.jsonis defined as the firstpackage.jsonfound when searching in the current folder, that folder’s parent, and so on up until the root of the volume is reached.
I know that no-extraneous-dependencies has options to manually specify each folder, but I think that this could be done automatically.