We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83446a1 commit 17270f8Copy full SHA for 17270f8
lib/util/check-extraneous.js
@@ -25,7 +25,7 @@ exports.checkExtraneous = function checkExtraneous(context, filePath, targets) {
25
26
const allowed = new Set(getAllowModules(context))
27
const dependencies = new Set(
28
- [].concat(
+ [packageInfo.name].concat(
29
Object.keys(packageInfo.dependencies || {}),
30
Object.keys(packageInfo.devDependencies || {}),
31
Object.keys(packageInfo.peerDependencies || {}),
0 commit comments