noDuplicateDependencies
Este conteúdo não está disponível em sua língua ainda.
Summary
Section titled “Summary”- Rule available since:
v2.2.4
- Diagnostic Category:
lint/nursery/noDuplicateDependencies
- This rule doesn’t have a fix.
- The default severity of this rule is information.
- Sources:
How to configure
Section titled “How to configure”{ "linter": { "rules": { "nursery": { "noDuplicateDependencies": "error" } } }}
Description
Section titled “Description”Disallow any dependency from being specified more than once (e.g. in dependencies
and devDependencies
)
Examples
Section titled “Examples”Invalid
Section titled “Invalid”{ "dependencies": { "foo": "1.0.0" }, "devDependencies": { "foo": "1.0.0" }}
{ "dependencies": { "foo": "1.0.0" }}
Related links
Section titled “Related links”Copyright (c) 2023-present Biome Developers and Contributors.