dprint
oxc
dprint | oxc | |
---|---|---|
21 | 10 | |
2,950 | 8,927 | |
2.2% | 3.9% | |
8.5 | 10.0 | |
13 days ago | about 10 hours ago | |
Rust | Rust | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dprint
-
My opinion about opinionated Prettier: 👎
Currently, I am using ESLint for formatting of basic things like spacing and quotes. However, those rules were deprecated with v8.53.0 and moved to @stylistic/eslint-plugin. But they recommend Prettier or dprint.
- Oxlint – written in Rust – 50-100 Times Faster than ESLint
-
How do I stop Prettier from de-structuring object properties onto separate lines?
Prettier is opinionated. dprint is highly configurable.
-
Rome v12.1: a Rust-based linter formatter for TypeScript, JSX and JSON
I mean, I know I am a bad person because of those long names, but that is how life goes sometimes! And the blank line there at the top is just very important to like, catch one's breath, while reading this code.
(I'm really just posting this in the hopes that somebody will throw me a "Bro, just use hpstrlnt, it totally lets you configure that!" -- I have not actually tried Rome to see if it does (it's Monday morning and I'm not quite ready to be disappointed again...))
[1]: dprint is good, and I recommend it as the best code formatter I currently know of: https://dprint.dev/
- Is there an extension for forcing a code style?
- What would you rewrite in Rust?
-
What's the best way to generate code?
If it's something in the vein of one of those things then, worst case, you generate the code first, then run it through something like dprint.
- Ask HN: Alternatives to Prettier?
- dprint – Code Formatter
-
Announcing Rome Formatter
Why not compare Rome formatter to the actual competition, https://dprint.dev/ ?
oxc
- The JavaScript Oxidation Compiler
- Oxidation Compiler – JavaScript Tools in Rust
-
Oxlint – written in Rust – 50-100 Times Faster than ESLint
If I understand it right, we have 3 large projects that aim to replace most of JS tools on their own: Bun[0], Oxc[1] and Biome[2]. Bun's package manager is great, Biome formatter recently reached 96% compatibility with Prettier, and now Oxlint is apparently good enough to replace ESLint at Shopify. Exciting times ahead.
But it's giving the impression that these projects perhaps could be better off collaborating instead of each of them aiming to eat the world on their own?
[0] https://bun.sh/
[1] https://oxc-project.github.io/
[2] https://biomejs.dev/
-
Ask HN: Who wants to be hired? (December 2023)
Email: [email protected]
Hi, I'm u9g. I'm looking for an internship for either this winter (in a few weeks) or a summer internship!
Some things I've done:
I integrated a [query engine for lints](https://github.com/obi1kenobi/trustfall) (and contributed optimizations) into [OXC](https://github.com/oxc-project/oxc) (a new Rust-based Javascript Linter).
I wrote [several](https://github.com/u9g/money-lens) [toy](https://github.com/u9g/quickquestion/tree/main/extension) languages and syntax highlighting for them.
I also wrote a [js-to-scheme transpiler](https://github.com/u9g/js2scheme/blob/main/example.js).
Happy to work on things compiler or database oriented, but also happy to learn something new!
-
Why you should migrate to Rspack from webpack
Oxc (The Oxidation Compiler)
- JavaScript Oxidation Compiler
- Oxc – The JavaScript Oxidation Compiler
- GitHub - Boshen/oxc: The JavaScript Oxidation Compiler -> Linter
- Oxc: The fast JavaScript compiler and linter
What are some alternatives?
prettier - Prettier is an opinionated code formatter.
swc - Rust-based platform for the Web
nvim-lspconfig - Quickstart configs for Nvim LSP
lightningcss - An extremely fast CSS parser, transformer, bundler, and minifier written in Rust.
dotfiles - 👨🏻💻 My dotfiles including Neovim Lua config, ZSH with zinit plugin manager & powerlevel10k prompt
rspack-dashboard-page
deno - A modern runtime for JavaScript and TypeScript.
rslint - A (WIP) Extremely fast JavaScript and TypeScript linter and Rust crate
apriori-rs - Apriori for association rule mining with Python bindings 🦀🐍
CV - CV- Diego Lopez
deno_lint - Blazing fast linter for JavaScript and TypeScript written in Rust
lichess-extension - a simple and effective chrome extension for lichess