Blinter v1.1.1 is a production-stable linter for Windows batch files (.bat and .cmd). It provides comprehensive static analysis for syntax errors, security vulnerabilities, performance issues, and style problems.
Key features:
• 175 built-in rules across five severity levels (Error, Warning, Style, Security, Performance); see blinter.rules.registry.RULE_COUNT for the live count
• Cross-script analysis with --follow-calls: merges variable context across CALL chains to reduce false positives
• Linter specification with 203-case conformance corpus, pinned batch-spec submodule for language SSOT, and CI benchmark baselines
• Security scanning: command injection, path traversal, unsafe temp files, and PowerShell bypass patterns
• Advanced variable tracking, percent-tilde expansion validation, and SET /A arithmetic checks
• Thread-safe design for concurrent directory scans
• Robust encoding detection (UTF-8, UTF-16, Latin-1, and more)
• Large file handling with configurable limits
• CLI, JSON report output (--format json / --output), programmatic Python API, and blinter.ini configuration
• Inline rule suppressions and standalone Windows executable via one-line installer
Even in 2026, batch files remain essential for system administration, automation, CI/CD, and legacy systems. Blinter delivers modern tooling for this often-overlooked technology.
Actively maintained with comprehensive tests, full type annotations, mypy strict checking, and professional development practices.
Fund this project