1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-23 15:39:49 -05:00
denoland-deno/cli/tools/lint
Marvin Hagemeister 9bea68b51a feat(unstable): support selectors in JS lint plugins (#27452)
This PR adds support for using selectors in the JS linting plugin API.
Supported at the moment are:

- `Foo Bar` (descendant)
- `Foo > Bar` (child combinator)
- `Foo + Foo` (next sibling)
- `Foo ~ Foo` (subsequent sibling)
- `[attr]`, `[attr=value]` (attribute selectors, supported operators:
`=`, `!=`, `<`, `>`, `<=`, `>=`)
- `:first-child`
- `:last-child`
- `:nth-child(2)`, `:nth-child(2n + 1)`
2025-01-09 15:19:13 -05:00
..
ast_buffer feat(unstable): support selectors in JS lint plugins (#27452) 2025-01-09 15:19:13 -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