![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@fable/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 implicit-dependencies
to the plugins section of your ESLint configuration file. You can omit the eslint-plugin-
prefix:
plugins:
- implicit-dependencies
Then configure the plugin under the rules section.
rules:
- 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:
- implicit-dependencies/no-implicit:
- error
- dev: true
peer: true
optional: true
Or if configuring with javascript:
rules: {
'implicit-dependencies/no-implicit': [
'error',
{ peer: true, dev: true, optional: true }
]
}
To suppress no-implicit
errors for a particular package, add ignore
to the rule’s configuration. This can be useful when import aliases are in use, and an import that looks like an npm package is actually local to the source tree:
rules:
- implicit-dependencies/no-implicit:
- error
- ignore: ['src', '@/components']
Or if configuring with javascript:
rules: {
'implicit-dependencies/no-implicit': [
'error',
{ ignore: ['src', '@/components'] }
]
}
FAQs
eslint plugin to detect implicit dependencies
We found that @fable/eslint-plugin-implicit-dependencies demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.