1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-09 23:58:23 -05:00
denoland-deno/cli/js
Marvin Hagemeister cabdfa8c2d
fix(lint): fix single char selectors being ignored (#27576)
The selector splitting code that's used for JS linting plugins didn't
properly account for selectors being a single character. This can happen
in the case of `*`.

Instead of comparing against the length, we'll now check if the
remaining string portion is not empty, which is more robust. It also
allows us to detect trailing whitespace, which we didn't before.
2025-01-08 00:21:50 +01:00
..
40_bench.js chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
40_jupyter.js chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
40_lint.js chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
40_lint_selector.js fix(lint): fix single char selectors being ignored (#27576) 2025-01-08 00:21:50 +01:00
40_lint_types.d.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
40_test.js chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
40_test_common.js chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00