Boshen

Results 130 issues of Boshen

https://babeljs.io/docs/babel-plugin-transform-modules-commonjs For Rolldown app mode, we need to custom runtime to execute module.

A-transformer

@leaysgur This enables all test262 regexp tests, feel free to decide when's the right time to integrate. It seems like we need to add some pointing spans on the diagnostics....

A-parser
A-transformer
A-prettier

We need to run babel with the plugins we need to support over its test suite and compare against.

A-transformer

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...

@Boshen it is does not work. Example command is here ```bash ❯ time bunx oxlint --config ./packages/eslint-config-node/oxlintrc.json × eslint(max-lines): File has too many lines (385). ╭─[packages/eslint-config-base/airbnb-rules.cjs:1:1] 1 │ // eslint-disable-next-line...

Rendered example: Concrete example from test case `codeblock_ticks_help`: https://github.com/pacak/bpaf/blob/a479b6b21e772f536f2961bc56d3e4fe93612d72/tests/markdown.rs#L245 After an hour of debugging I found it's inserting the space here https://github.com/pacak/bpaf/blob/a479b6b21e772f536f2961bc56d3e4fe93612d72/src/meta_help.rs#L510 but removing it will break everything else. And...

Babel Option: https://babel.dev/docs/babel-preset-typescript#optimizeconstenums Example: Input: ``` const enum X { FOO } X.FOO ``` Output: ``` 0 /* X.FOO */; ```

C-enhancement

1. In napi/transform, all transformations are enabled, we need a way to disable these typescript and react transform individually via `typescript: false` and `react : false`. https://github.com/oxc-project/oxc/blob/ea908f742d8165e8a01aad5e3b2e68b3f6953dc0/napi/transform/index.d.ts#L197-L199 2. There are...

C-enhancement
P-high