Plugin: pg
Changelog
Release history and version updates for eslint-plugin-pg
Live from GitHub
This changelog is fetched directly from CHANGELOG.md on GitHub and cached for 2 hours.
1.4.1 (2026-02-02)
This was a version bump only for eslint-plugin-pg to align it with other projects, there were no code changes.
Changelog
All notable changes to eslint-plugin-pg will be documented in this file.
[0.0.1] - 2024-12-20
Added
- Initial release with 13 rules for PostgreSQL security and best practices
Security Rules (6)
no-unsafe-query- Prevents SQL injection via string interpolationno-insecure-ssl- Prevents disabling SSL certificate validationno-hardcoded-credentials- Prevents hardcoded passwords in configno-unsafe-search-path- Prevents dynamic search_path hijackingno-unsafe-copy-from- Prevents COPY FROM file path exposureno-transaction-on-pool- Prevents transaction commands on pool
Resource Management Rules (3)
no-missing-client-release- Ensures pool clients are releasedprevent-double-release- Prevents double client.release()no-floating-query- Ensures query promises are handled
Quality & Performance Rules (4)
check-query-params- Validates parameter count matches placeholdersno-select-all- Discourages SELECT *prefer-pool-query- Suggests pool.query() for simple queriesno-batch-insert-loop- Prevents N+1 mutation queries
Presets
recommended- Balanced security and quality settingsstrict- All rules as errors
Documentation
- Full documentation for all 13 rules
- AGENTS.md for AI assistant integration
- Benchmark folder for capability demonstration
View on GitHub →