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

Did: `npx oxlint -D all` got: `Finished in 1.4s on 29 files with 243 rules using 16 threads.` Apparently there should be 376 rules (according to https://oxc.rs/docs/guide/usage/linter/rules.html), so a lot...

C-bug
A-linter

Some `tsconfig` options are relevant for declaration emit, but there's currently no way to pass these. ```js > code = "/** @internal */ export function hello() {}" > require("oxc-transform").isolatedDeclaration("example.ts", code)...

C-enhancement
A-isolated-declarations

Part of #6156. Here's a proposal for a revamped API for `oxc-transform` NPM package API. This is draft only. It's a matter of taste, and I don't think there are...

A-transformer

Related to https://github.com/oxc-project/oxc/issues/479

A-linter

# What This PR Does Adds `CodeBuffer`, a simple wrapper over a `Vec` with a protective and reduced API for upholding UTF-8 validity guarantees. Closes #6147. Note that this struct...

C-bug
C-cleanup
A-codegen

This will fold expressions like `new Object()` to `{}`, and `new Array()` to `[]`. Based on the closure compiler tests: https://github.com/google/closure-compiler/blob/b7e380b6320a52ce7fbac0334ede00d6a8c92fad/test/com/google/javascript/jscomp/PeepholeSubstituteAlternateSyntaxTest.java#L78. This is outside my usual area, so feedback is...

A-minifier

When visiting a `TSConditionalType`, enter a new scope after visiting the `check_type`, and exit before entering the `false_type`. Fixes this case, where `B` should have a reference. I can't find...

C-bug
A-linter
A-semantic
A-ast

One of the typescript files gets replaced with the empty file and all its content get deleted. This is confusing and it's unclear which oxlint rule is doing this.

C-bug
P-high
A-linter

Seems that the `gzip` is so metaphysical... I don't know why it enlarges the gzipped size.

A-minifier