oxc
oxc copied to clipboard
⚓ A collection of JavaScript tools written in Rust.
`getter-return` is rewritten with cfg, but it is buggy ``` ⚠ eslint(getter-return): Expected to always return a value in getter. ╭─[vscode/src/vs/workbench/services/themes/common/colorThemeData.ts:578:13] 577 │ 578 │ ╭─▶ get type(): ColorScheme {...
As discussed in #2285, we'd like to embark on the journey of SIMD. The current state of SIMD in Rust is functional, successful projects include https://github.com/rusticstuff/simdutf8 and https://github.com/BurntSushi/memchr. `portable-simd` is...
Sometimes it's just nicer to have fewer files. It would be nice if `ignorePatterns` was supported in oxlint. https://eslint.org/docs/latest/use/configure/ignore#ignorepatterns-in-config-files
## Product Plan Create a linter that is * zero-config * only checks for correctness errors (code that is outright wrong or useless) - definition from [Rust Clippy](https://github.com/rust-lang/rust-clippy) See also:...
We are running the test262 conformance suite in Node.js. It produced a snapshot https://github.com/oxc-project/oxc/blob/main/tasks/coverage/codegen_runtime_test262.snap We need to fix all the errors :-)
General advice on error spans https://oxc-project.github.io/docs/contribute/linter.html#general-advice: > ## General Advice > ### Pin point the error message to the shortest code span > We want the user to focus on...
Consider the following code: ```js function not_foo() { try { try { return "foo"; } finally { throw "foo"; } } catch (e) { // do nothing } } ```...
> [!WARNING] > This comment is maintained by CI. Do not edit this comment directly. > To update comment template, see https://github.com/oxc-project/oxc/tree/main/tasks/lint_rules This is tracking issue for `eslint-plugin-jsx-a11y`. There are...
Given the following TypeScript code, it throws an error: ```ts ⚠ eslint(no-undef): Disallow the use of undeclared variables function resolve(path: string): T { return { path } as T; ─...
https://oxc-project.github.io/oxc/playground/?code=3YCAAIC2gICAgICAgIC0G8rnONK88wEEqaAR7TB6kap9ZsyLue0RBjpWSJG6bXYDMwOdJ7L3juP1dt5lItxqFGL6b5l0%2F36F7IA%3D The correct result is that the reference should be in `SymbolId 2`.