1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-09 23:58:23 -05:00
denoland-deno/cli/tools/lint
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
..
ast_buffer fix(unstable): don't error on non-existing attrs or type attr (#27456) 2024-12-27 22:46:29 +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