Boshen

Results 130 issues of Boshen

https://github.com/google/closure-compiler/tree/master/src/com/google/javascript/jscomp The following incomplete list is extracted from https://github.com/google/closure-compiler/blob/master/src/com/google/javascript/jscomp/DefaultPassConfig.java Optimizations: - [ ] [PeepholeFoldConstants](https://github.com/oxc-project/oxc/blob/main/crates/oxc_minifier/src/ast_passes/peephole_fold_constants.rs) - [ ] [PeepholeMinimizeConditions](https://github.com/oxc-project/oxc/blob/main/crates/oxc_minifier/src/ast_passes/peephole_minimize_conditions.rs) - [ ] [PeepholeRemoveDeadCode](https://github.com/oxc-project/oxc/blob/main/crates/oxc_minifier/src/ast_passes/peephole_remove_dead_code.rs) - [ ] [PeepholeSubstituteAlternateSyntax](https://github.com/oxc-project/oxc/blob/main/crates/oxc_minifier/src/ast_passes/peephole_substitute_alternate_syntax.rs) - [ ] PeepholeCollectPropertyAssignments...

A-minifier

``` TS(17019) x '!' at the end of a type is not valid TypeScript syntax. ,-[asdf.tsx:1:8] 1 | let x: asdf! : ^^^^^ `---- help: Did you mean to write...

C-enhancement

> [!NOTE] > > @leaysgur is currently examining the following options: > > - 1: Implement the existing Prettier-based code > - 2: Reuse the Biome code and start from...

C-enhancement
E-Help Wanted

I intend to add constant folding and eval logic to this crate. There are downstream tools that require these functionalities alone. It's also reasonable to move these traits out of...

A-parser
A-semantic
A-minifier
A-ast
A-transformer
A-isolated-declarations

We still lack a lot of APIs to make it compatible with esbuild / rollup.

C-enhancement

To reduce time on debugging our tools, we need a new tool for comparing against other tools. How I imagine this should work: ``` pbpaste | cargo run -p compare...

C-enhancement

https://github.com/oxc-project/oxc/blob/09e41c2c26b2db565cd0fece38b6c65f19c71a73/crates/oxc_codegen/src/lib.rs#L170-L226 I find these APIs confusing to use. The intention was to only pass in comments if you want to enable comments, but now we have 2 options: https://github.com/oxc-project/oxc/blob/09e41c2c26b2db565cd0fece38b6c65f19c71a73/crates/oxc_codegen/src/lib.rs#L39-L56 These...

C-enhancement

@DonIsaac and I had a meeting and agreed to introduce the following features for a Oxlint Beta release. This feature list is minimal due to our lack of time and...

C-enhancement
A-linter

Example of babel output: ``` return /*#__PURE__*/_jsx(DndContext, { sensors: sensors, onDragEnd: onDragEnd, modifiers: modifiers, children: /*#__PURE__*/_jsx(SortableContext, { disabled: !draggable, items: properties, children: children(filteredProperties) }) }); ``` We lack `/*#__PURE__*/`.

C-enhancement
A-transformer
A-codegen

Background: * https://github.com/rust-lang/rust-clippy/issues/10202 * https://github.com/rust-lang/rust-clippy/pull/13435 A quick grep: ``` crates/oxc_linter/src/rules/nextjs/no_typos.rs|136 col 22| for (i, s1) in a.chars().enumerate() { crates/oxc_linter/src/rules/nextjs/no_typos.rs|138 col 26| for (j, s2) in b.chars().enumerate() { ``` ``` crates/oxc_codegen/src/lib.rs|318...

C-enhancement
good first issue
A-linter