formatter
Here are 1,144 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 7, 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 6, 2021 - TypeScript
-
Updated
Aug 15, 2021 - Python
If the subset of a variable name is "in" inside of the for-loop's for ... in section and requires formatting with a comment around the in-keyword, an invalid output is produced.
For this input:
fn main() {
for variable_in_here /* ... */ in 0..1 {}
for variable_in_here in /* ... */ 0..1 {}
for variable_in_here
in /* ... */ 0..1 {}
for variable_in_here
-
Updated
Aug 30, 2021 - TypeScript
-
Updated
Oct 5, 2021 - JavaScript
-
Updated
Sep 6, 2021 - Ruby
-
Updated
Oct 10, 2021 - Java
-
Updated
Oct 7, 2021 - Vim script
GDPR compliance
-
Updated
May 8, 2021 - Swift
-
Updated
Oct 8, 2021 - PHP
-
Updated
Oct 7, 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 6, 2021 - JavaScript
-
Updated
Sep 29, 2021 - Go
-
Updated
Sep 5, 2021 - TypeScript
-
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