Asserts dependencies are only defined once.
**Bad**:
{
"dependencies": {
"lodash": "^4.17.0"
},
"devDependencies": {
"lodash": "^4.17.0"
}
}
**Good**:
{
"dependencies": {
"lodash": "~4.17.0"
}
}
**Also Good**: (depends on the use case)
{
"devDependencies": {
"lodash": "4.17.0"
}
}
exclude: string[]
: A list of dependencies this rule will ignore.