Skip to main content
interlace

Getting Started

Enterprise-grade security & quality linting for JavaScript

Install in 30 seconds

The most-adopted starting point — general secure-coding rules that work in any JavaScript or TypeScript project:

npm install -D eslint-plugin-secure-coding

Then enable the recommended preset and lint:

// eslint.config.js
import secureCoding from 'eslint-plugin-secure-coding';

export default [secureCoding.configs.recommended];

Framework-specific plugins (Express, React, MongoDB, AI SDKs, …) are one catalog away — every plugin installs the same way.

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 30 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-security

# 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-security';
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 security46
jwtToken security, algorithm confusion13
express-securityExpress.js hardening28
node-securityServer-side security patterns (includes crypto)42
mongodb-securityNoSQL injection prevention16
pgPostgreSQL security13
secure-codingGeneral injection prevention33
vercel-ai-securityAI SDK safety19
lambda-securityAWS Lambda security14
nestjs-securityNestJS security patterns10
crypto(Deprecated) Merged into node-security

Quality & Architecture Plugins

Enforce best practices and maintainability:

PluginFocus AreaRules
import-nextImport organization (8x faster no-cycle)55
conventionsTeam coding standards15
maintainabilityCode readability12
reliabilityError handling patterns9
modularityClean architecture6
operabilityLogging and metrics6
modernizationES2022+ patterns4
react-featuresModern React patterns61
react-a11yReact accessibility37

Start Secure

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

Building secure JavaScript with Interlace? Star the repo to get new rules and CWE coverage as we ship them — or follow the AI-code-security benchmarks behind them.