aboutsummaryrefslogtreecommitdiff
path: root/mingling_cli/src/lints
Commit message (Collapse)AuthorAgeFilesLines
* fix: update placeholder author name in template linter docs魏曹先生17 hours1-1/+1
|
* fix(lint): add missing blank line in test module魏曹先生21 hours1-0/+1
|
* feat(lint): add non_mingling_naming_style lint with auto-fix suggestions魏曹先生21 hours1-0/+351
| | | | | Support file-level lint checks via `check_file` in lint registry template.
* feat(lints): add quote dependency and improve variable name detection魏曹先生22 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魏曹先生22 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魏曹先生22 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魏曹先生23 hours2-0/+205
generation