@dry-lint/mongoose
v3.0.0
Published
Detect duplicate or near-duplicate definitions in Mongoose schema files.
Maintainers
Readme
@dry-lint/mongoose
Part of the dry-lint monorepo.
Extracts schema definitions, models, and field structures from Mongoose schema files (.ts / .js) so you can detect duplicate or overlapping Mongoose models in your application.
Install
bun add -D @dry-lint/mongooseConfigure
Add it to your .drylintrc.json:
{
"plugins": ["@dry-lint/mongoose"]
}Run detection with the CLI. This plugin auto-registers itself.
More
License
MIT — see LICENSE.
