1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-19 12:16:17 -05:00
denoland-deno/cli/tools
Marvin Hagemeister 3fb8fc1ba7
feat(unstable): refactor js lint plugin AST (#27615)
This PR changes the underlying buffer backed AST format we use for
JavaScript-based linting plugins. It adds support for various new types,
makes traversal code a lot easier and is more polished compared to
previous iterations.

Here is a quick summary (in no particular order):

- Node prop data is separate from traversal, which makes traversal code
so much easier to reason about. Previously, it was interleaved with node
prop data
- spans are in a separate table as well, as they are rarely needed.
- schema is separate from SWC conversion logic, which makes 
- supports recursive plain objects
- supports numbers
- supports bigint
- supports regex
- adds all SWC nodes

Apologies, this is kinda a big PR, but it's worth it imo.

_Marking as draft because I need to update some tests tomorrow._
2025-01-14 13:31:02 +01:00
..
bench refactor: update deno_core for error refactor (#26867) 2025-01-08 14:52:32 -08:00
coverage refactor: update deno_core for error refactor (#26867) 2025-01-08 14:52:32 -08:00
doc refactor: update deno_doc, use prismjs, remove internal reference html generation logic (#26885) 2024-11-19 08:56:04 -08:00
init chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
jupyter refactor: create NpmInstaller (#27626) 2025-01-13 17:35:18 -05:00
lint feat(unstable): refactor js lint plugin AST (#27615) 2025-01-14 13:31:02 +01:00
registry refactor: create NpmInstaller (#27626) 2025-01-13 17:35:18 -05:00
repl refactor: create NpmInstaller (#27626) 2025-01-13 17:35:18 -05:00
run refactor: create NpmInstaller (#27626) 2025-01-13 17:35:18 -05:00
test refactor: update deno_core for error refactor (#26867) 2025-01-08 14:52:32 -08:00
check.rs refactor: create NpmInstaller (#27626) 2025-01-13 17:35:18 -05:00
clean.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
compile.rs refactor: update deno_core for error refactor (#26867) 2025-01-08 14:52:32 -08:00
doc.rs refactor: update deno_core for error refactor (#26867) 2025-01-08 14:52:32 -08:00
fmt.rs refactor: update deno_core for error refactor (#26867) 2025-01-08 14:52:32 -08:00
info.rs refactor: create NpmInstaller (#27626) 2025-01-13 17:35:18 -05:00
installer.rs refactor: create NpmInstaller (#27626) 2025-01-13 17:35:18 -05:00
mod.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
serve.rs refactor: update deno_core for error refactor (#26867) 2025-01-08 14:52:32 -08:00
task.rs refactor: create NpmInstaller (#27626) 2025-01-13 17:35:18 -05:00
upgrade.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00