dprint
core_d.js
dprint | core_d.js | |
---|---|---|
21 | 1 | |
2,963 | 63 | |
2.6% | - | |
8.5 | 6.2 | |
5 days ago | 6 months ago | |
Rust | JavaScript | |
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/ ?
core_d.js
-
Speed-up your Prettier formatting using prettierd
Yeah! And if we ever have the need to have another tool in the list of daemonized tools, we can do it using this: https://github.com/mantoni/core_d.js (as the author of prettierd documented). I find the approach very interesting!
What are some alternatives?
prettier - Prettier is an opinionated code formatter.
nvim-lspconfig - Quickstart configs for Nvim LSP
dotfiles - 👨🏻💻 My dotfiles including Neovim Lua config, ZSH with zinit plugin manager & powerlevel10k prompt
fkill - Fabulously kill processes. Cross-platform.
deno - A modern runtime for JavaScript and TypeScript.
apriori-rs - Apriori for association rule mining with Python bindings 🦀🐍
node-windows - Windows support for Node.JS scripts (daemons, eventlog, UAC, etc).
deno_lint - Blazing fast linter for JavaScript and TypeScript written in Rust
log-process-errors - Show some ❤️ to Node.js process errors