1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-23 07:29:51 -05:00
denoland-deno/cli/tools/lint
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
..
ast_buffer fix(unstable): don't error on non-existing attrs or type attr (#27456) 2025-01-09 15:19:14 -05:00
rules fix(node): correct resolution of dynamic import of esm from cjs (#27071) 2024-11-28 15:47:26 +01: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) 2025-01-09 15:19:12 -05:00
reporters.rs feat(lint): Add checked files list to the JSON output(#26936) 2024-11-20 20:59:43 +01:00