declint
A lightweight code linting tool that allows developers to define custom lint rules via YAML configuration files. It supports two rule-authoring methods—regular expressions and Lua scripts—and provides Language Server Protocol (LSP) integration as well as CI pipeline support.
Timeline (last 90 days)
declint is a lightweight tool that lets developers write custom lint rules in YAML.
A declint rule essentially consists of a regular expression and a hint message.
declint supports writing more complex judgment logic using Lua scripts when regular expressions cannot meet the requirements.
declint supports CI integration and can output inline PR comments via --format github.
declint integrates with editors via LSP and currently provides the Neovim plugin declint.nvim.
Each rule in declint can carry embedded test cases and be verified by running the declint test command.
declint has built-in presets covering Python, INI, Markdown, shell, Dockerfile, TOML, JSON, and JS.
declint supports community rule sets, and developers can pull ready-made rule libraries with a single command.
declint is built with Rust and is installed via cargo install declint.
declint is positioned as a complement to mature linters such as ESLint and Pylint, specifically addressing the pain point of team-defined custom conventions rather than replacing them.
2 more timeline events
All Facts (11)
declint is a lightweight tool that lets developers write custom lint rules in YAML.
50%UnverifiedA declint rule essentially consists of a regular expression and a hint message.
50%Unverifieddeclint supports writing more complex judgment logic using Lua scripts when regular expressions cannot meet the requirements.
50%Unverifieddeclint supports CI integration and can output inline PR comments via --format github.
50%Unverifieddeclint integrates with editors via LSP and currently provides the Neovim plugin declint.nvim.
50%UnverifiedEach rule in declint can carry embedded test cases and be verified by running the declint test command.
50%Unverifieddeclint has built-in presets covering Python, INI, Markdown, shell, Dockerfile, TOML, JSON, and JS.
50%Unverifieddeclint supports community rule sets, and developers can pull ready-made rule libraries with a single command.
50%Unverifieddeclint is built with Rust and is installed via cargo install declint.
50%Unverifieddeclint is positioned as a complement to mature linters such as ESLint and Pylint, specifically addressing the pain point of team-defined custom conventions rather than replacing them.
50%Unverifieddeclint adopts a layered design of using YAML for simple scenarios and Lua scripts for complex scenarios.
50%