Boshen
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...
``` 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...
> [!NOTE] > > @leaysgur is currently examining the following options: > > - 1: Implement the existing Prettier-based code > - 2: Reuse the Biome code and start from...
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...
We still lack a lot of APIs to make it compatible with esbuild / rollup.
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...
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...
@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...
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__*/`.
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...