feat: lint ignored statements before break/continue/return (#1637)

* feat: impl it

* g

* g2

* feat: add tests

* fix: snapshot
This commit is contained in:
Myriad-Dreamin 2025-04-09 18:17:46 +08:00 committed by GitHub
parent 6cf7739fb6
commit 23f10a2648
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
73 changed files with 1170 additions and 171 deletions

View file

@ -247,5 +247,5 @@ impl DiagnosticRefiner for OutOfRootHintRefiner {
#[comemo::memoize]
fn lint_file(source: &ExprInfo) -> EcoVec<SourceDiagnostic> {
tinymist_lint::lint_source(source)
tinymist_lint::lint_file(source)
}