0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-20 20:33:42 -05:00
denoland-deno/cli/tools/lint/ast_buffer
Marvin Hagemeister 3b02d9b603 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.
2025-01-09 15:19:14 -05:00
..
buffer.rs fix(unstable): don't error on non-existing attrs or type attr (#27456) 2025-01-09 15:19:14 -05:00
mod.rs feat(unstable): add JS linting plugin infrastructure (#27416) 2025-01-09 15:19:12 -05:00
swc.rs feat(unstable): add JS linting plugin infrastructure (#27416) 2025-01-09 15:19:12 -05:00
ts_estree.rs fix(unstable): don't error on non-existing attrs or type attr (#27456) 2025-01-09 15:19:14 -05:00