dprint
dotfiles
Our great sponsors
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
- 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/ ?
- dprint – Instant JS/TS Code Formatter
dotfiles
-
LSP with efm and eslint suddenly stopped working.
have you tried updating EFM? I am using this config with eslint_d and haven't had any issues. https://github.com/disrupted/dotfiles/blob/master/.config/nvim/lua/efm/eslint_d.lua
-
Speed-up your Prettier formatting using prettierd
I couldn't get it to work with prettierd, but found prettier_d_slim which is a very similar alternative: https://github.com/disrupted/dotfiles/blob/master/.config/nvim/lua/efm/prettier_d.lua
What are some alternatives?
prettier - Prettier is an opinionated code formatter.
AstroVim - AstroNvim is an aesthetic and feature-rich neovim config that is extensible and easy to use with a great set of plugins [Moved to: https://github.com/AstroNvim/AstroNvim]
nvim-lspconfig - Quickstart configs for Nvim LSP
AstroNvim - AstroNvim is an aesthetic and feature-rich neovim config that is extensible and easy to use with a great set of plugins
deno - A modern runtime for JavaScript and TypeScript.
astro.nvim - Faster Neovim Configuration
apriori-rs - Apriori for association rule mining with Python bindings 🦀🐍
efm-langserver - General purpose Language Server
deno_lint - Blazing fast linter for JavaScript and TypeScript written in Rust
nvim-conf - ☄ Maddison's Neovim configuration!
lsp-mode - Emacs client/library for the Language Server Protocol
Dotfiles - There's no place like ~/