oxc icon indicating copy to clipboard operation
oxc copied to clipboard

⚓ A collection of JavaScript tools written in Rust.

Results 315 oxc issues
Sort by recently updated
recently updated
newest added

When using `isolatedDeclaration` from `oxc-transform`, JSDoc is missing. Source: ```ts export interface Options { include?: FilterPattern exclude?: FilterPattern enforce?: 'pre' | 'post' | undefined outDir?: string /** @default ts */...

C-bug
P-high
A-codegen
A-isolated-declarations

For input ```js let o = { f() { assert.ok(this !== o); } }; (1, o.f)(); (1, o.f)``; (true && o.f)(); (true && o.f)``; (true ? o.f : false)(); (true...

C-bug
A-minifier

Reference: * https://www.npmjs.com/package/@vitejs/plugin-react-swc * https://github.com/facebook/react/blob/5b89d353e27a7ef07b40929f7343ebcc43bdaa58/packages/react-refresh/src/ReactFreshBabelPlugin.js * https://github.com/pmmmwh/react-refresh-webpack-plugin * https://mariosfakiolas.com/blog/what-the-heck-is-react-fast-refresh/

A-transformer

During flights without internet access, I was confused about all the inconsistencies from our crates' public APIs (`oxc_parser`, `oxc_transformer`, `oxc_minifier` etc.) - builder pattern or options pattern? I'd like to...

This triggers an error with oxlint: ``` {React.Children.toArray(items.map((item) => { return ( {item} ); }))} ``` But it does not with eslint. When using .map inside React.Children.toArray() a key should...

C-bug
good first issue
A-linter

An attempt to reduce variance in benchmarks. Just testing at this stage.

This is the code we have to write in transformer to generate `let Foo;`: ```rs let kind = VariableDeclarationKind::Let; let declarations = { let ident = BindingIdentifier::new(SPAN, name.clone()); let pattern_kind...

We should improve the DX of using `.oxlintrc.json` files to configure oxlint. Below is a (possibly incomplete) list of things I think we could improve: - [ ] Add rules...

C-enhancement
A-linter

Creating a function declaration within an if statement in non-strict code should be allowed. Right now, declarations in if statements with block statements are allowed, but without them they are...

C-bug
A-semantic