oxc
oxc copied to clipboard
⚓ A collection of JavaScript tools written in Rust.
This rule fails 3 kinds of fixer tests. We should either stop suggesting them or correct their behavior. 1. Spacing(Invalid code) For: ```js function foo(){return.0} ``` We generate: ```js function...
> [!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-vitest`. There are...
`#[ast]` attribute is not meaningful unless the type it's on is in a file which is processed by AST codegen. Make macro raise an error/panic if the file path needs...
I tried using `.oxlintrc.json` & `oxlintrc.json` and neither automatically loaded. Other tools tend to automatically load a config file if you're using the file name convention(s) they support.
https://github.com/oxc-project/oxc/blob/fbfd852cf8415fb0f9f8e06bef4b6bb0613d3a00/crates/oxc_minifier/src/plugins/replace_global_defines.rs#L106-L114 I may need some guidance cc @rzvxa
https://babeljs.io/docs/babel-plugin-transform-modules-commonjs For Rolldown app mode, we need to custom runtime to execute module.
Tested version: 0.23.0 ```ts import {} from 'foo'; declare module 'foo' { interface Foo {} const foo = 42; } ``` ``` require('oxc-transform').isolatedDeclaration('hello.ts', ` import "foo"; declare module "foo" {...
Broken out from #3209: We've hit a case where the following APIs in `Traverse` visitors would be useful: * Read siblings in a `Vec`. * Get which index current node...
Part of #1164 ## Progress updates 🗞️ I'm struggling with how to make this faster. 🤔 ## TODOs - [x] `RegExp(Literal = Body + Flags)#parse()` structure - [x] Base `Reader`...