Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.2.2 #10

Merged
merged 3 commits into from
Jan 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

Guardrails to prevent bad practices or do some serious mistakes when using NestJS Moongose or ORMs.

## Motivation 💡
## Motivation 💡

No one likes unused variables, and we remove them.
But with Mongoose there is a catch, if you attach inject model to non-model variable accidentally, you will get no error, but you will get a bug. This plugin will help you to avoid this.
Expand All @@ -16,7 +16,7 @@ One such incident is shown below:

<img alt="GIF of mishap" src="https://s3.ap-south-1.amazonaws.com/shared.aashutosh.dev/eslint-rule-gif.gif">

## Installation 🛠️
## Installation 🛠️

You'll first need to install [ESLint](https://eslint.org/):

Expand Down Expand Up @@ -52,8 +52,8 @@ Then configure the rules you want to use under the rules section.
}
```

## Tools Used 💪🏻
## Tools Used 💪🏻

- [AST Explorer](https://astexplorer.net/)
- [ESLint Developer Guide](https://eslint.org/docs/developer-guide/working-with-rules)
- [TypeScript ESLint Docs](https://typescript-eslint.io/developers/custom-rules)
- [TypeScript ESLint Docs](https://typescript-eslint.io/developers/custom-rules)
Loading