aboutsummaryrefslogtreecommitdiff
path: root/mingling_cli/src/linter
Commit message (Collapse)AuthorAgeFilesLines
* revert: Remove serde and structural renderer support魏曹先生2 days1-7/+6
|
* feat(lint): add shell completion for linter checkers魏曹先生2 days1-6/+26
|
* refactor(linter): rename LintRegistry to ResLintRegistry魏曹先生2 days2-7/+7
|
* feat(linter): refactor lint registry into program resource魏曹先生2 days2-48/+48
| | | | | Extract lint registry loading from cmd_explain into a shared program-level resource initialized via setup.
* refactor(linter): simplify lint explain output formatting魏曹先生2 days1-4/+2
|
* chore: add shell completion for explain command魏曹先生2 days1-3/+20
|
* feat(cli): implement `explain` command and add JSON structural rendering魏曹先生2 days1-0/+123
| | | | | | | | | | Add a new `explain <LINT>` command that queries the embedded lint registry (generated by `build.rs`) and displays detailed information about a specifoic lint, including its name, title, summary, active-on target, default setting, and author. Enable the `structural_renderer` feature and add `serde`/`serde_json` dependencies to support JSON output rendering for command results.
* refactor(linter): move ra lint commands to separate module魏曹先生2 days1-0/+63
|
* refactor(linter): rename cmd_mlint to cmd_lint魏曹先生2 days1-0/+0
|
* docs: add help text for CLI commands and descriptions魏曹先生2 days1-1/+7
| | | | | | Add help text for global flags, commands, and subcommands in help.txt. Add metadata descriptions for linter and metadata commands.
* feat(linter): use RendererInvoker for JSON report rendering魏曹先生7 days1-4/+8
| | | | | Replace AnyOutput-based dispatch with RendererInvoker in render_lint_reports_json to improve type safety and clarity.
* chore: remove deprecated `cmd_mlint_install` module魏曹先生2026-07-231-456/+0
|
* fix: use `rust-analyzer.toml` instead of hardcoded `.rust-analyzer.toml`魏曹先生2026-07-231-3/+2
|
* feat(linter): set exit code to 1 when config already exists魏曹先生2026-07-221-1/+4
|
* feat(linter): add `lint-install` subcommand for rust-analyzer setup魏曹先生2026-07-222-2/+456
|
* refactor(mlint): parallelise lint checks with tokio JoinSet魏曹先生2026-07-221-28/+41
| | | | | | Move file I/O and AST parsing into spawn_blocking closures to avoid blocking the async runtime, enabling concurrent processing of multiple Rust source files.
* feat(mlint): support multiple suggestions per report魏曹先生2026-07-211-6/+6
| | | | | | | | | Replace the single optional `suggestion` field with a `Vec<LintSuggestion>` to allow multiple automatic fix suggestions per lint report BREAKING CHANGE: The `suggestion` field has been replaced by `suggestions`
* feat(lint): add non_mingling_naming_style lint with auto-fix suggestions魏曹先生2026-07-211-3/+37
| | | | | Support file-level lint checks via `check_file` in lint registry template.
* feat(mlint): support RenderResult::default and ::from detection魏曹先生2026-07-211-7/+5
| | | | | | | | | Extend the `unnecessary_render_result_creation` lint to also flag uses of `RenderResult::default()` and `RenderResult::from(...)`, and add `#[derive(Default)]` to `MlintReport` and `MlintLevel` to simplify struct instantiation
* feat(mling): add linter framework with async support and registry魏曹先生2026-07-213-3/+568
| | | | generation
* feat(mingling_cli): add metadata and linter commands with cargo analysis魏曹先生2026-07-211-0/+6
Introduce `metadata` and `mlint` subcommands, wire up `cargo_metadata` for manifest analysis, and enable procedural macro support in editors