1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-10 16:11:13 -05:00
denoland-deno/cli/tools/lint
Marvin Hagemeister 26425a137b
feat(unstable): add JS linting plugin infrastructure (#27416)
This PR extracts the core part of
https://github.com/denoland/deno/pull/27203 to make it easier to review
and land in parts.

It contains:
-  The JS plugin code the deserializes and walks the buffer
- The Rust portion to serialize SWC to the buffer format (a bunch of
nodes are still todos, but imo these can land anytime later)
- Basic lint plugin types, without the AST node types to make this PR
easier to review
- Added more code comments to explain the format etc.


More fixes and changes will be done in follow-up PRs.

---------

Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2024-12-21 00:58:03 +01:00
..
ast_buffer feat(unstable): add JS linting plugin infrastructure (#27416) 2024-12-21 00:58:03 +01:00
rules fix(node): correct resolution of dynamic import of esm from cjs (#27071) 2024-11-26 14:38:24 -05:00
linter.rs feat: default to TS for file extension and support ext flag in more scenarios (#25472) 2024-09-18 21:15:13 +02:00
mod.rs feat(unstable): add JS linting plugin infrastructure (#27416) 2024-12-21 00:58:03 +01:00
reporters.rs feat(lint): Add checked files list to the JSON output(#26936) 2024-11-20 20:59:43 +01:00