aboutsummaryrefslogtreecommitdiff
path: root/mingling_cli/src/linter
Commit message (Collapse)AuthorAgeFilesLines
* refactor(mlint): parallelise lint checks with tokio JoinSet魏曹先生13 hours1-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魏曹先生34 hours1-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魏曹先生38 hours1-3/+37
| | | | | Support file-level lint checks via `check_file` in lint registry template.
* feat(mlint): support RenderResult::default and ::from detection魏曹先生39 hours1-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魏曹先生40 hours3-3/+568
| | | | generation
* feat(mingling_cli): add metadata and linter commands with cargo analysis魏曹先生2 days1-0/+6
Introduce `metadata` and `mlint` subcommands, wire up `cargo_metadata` for manifest analysis, and enable procedural macro support in editors