aboutsummaryrefslogtreecommitdiff
path: root/mingling_cli/src/lints
Commit message (Collapse)AuthorAgeFilesLines
* feat(lints): add quote dependency and improve variable name detection魏曹先生32 hours1-2/+14
| | | | | | 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魏曹先生32 hours2-0/+93
| | | | | | 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魏曹先生32 hours1-17/+34
| | | | | | | | | 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魏曹先生33 hours2-0/+205
generation