0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-04 18:12:59 -05:00
deno/cli/tools/lint
Bartek Iwańczuk 94a28f783d
fix(lint): out of order diagnostics for plugins (#28029)
This commit fixes racy condition in lint plugins
that could have caused diagnostics for another
file to be printed for completely unrelated file.

With this change, a oneshot channel is used
to receive diagnostics for a file, which ensures
that the caller will receive diagnostics for itself.
2025-02-10 13:22:57 +00:00
..
ast_buffer fix: panic with js lint plugins and invalid js syntax (#28006) 2025-02-07 12:35:44 +01:00
rules fix(check): support sloppy imports with "compilerOptions.rootDirs" (#27973) 2025-02-05 23:08:10 +00:00
linter.rs feat(lint): add JavaScript plugin support (#27203) 2025-02-05 16:59:24 +01:00
mod.rs fix(check): support sloppy imports with "compilerOptions.rootDirs" (#27973) 2025-02-05 23:08:10 +00:00
plugins.rs fix(lint): out of order diagnostics for plugins (#28029) 2025-02-10 13:22:57 +00:00
reporters.rs feat(lint): add JavaScript plugin support (#27203) 2025-02-05 16:59:24 +01:00