1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-09 15:48:16 -05:00
denoland-deno/cli/js
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
..
40_bench.js refactor(cli/js): align error messages (#25406) 2024-09-04 09:19:55 +02:00
40_jupyter.js feat(jupyter): Add Deno.jupyter.image API (#26284) 2024-11-16 15:13:50 +00:00
40_lint.js feat(unstable): support selectors in JS lint plugins (#27452) 2024-12-23 08:45:47 +01:00
40_lint_selector.js feat(unstable): support selectors in JS lint plugins (#27452) 2024-12-23 08:45:47 +01:00
40_lint_types.d.ts feat(unstable): support selectors in JS lint plugins (#27452) 2024-12-23 08:45:47 +01:00
40_test.js refactor(cli/js): align error messages (#25406) 2024-09-04 09:19:55 +02:00
40_test_common.js chore(cli): split 40_testing (#22112) 2024-01-25 14:54:35 -05:00