python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Visual Studio Code Prettier extension intermittently throws an error on formatting
I need to restart Visual Studio Code several times a day because the Prettier formatter extension (esbenp.prettier-vscode) throws errors. It is as if the extension gets confused after numerous success...
Clarice Bouwer
Votes: 0
Answers: 0
"Document contains trailing content not separated by a ... or --- line" syntax error when running prettier on yaml
I have this code in a YAML file.
# prettier-ignore
{% set data = load_setup_py_data(setup_file='./setup.py', from_recipe_dir=True) %}
package:
name: covalent
version: {{ data.get('version') }...
Scott Wyman Neagle
Votes: 0
Answers: 1
Prettier warns me about a trailing comma but after I remove it, it adds it back when I save the save
Prettier warns me that I need to remove trailing commas, then after I remove it the error goes away but Prettier adds that commas again by itself immediately I save. Please help, it seems like a confl...
Abaga
Votes: 0
Answers: 1
How to format the code on Git Push and Pull
I am currently working on development projects with different languages (TS, TSX) with different developers.
Moreover we use Prettier/ESLint, but it's a detail.
And some developers are used to develop...
Hardel
Votes: 0
Answers: 2