Interlace ESLint
ESLint Interlace
NestJS

Overview

NestJS security rules for guards, validation, and throttler

eslint-plugin-nestjs-security

npm version npm downloads License: MIT codecov

5 specialized rules — LLM-optimized error messages with CWE, OWASP, and CVSS metadata.

Installation

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

Configuration

import nestjssecurity from 'eslint-plugin-nestjs-security';

export default [nestjssecurity.configs.recommended];

Available Presets

PresetDescription
recommendedBalanced security for most projects
strictMaximum enforcement (all rules as errors)

Rules

Browse all rules with CWE and OWASP references:

Loading rules...

Initializing articles...

On this page