oxc/crates
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
..
oxc release(crates): v0.39.0 (#7643) 2024-12-04 19:43:22 +08:00
oxc_allocator release(crates): v0.39.0 (#7643) 2024-12-04 19:43:22 +08:00
oxc_ast feat(parser)!: stage 3 import source and import defer (#7706) 2024-12-06 16:15:52 +00:00
oxc_ast_macros release(crates): v0.39.0 (#7643) 2024-12-04 19:43:22 +08:00
oxc_cfg release(crates): v0.39.0 (#7643) 2024-12-04 19:43:22 +08:00
oxc_codegen feat(parser)!: stage 3 import source and import defer (#7706) 2024-12-06 16:15:52 +00:00
oxc_data_structures release(crates): v0.39.0 (#7643) 2024-12-04 19:43:22 +08:00
oxc_diagnostics feat(napi/transform,napi/parser): return structured error object (#7724) 2024-12-08 14:11:56 +00:00
oxc_ecmascript release(crates): v0.39.0 (#7643) 2024-12-04 19:43:22 +08:00
oxc_estree release(crates): v0.39.0 (#7643) 2024-12-04 19:43:22 +08:00
oxc_isolated_declarations feat(parser)!: stage 3 import source and import defer (#7706) 2024-12-06 16:15:52 +00:00
oxc_language_server refactor(linter): add capability of adding semantic data to module record (#7561) 2024-12-01 08:14:43 +00:00
oxc_linter test(linter): port react-jsx-uses-vars rules to no_unused_vars (#7731) 2024-12-08 22:18:23 +00:00
oxc_macros
oxc_mangler release(crates): v0.39.0 (#7643) 2024-12-04 19:43:22 +08:00
oxc_minifier refactor(ast)!: change 'raw' from &str to Option<Atom> (#7547) 2024-12-05 00:34:45 +00:00
oxc_napi feat(napi/transform,napi/parser): return structured error object (#7724) 2024-12-08 14:11:56 +00:00
oxc_parser feat(parser)!: stage 3 import source and import defer (#7706) 2024-12-06 16:15:52 +00:00
oxc_prettier refactor(ast)!: change 'raw' from &str to Option<Atom> (#7547) 2024-12-05 00:34:45 +00:00
oxc_regular_expression release(crates): v0.39.0 (#7643) 2024-12-04 19:43:22 +08:00
oxc_semantic feat(parser)!: stage 3 import source and import defer (#7706) 2024-12-06 16:15:52 +00:00
oxc_span release(crates): v0.39.0 (#7643) 2024-12-04 19:43:22 +08:00
oxc_syntax feat(napi/parser): expose span positions of import.meta (#7677) 2024-12-05 11:03:52 +00:00
oxc_transformer feat(napi/transformer): add runtime helper mode (#7727) 2024-12-08 15:29:55 +00:00
oxc_traverse feat(parser)!: stage 3 import source and import defer (#7706) 2024-12-06 16:15:52 +00:00
oxc_wasm refactor(linter): add capability of adding semantic data to module record (#7561) 2024-12-01 08:14:43 +00:00