nginx-linter

JSON →
library 0.7.0 ·javascript
verified Jun 4, 2026

A CLI tool for linting and formatting Nginx configuration files, version 0.7.0. It validates style and common pitfalls with built-in rules such as 'if-is-evil', indentation enforcement, line-ending consistency, location ordering, and trailing whitespace checks. Requires Node 18+. Designed for DevOps workflows, it offers opinionated defaults but is configurable. Compared to alternatives like gixy, it focuses on style and best practices rather than security analysis.