aboutsummaryrefslogtreecommitdiff
path: root/mingling_cli
Commit message (Collapse)AuthorAgeFilesLines
* revert: Remove serde and structural renderer support魏曹先生2 days4-19/+8
|
* 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 days4-54/+58
| | | | | 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: align markdown table formatting魏曹先生2 days1-8/+8
|
* chore: add shell completion for explain command魏曹先生2 days1-3/+20
|
* feat(cli): implement `explain` command and add JSON structural rendering魏曹先生2 days6-4/+139
| | | | | | | | | | 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 days2-64/+64
|
* refactor(linter): rename cmd_mlint to cmd_lint魏曹先生2 days2-2/+2
|
* feat: add package and project manager modules魏曹先生2 days3-0/+2
|
* docs: add help text for CLI commands and descriptions魏曹先生2 days4-3/+66
| | | | | | Add help text for global flags, commands, and subcommands in help.txt. Add metadata descriptions for linter and metadata commands.
* refactor: extract metadata args into reusable statics魏曹先生2 days2-9/+39
|
* feat(cli): add dynamic completion scripts and global help魏曹先生2 days7-27/+31
| | | | | | Enable the dispatch_tree and comp features to generate completion scripts during build and register global help and completion support in the main entry point.
* chore: bump version to 0.4.0魏曹先生2 days2-6/+6
|
* feat(diagnostic): translate doc comment to English魏曹先生5 days1-1/+1
|
* 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.
* refactor!: rename `extra_macros` feature to `extras`feat/new-pipeline-model魏曹先生9 days1-1/+1
| | | | | Update all references across docs, examples, and configuration files to use the shorter `extras` feature name.
* chore: bump arg-picker and arg-picker-macros to v0.1.1picker-0.1.1魏曹先生2026-07-271-2/+2
|
* feat: add `might_be_async` dependency and update lockfiles魏曹先生2026-07-241-4/+76
| | | | | | | Introduce `might_be_async` as a workspace dependency, add it to `mingling_core`, and regenerate all Cargo.lock files accordingly. Multiple examples and test packages also pick up a newly transitive `equivalent` crate.
* chore: remove deprecated `cmd_mlint_install` module魏曹先生2026-07-235-471/+5
|
* fix: use `rust-analyzer.toml` instead of hardcoded `.rust-analyzer.toml`魏曹先生2026-07-231-3/+2
|
* feat(core): rename `builds` feature to `build`魏曹先生2026-07-231-1/+1
| | | | | | | Replace the `builds` feature with `build` across the crate, keeping a backward-compatible alias for the old name. Update all internal visibility from `#[doc(hidden)] pub mod` to `pub(crate) mod` and reorganize the `__private` module into a dedicated `private.rs`.
* 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-228-10/+555
|
* docs: add development status warning to README魏曹先生2026-07-221-0/+2
|
* 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(mingling_cli): add wrapper binary and optimize release profile魏曹先生2026-07-223-0/+57
| | | | | Add `mling` wrapper binary that delegates to `mingling-cli`, enabling separate binary names while maintaining Cargo conventions.
* chore: remove expanded macro test file魏曹先生2026-07-211-1121/+0
|
* feat(mlint): support multiple suggestions per report魏曹先生2026-07-213-9/+228
| | | | | | | | | 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`
* fix: update placeholder author name in template linter docs魏曹先生2026-07-211-1/+1
|
* docs: remove outdated about_lint design doc魏曹先生2026-07-211-35/+0
|
* feat(linter): add ResUsingJson flag to rust-analyzer handlers魏曹先生2026-07-211-4/+19
|
* feat(linter): add aliases for Rust Analyzer lint commands魏曹先生2026-07-211-2/+37
| | | | | | Add dispatcher aliases `ra-lint`, `ra-lint-clippy`, and `ra-lint-check` that forward to the existing linter with preset flags for JSON output and optional checkers
* fix(lint): add missing blank line in test module魏曹先生2026-07-211-0/+1
|
* feat(lint): add non_mingling_naming_style lint with auto-fix suggestions魏曹先生2026-07-216-26/+454
| | | | | Support file-level lint checks via `check_file` in lint registry template.
* feat(lints): add quote dependency and improve variable name detection魏曹先生2026-07-215-48/+42
| | | | | | Use `quote` token stream matching instead of debug formatting to detect variable references in `unnecessary_render_result_creation`, fixing false positives from string-based matching.
* feat: add testing macros and unit tests for linters魏曹先生2026-07-214-0/+129
| | | | | | Add `assert_detected!` and `assert_not_detected!` macros to simplify writing lint tests, along with initial test coverage for the unnecessary render result creation linter.
* feat(mlint): support RenderResult::default and ::from detection魏曹先生2026-07-212-24/+39
| | | | | | | | | 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
* chore(Cargo.toml): reorganize dependencies and add section comments魏曹先生2026-07-211-4/+14
| | | | Group dependencies by purpose with inline comments for clarity
* feat(mling): add linter framework with async support and registry魏曹先生2026-07-2124-31/+2746
| | | | generation
* feat(mingling_cli): add metadata and linter commands with cargo analysis魏曹先生2026-07-219-6/+360
| | | | | Introduce `metadata` and `mlint` subcommands, wire up `cargo_metadata` for manifest analysis, and enable procedural macro support in editors
* feat(mingling_cli): add scaffold for CLI tool魏曹先生2026-07-203-0/+132
| | | | | Add initial project structure for the mingling-cli scaffolding tool, including Cargo manifest and entry point
* Remove mingling_cli crate魏曹先生2026-04-256-423/+0
|
* Add workspace configuration and update dependencies魏曹先生2026-04-221-6/+6
|
* Bump mingling version to 0.1.7 and use local dependencies魏曹先生2026-04-211-7/+3
|
* Update core and macros dependencies to version 0.1.60.1.6魏曹先生2026-04-201-2/+6
|
* Add clippy scripts and apply clippy suggestions魏曹先生2026-04-201-4/+4
|
* Bump version to 0.1.6魏曹先生2026-04-191-3/+3
| | | | | | - mingling: 0.1.5 → 0.1.6 - mingling_core: 0.1.4 → 0.1.5 - mingling_macros: 0.1.4 → 0.1.5
* Remove unnecessary `.into()` calls in chain functions魏曹先生2026-04-191-2/+2
|