Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
@jcoreio/eslint-plugin-implicit-dependencies
Advanced tools
eslint plugin to detect implicit dependencies
eslint plugin to detect implicit dependencies
Detects when a module has been 'require'd or 'import'ed that is not listed as a dependency in the project's package.json.
This helps prevent accidentally depending on a module that is present in node_modules as a result of being installed further down your dependency tree, but is not listed as an explicit dependency of your project.
Add @jcoreio/eslint-plugin-implicit-dependencies
to the plugins section of your ESLint configuration file. You can omit the eslint-plugin-
prefix:
plugins:
- @jcoreio/eslint-plugin-implicit-dependencies
Then configure the plugin under the rules section.
rules:
- @jcoreio/implicit-dependencies/no-implicit: error
By default implicit-dependencies
will only look for dependencies in the dependencies
section of your package.json. You can include dev, peer and optional dependencies by configuring the rule to include those sections as follows:
rules:
- @jcoreio/implicit-dependencies/no-implicit:
- error
- dev: true
peer: true
optional: true
Or if configuring with javascript:
rules: {
'@jcoreio/implicit-dependencies/no-implicit': [
'error',
{ peer: true, dev: true, optional: true }
]
}
You can ignore specific modules by adding an ignore
option:
rules:
- @jcoreio/implicit-dependencies/no-implicit:
- error
- ignore:
- vscode
FAQs
eslint plugin to detect implicit dependencies
The npm package @jcoreio/eslint-plugin-implicit-dependencies receives a total of 863 weekly downloads. As such, @jcoreio/eslint-plugin-implicit-dependencies popularity was classified as not popular.
We found that @jcoreio/eslint-plugin-implicit-dependencies demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.