oxc/crates
camchenry 97195ec5a2 refactor(linter): add run_on_jest_node to run rules on only jest nodes (#6721)
- part of https://github.com/oxc-project/oxc/issues/6038

Adds a new `run_on_jest_node` method for running lint rules which allows only Jest/Vitest nodes to be linted. This simplifies a number of Jest rules by removing the need to iterate/collect Jest nodes inside of them. Now, they can simply run on the Jest nodes that are passed to them directly. This also saves time by skipping the running of the rule if it is not a test file or the Jest/Vitest plugins are not enabled.
2024-10-21 02:13:58 +00:00
..
oxc release(crates): v0.32.0 (#6691) 2024-10-19 23:09:35 +08:00
oxc_allocator fix(allocator)!: make Vec non-drop (#6623) 2024-10-19 15:43:54 +00:00
oxc_ast docs(ast): enforce doc comments on JSX nodes, literal nodes, and comments (#6712) 2024-10-21 02:08:05 +00:00
oxc_ast_macros release(crates): v0.32.0 (#6691) 2024-10-19 23:09:35 +08:00
oxc_cfg release(crates): v0.32.0 (#6691) 2024-10-19 23:09:35 +08:00
oxc_codegen docs(codegen): add #![warn(missing_docs)] to oxc_codegen (#6711) 2024-10-21 00:13:57 +00:00
oxc_data_structures release(crates): v0.32.0 (#6691) 2024-10-19 23:09:35 +08:00
oxc_diagnostics release(crates): v0.32.0 (#6691) 2024-10-19 23:09:35 +08:00
oxc_ecmascript refactor(minifier): binary operations use ConstantEvaluation (#6700) 2024-10-20 15:13:27 +00:00
oxc_estree release(crates): v0.32.0 (#6691) 2024-10-19 23:09:35 +08:00
oxc_index release(crates): v0.32.0 (#6691) 2024-10-19 23:09:35 +08:00
oxc_isolated_declarations refactor(isolated-declarations): protect internal transform methods (#6723) 2024-10-21 02:03:33 +00:00
oxc_language_server refactor(oxc): remove useless allocator.alloc(program) calls (#6571) 2024-10-15 02:21:20 +00:00
oxc_linter refactor(linter): add run_on_jest_node to run rules on only jest nodes (#6721) 2024-10-21 02:13:58 +00:00
oxc_macros refactor(linter): add run_on_jest_node to run rules on only jest nodes (#6721) 2024-10-21 02:13:58 +00:00
oxc_mangler release(crates): v0.32.0 (#6691) 2024-10-19 23:09:35 +08:00
oxc_minifier refactor(minifier): binary operations use ConstantEvaluation (#6700) 2024-10-20 15:13:27 +00:00
oxc_module_lexer release(crates): v0.32.0 (#6691) 2024-10-19 23:09:35 +08:00
oxc_parser release(crates): v0.32.0 (#6691) 2024-10-19 23:09:35 +08:00
oxc_prettier fix(allocator)!: make Vec non-drop (#6623) 2024-10-19 15:43:54 +00:00
oxc_regular_expression chore(coverage): bump test262, babel and TypeScript (#6702) 2024-10-20 15:02:26 +00:00
oxc_semantic release(crates): v0.32.0 (#6691) 2024-10-19 23:09:35 +08:00
oxc_sourcemap release(crates): v0.32.0 (#6691) 2024-10-19 23:09:35 +08:00
oxc_span test(span): add Span::is_empty unit tests (#6706) 2024-10-20 15:39:14 -04:00
oxc_syntax refactor(ast_tools): add line breaks to generated code for ESTree derive (#6680) 2024-10-19 19:50:13 +00:00
oxc_transformer chore(coverage): bump test262, babel and TypeScript (#6702) 2024-10-20 15:02:26 +00:00
oxc_traverse release(crates): v0.32.0 (#6691) 2024-10-19 23:09:35 +08:00
oxc_wasm chore(semantic, wasm): re-order dependencies in Cargo.toml files (#6657) 2024-10-18 13:40:37 +00:00