mirror of
https://github.com/denoland/deno.git
synced 2025-01-09 15:48:16 -05:00
1a809b8115
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)` |
||
---|---|---|
.. | ||
40_bench.js | ||
40_jupyter.js | ||
40_lint.js | ||
40_lint_selector.js | ||
40_lint_types.d.ts | ||
40_test.js | ||
40_test_common.js |