Interlace ESLint
ESLint Interlace
JWT

Overview

JWT security rules for jsonwebtoken, jose, and jwt-decode

eslint-plugin-jwt

npm version npm downloads License: MIT codecov

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

Installation

npm install --save-dev eslint-plugin-jwt

Configuration

import jwt from 'eslint-plugin-jwt';

export default [jwt.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