Our great sponsors
|1 day ago||23 days ago|
|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.
6 projects | dev.to | 17 Sep 2023
Code Formatting with Prettier: The code is automatically formatted with Prettier, ensuring consistency in writing style.
How I approach and structure Enterprise frontend applications after 4 years of using Next.js
5 projects | dev.to | 9 Sep 2023
Common mistakes that backend programmers make in Angular
2 projects | dev.to | 3 Sep 2023
However, my primary goal wasn't to fix all these linting errors, as I couldn't guarantee that doing so wouldn't introduce unforeseen issues. Instead, I chose to install husky and set up linting and automatic fixing exclusively for committed files. In cases where automatic fixing wasn't feasible, I encouraged the developers to follow the "boy scout rule" and address the errors they encountered. As I delved into these improvements, I also took the opportunity to seamlessly integrate and configure prettier alongside ESLint. After all, who enjoys scrolling through diffs or pull requests with only formatting changes? It just makes the code review process smoother and more pleasant for everyone involved.
How to start building a Next.js project
3 projects | dev.to | 2 Sep 2023
prettier - For automatic formatting of code files
Created a Markdown Desktop App with Tauri
2 projects | dev.to | 26 Aug 2023
During the document writing process, formatting can often interrupt your creative flow. Although Markdown has done away with formatting operations, sometimes you still need to pay attention to details like spaces between Chinese and English, and blank lines between paragraphs. MDX Editor uses prettier to format documents. Just press command+s to automatically format the document.
Do you know how to generate html strings with Emacs Lisp?
2 projects | /r/emacs | 26 Aug 2023
;; need prettier' utility installed - https://prettier.io (call-process-shell-command "prettier --write index.html" nil 0) ``
Prettier and lint your project with husky and git hooks
4 projects | dev.to | 25 Aug 2023
Let's install Prettier and ESLint:
Way to High Confidence: The Ideal Testing Trophy
11 projects | dev.to | 22 Aug 2023
Let's Make Learning Frontend Great Again!
11 projects | dev.to | 22 Aug 2023
LiveCodes provides many of the commonly used developer tools. These include Monaco editor (that powers VS Code), Prettier, Emmet, Vim/Emacs modes, Babel, TypeScript, SCSS, Less, PostCSS, Jest and Testing Library, among others. All these tools run seamlessly in the browser without any installations or configurations. It feels like a very light-weight version of your own local development environment including the keyboard shortcuts, IntelliSense and code navigation features.
Create a typescript utility library using Vite
6 projects | dev.to | 14 Aug 2023
I'm going with Prettier to format the code. Formatting helps us to keep our code uniform for every developer.
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
7 projects | news.ycombinator.com | 13 May 2023
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...))
: dprint is good, and I recommend it as the best code formatter I currently know of: https://dprint.dev/
What would you rewrite in Rust?
44 projects | /r/rust | 11 Feb 2023
What's the best way to generate code?
3 projects | /r/rust | 1 Nov 2022
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?
2 projects | news.ycombinator.com | 31 May 2022
Rome Formatter and Rust Update
2 projects | news.ycombinator.com | 9 Feb 2022
If it's speed you are looking for, give dprint (https://github.com/dprint/dprint) a try, it has a vscode plugin too.2 projects | news.ycombinator.com | 9 Feb 2022
Why not dprint? Does it not "produce a concrete syntax tree (CST) that represents the original code completely, whitespace, comments and all"?
I'm not terribly familiar with the architecture of dprint, but it's used in Deno with JS/TS plugin and works great so far.
Speed-up your Prettier formatting using prettierd
5 projects | /r/neovim | 15 Apr 2021
It is written in Rust, and the formatting is built into the Deno executable using a clone of Prettier https://dprint.dev/. You can use it as your main language server for web based JS/TS as well as Deno specific code.
Question about deno fmt
3 projects | /r/Deno | 14 Apr 2021
dprint is 99% the same as Prettier, I suggest you try it out and look at the diffs. I did, and reported any differences on https://github.com/dprint/dprint ... any differences all got fixed :)3 projects | /r/Deno | 14 Apr 2021
Internally (https://github.com/denoland/deno/blob/main/cli/tools/fmt.rs) deno seem to use https://github.com/dprint/dprint (hade never heard of this tool before).
What are some alternatives?
black - The uncompromising Python code formatter
prettier-plugin-organize-imports - Make Prettier organize your imports using the TypeScript language service API.
pretty-quick - ⚡ Get Pretty Quick
markdownlint-cli - MarkdownLint Command Line Interface
intellij-rainbow-brackets - 🌈Rainbow Brackets for IntelliJ based IDEs/Android Studio/HUAWEI DevEco Studio
PostCSS - Transforming styles with JS plugins
husky - Git hooks made easy 🐶 woof!
autopep8 - A tool that automatically formats Python code to conform to the PEP 8 style guide.