Interlace ESLint
ESLint Interlace
PostgreSQL

Overview

PostgreSQL node-postgres security rules with SQL injection detection

eslint-plugin-pg

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-pg

Configuration

import pg from 'eslint-plugin-pg';

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