qlty  by qltysh

CLI tool for universal code linting, auto-formatting, security scanning, and maintainability

created 10 years ago
2,763 stars

Top 17.6% on sourcepulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

Qlty CLI is a universal code quality tool designed for polyglot development teams, aiming to unify linting, auto-formatting, security scanning, and maintainability checks across 40+ languages and 70+ static analysis tools. It provides a single, fast, and consistent interface for developers to improve code quality and security.

How It Works

Qlty CLI leverages a Rust-based core for high performance and concurrency, integrating with numerous external linters and analysis tools. It operates natively without relying on Docker for linter execution, maximizing speed. The tool is Git-aware, focusing analysis on changes and supporting integration with Git hooks for pre-commit and pre-push workflows. Configuration is managed via a .qlty/qlty.toml file, allowing for version-controlled, flexible setups.

Quick Start & Requirements

  • Installation:
    • macOS/Linux: curl https://qlty.sh | bash
    • Windows: powershell -c "iwr https://qlty.sh | iex"
    • Docker image available on GHCR.
  • Setup: qlty init within a Git repository.
  • Prerequisites: PHP installation required for certain PHP linters.
  • Documentation: https://github.com/qltysh/qlty

Highlighted Details

  • Supports over 70 static analysis tools for 40+ languages.
  • Features auto-fixing capabilities, including AI-generated fixes.
  • Provides comprehensive code quality metrics (duplication, complexity, security, coverage).
  • Written in Rust for speed and efficiency.

Maintenance & Community

  • Community support via GitHub Discussions and Discord chat.
  • Feature requests and bug reports are managed through GitHub Issues.
  • Contributions are welcomed, with clear guidelines in CONTRIBUTING.md.

Licensing & Compatibility

  • Licensed under Fair Source (Business Source License 1.1) with Delayed Open Source Publication (DOSP).
  • Free for all uses, including commercial projects, with no contributor limits.

Limitations & Caveats

  • Some PHP linters require a pre-installed PHP environment.
  • The project is published under a Fair Source license, which may have implications for certain open-source integration scenarios before its transition to open source.
Health Check
Last commit

1 day ago

Responsiveness

1 week

Pull Requests (30d)
64
Issues (30d)
21
Star History
141 stars in the last 90 days

Explore Similar Projects

Starred by Jonathan Ragan-Kelley Jonathan Ragan-Kelley(Professor at MIT), Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), and
2 more.

claudia by getAsterisk

5.7%
10k
GUI toolkit for Claude Code
created 1 month ago
updated 1 day ago
Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Jeff Hammerbacher Jeff Hammerbacher(Cofounder of Cloudera), and
9 more.

codex by openai

0.8%
32k
Coding agent CLI tool for terminal-based chat-driven development
created 3 months ago
updated 1 day ago
Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Anil Dash Anil Dash(Former CEO of Glitch), and
13 more.

cline by cline

0.8%
48k
VS Code extension for autonomous coding agent
created 1 year ago
updated 1 day ago
Feedback? Help us improve.