LLM-powered linter for enforcing code best practices
Top 95.2% on sourcepulse
GPTLint is a code quality tool that leverages Large Language Models (LLMs) to enforce higher-level best practices beyond the capabilities of traditional AST-based linters like ESLint. It targets developers seeking to improve code quality by integrating LLM-driven analysis into their existing workflows, offering a novel approach to static analysis.
How It Works
GPTLint augments existing linters by using LLMs to analyze code for complex best practices that are difficult to capture with static analysis alone. Rules are defined in a simple markdown format, allowing for customization and the creation of project-specific rules. The tool supports various LLM providers and local models, features content-based caching for efficiency, and provides detailed LLM usage statistics per run.
Quick Start & Requirements
npm install -g gptlint
Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
MVP rules are currently limited to JavaScript/TypeScript and single-file context. Autofixing is not yet supported.
1 year ago
1 day