oxc/crates/oxc_linter
Tyler Earls 62f0a22b89
test(linter): port react-jsx-uses-vars rules to no_unused_vars (#7731)
I added the test cases from
[eslint-plugin-react/jsx-uses-vars](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/tests/lib/rules/jsx-uses-vars.js)
to a `react.rs` file in the `no_unused_vars` tests module.

After adding the new tests, they immediately passed without any source
code changes required. It would seem that the linter already supported
this rule, but now there will be tests to support it.

---------

Co-authored-by: Cameron <cameron.clark@hey.com>
2024-12-08 22:18:23 +00:00
..
examples
fixtures test(linter): add regression tests for import/namespace (#7723) 2024-12-08 15:35:14 +08:00
src test(linter): port react-jsx-uses-vars rules to no_unused_vars (#7731) 2024-12-08 22:18:23 +00:00
tests
Cargo.toml refactor(linter): remove aho-corasick (#7718) 2024-12-07 12:34:41 +00:00
CHANGELOG.md release(oxlint): v0.14.1 (#7692) 2024-12-06 13:06:54 +08:00