0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-15 10:06:23 -05:00
denoland-deno/cli/tools/lint/ast_buffer
Marvin Hagemeister fdd0edf23c
fix(unstable): don't error on non-existing attrs or type attr (#27456)
When running selectors for JS linting plugins we would error when
encountering an unknown attribute name:

```js
// selector
Foo[non-existant]

// error
Error: Missing string id: <number>
```

This was caused by using `0` as the invalid marker, but also overloading
`0` with an actual node type. So the fix is to reserve `0` as the
invalid marker and move the property type to the next index.
2024-12-27 22:46:29 +01:00
..
buffer.rs fix(unstable): don't error on non-existing attrs or type attr (#27456) 2024-12-27 22:46:29 +01:00
mod.rs feat(unstable): add JS linting plugin infrastructure (#27416) 2024-12-21 00:58:03 +01:00
swc.rs feat(unstable): add JS linting plugin infrastructure (#27416) 2024-12-21 00:58:03 +01:00
ts_estree.rs fix(unstable): don't error on non-existing attrs or type attr (#27456) 2024-12-27 22:46:29 +01:00