formatter
Here are 1,150 public repositories matching this topic...
Describe the bug
"EOF in multi-line statement" error is shown to the user as the raw tuple it was returned as, rather than in a nicely formatted message.
To Reproduce
For example:
- Take this (invalid) file:
print(- Run Black on it with no arguments
- See a message with the EOF error being shown as a raw tuple representation:
error: cannot format test
-
Updated
Oct 17, 2021 - Python
I'm struggling to understand what's wrong with this sample:
$ shfmt
@() {
echo "$@"
}
@ hello world\!
<standard input>:3:1: "}" can only be used to close a block-
Updated
Oct 21, 2021 - TypeScript
Good evening!
This is a feature request (AFAIKT there's no configuration option or duplicate issue for this).
In many cases where nightly rustfmt is applied by CI in public repositories, users will often run cargo fmt themselves directly or through their editor causing warnings arising from using the stable rustfmt where the nightly is required. E.g.:
$ cargo fmt
Warning
-
Updated
Oct 21, 2021 - Python
-
Updated
Oct 19, 2021 - TypeScript
-
Updated
Oct 21, 2021 - JavaScript
-
Updated
Sep 6, 2021 - Ruby
-
Updated
Oct 20, 2021 - Java
-
Updated
Oct 7, 2021 - Vim script
GDPR compliance
-
Updated
May 8, 2021 - Swift
-
Updated
Oct 19, 2021 - PHP
-
Updated
Oct 21, 2021 - C#
-
Updated
Aug 21, 2021 - Haskell
Update README.md
We need to update our README.md file before the 1.0 release.
-
Updated
Oct 12, 2021 - JavaScript
-
Updated
Sep 5, 2021 - TypeScript
-
Updated
Sep 29, 2021 - Go
-
Updated
Oct 2, 2021 - JavaScript
Improve this page
Add a description, image, and links to the formatter topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the formatter topic, visit your repo's landing page and select "manage topics."
Prettier 2.4.1
[Playground link](https://prettier.io/playground/#N4Igxg9gdgLgprEAuEAdKABAZhATgdwENcATAAgHIcIA6AZzDrorPwEsYALMgCnTLIASSAFsADtAQw6SMrjgkANOgCUAbnQhFICGJhtodZKGK4I+AArEERlIQA2RAJ5HtAI1yEwAazgwAyoQicAAybFBwyFgOdHDunj5+-mJe4QDmyDC4AK5xIHAibgokCiGEUGnZhGlwAGJ4IoQw+hXIIITZMBBaIJwwIvYA6pwccHQpYHD+NhxsAG4cTm2MriDhsbgwFp5pjVExeQBWdAAe-un2cACK2RDw+-ax2im4G20MTD1iuOEwg2wkLjIAAcAAZnmZYoNPG