prettier-plugin-rust
dprint
prettier-plugin-rust | dprint | |
---|---|---|
10 | 21 | |
167 | 2,963 | |
- | 2.2% | |
4.1 | 8.5 | |
12 months ago | 4 days 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.
prettier-plugin-rust
- Oxlint – written in Rust – 50-100 Times Faster than ESLint
-
Is rustfmt abandoned? Will it ever format `let ... else` syntax?
Same code formatted by Prettier Rust
-
Minimalist Rust formatter as an alternative to rustfmt?
There are alternatives to rustfmt: Prettier Rust and genemichaels
- Prettier Rust: An opinionated code formatter that autocorrects bad syntax
-
Configuring rust format to add line break before comments start
If you're open to using an alternative, here's how Prettier Rust would format your snippet:
- Prettier code formatter for Rust
- Prettier for Rust
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/ ?
What are some alternatives?
rustfmt - Format Rust code [Moved to: https://github.com/rust-lang/rustfmt]
prettier - Prettier is an opinionated code formatter.
rustfmt - Format Rust code
nvim-lspconfig - Quickstart configs for Nvim LSP
topiary
dotfiles - 👨🏻💻 My dotfiles including Neovim Lua config, ZSH with zinit plugin manager & powerlevel10k prompt
darker - Apply black reformatting to Python files only in regions changed since a given commit. For a practical usage example, see the blog post at https://dev.to/akaihola/improving-python-code-incrementally-3f7a
deno - A modern runtime for JavaScript and TypeScript.
prettyplease - A minimal `syn` syntax tree pretty-printer
apriori-rs - Apriori for association rule mining with Python bindings 🦀🐍
cbfmt - A tool to format codeblocks inside markdown and org documents.
deno_lint - Blazing fast linter for JavaScript and TypeScript written in Rust