mirror of
https://github.com/danbulant/oxc
synced 2026-05-25 04:42:10 +00:00
I fixed a false negative issue in the `is_create_element_call` function where createElement was an Identifier. https://github.com/oxc-project/oxc/blob/main/crates/oxc_linter/src/utils/react.rs#L13-L19 In the case of [eslint-plugin-react's button-has-type rule](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/button-has-type.md), the following triggers the expected errors: ```ts // error React.createElement("button") // error createElement("button") ``` However, with Oxlint, it behaves differently: ```ts // error React.createElement("button") // false negative createElement("button") ``` |
||
|---|---|---|
| .. | ||
| oxc | ||
| oxc_allocator | ||
| oxc_ast | ||
| oxc_cli | ||
| oxc_codegen | ||
| oxc_diagnostics | ||
| oxc_index | ||
| oxc_js_regex | ||
| oxc_language_server | ||
| oxc_linter | ||
| oxc_macros | ||
| oxc_minifier | ||
| oxc_parser | ||
| oxc_prettier | ||
| oxc_semantic | ||
| oxc_span | ||
| oxc_syntax | ||
| oxc_transformer | ||
| oxc_wasm | ||