0.0.11 • Published 6 months ago

eslint-plugin-nestjs-pedantic v0.0.11

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

eslint-plugin-nestjs-pedantic

Nitpicky ESLint rules.

Installation

npm install -D eslint typescript-eslint eslint-plugin-nestjs-pedantic

Configuration

To use the recommended configuration:

import nestjsPedantic from "eslint-plugin-nestjs-pedantic";

export default [
  // ...
  ...nestjsPedantic.configs.recommended,
];

To turn on every rule:

import nestjsPedantic from "eslint-plugin-nestjs-pedantic";

export default [
  // ...
  ...nestjsPedantic.configs.all,
];

See more: Configuring Plugins.

Rules

šŸ’¼ Configurations enabled in.\ 🌐 Set in the all configuration.\ āœ… Set in the recommended configuration.\ šŸ”§ Automatically fixable by the --fix CLI option.\ šŸ’” Manually fixable by editor suggestions.

NameDescriptionšŸ’¼šŸ”§šŸ’”
match-methods-to-routesMatch method names to the decorated API routes🌐 āœ…šŸ”§
no-duplicate-route-paramsDisallow duplicate route parameters🌐 āœ…
no-unused-route-paramsDisallow unused route parameters🌐 āœ…šŸ’”
route-conventionKeep a convention when decorating routes🌐 āœ…šŸ”§šŸ’”
safe-route-paramsEnsure safe usage of the @Param decorator🌐 āœ…šŸ’”
0.0.11

6 months ago

0.0.10

7 months ago

0.0.9

7 months ago

0.0.8

7 months ago

0.0.7

7 months ago

0.0.6

7 months ago

0.0.4

1 year ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago