eslint-plugin-nestjs

ESLint rules for nestjs framework

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
eslint-plugin-nestjs
3711.2.34 years ago5 years agoMinified + gzip package size for eslint-plugin-nestjs in KB

Readme

eslint-plugin-nestjs
ESLint rules for nestjs framework.
This project is POC and is not under development. But it will be, if I will get nestjs project on my job.

INSTALL

npm install --save-dev eslint-plugin-nestjs

USAGE

Configure it in your configuration file:
  1. Add to plugins section:
nestjs
  1. Add to extends section (optional):
plugin:nestjs/recommended
  1. Configure rules

RULES

TODO

  • rule: inject @Res() but not using send or json
  • rule: if class decorated it must be exported

USEFUL LINKS

  • https://astexplorer.net/

CHANGELOG

See CHANGELOG.md