1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-10 08:09:06 -05:00
denoland-deno/cli/tools/lint/ast_buffer
Marvin Hagemeister 1a809b8115
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)`
2024-12-23 08:45:47 +01:00
..
buffer.rs feat(unstable): support selectors in JS lint plugins (#27452) 2024-12-23 08:45:47 +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 feat(unstable): support selectors in JS lint plugins (#27452) 2024-12-23 08:45:47 +01:00