ESLint InterlaceESLint Interlace

Getting Started

Enterprise-grade security & quality linting for JavaScript

What is ESLint Interlace?

ESLint Interlace is a comprehensive ecosystem of security and quality ESLint plugins designed to protect your JavaScript and TypeScript applications from vulnerabilities while enforcing best practices.

Multiple Plugins, One Ecosystem

ESLint Interlace provides 18+ specialized plugins that work independently or together. Install only what you need—each plugin is published separately on npm.

Why Interlace?

The Plugin Ecosystem

Interlace lets you choose your own coverage—install only the plugins you need:

ApproachExampleBest For
Start Smalleslint-plugin-browser-securitySingle focus area
Mix & MatchSecurity + Quality pluginsCustomized coverage
Full CoverageAll security + quality pluginsMaximum protection

Quick Setup Guide

Install the plugins you need

Pick the plugins for your use case:

# Core security plugins
npm install --save-dev \
  eslint-plugin-browser-security \
  eslint-plugin-secure-coding \
  eslint-plugin-jwt

# Quality plugins
npm install --save-dev \
  eslint-plugin-conventions \
  eslint-plugin-reliability

Configure ESLint

Create eslint.config.js in your project root:

eslint.config.js
import browserSecurity from 'eslint-plugin-browser-security';
import secureCoding from 'eslint-plugin-secure-coding';
import jwt from 'eslint-plugin-jwt';
import conventions from 'eslint-plugin-conventions';

export default [
  // Security
  browserSecurity.configs.recommended,
  secureCoding.configs.recommended,
  jwt.configs.recommended,
  // Quality
  conventions.configs.recommended,
];

Run the linter

npx eslint .

Explore the Documentation

Available Plugins

Security Plugins

Protect your application from common vulnerabilities:

PluginFocus AreaRules
browser-securityXSS prevention, DOM security50+
jwtToken security, algorithm confusion13
express-securityExpress.js hardening14
node-securityServer-side security patterns (includes crypto)31
mongodb-securityNoSQL injection prevention19
pgPostgreSQL security15
secure-codingGeneral injection prevention26
vercel-ai-securityAI SDK safety22
lambda-securityAWS Lambda security16
nestjs-securityNestJS security patterns10
crypto(Deprecated) Merged into node-security

Quality & Architecture Plugins

Enforce best practices and maintainability:

PluginFocus AreaRules
import-nextImport organization (100x faster no-cycle)61
conventionsTeam coding standards9
maintainabilityCode readability8
reliabilityError handling patterns8
modularityClean architecture7
operabilityLogging and metrics6
modernizationES2022+ patterns5

Start Secure

Ready to protect your codebase? Head to the Installation Guide to get started.

On this page