Answer the question
In order to leave comments, you need to log in
How to format js code (react) in VS code so that it wraps line by line in large objects?
Good afternoon. Stupid question, I started experimenting with eslint, prettier, and as a result, js code (react) stopped line-by-line, before, when formatting ctrl + shift + i, each property was on a new line, but now like this:
I put different plugins (such as for react from arbnb) for the ift, but I realized that for now it only bothers me, as a result, I deleted it and left a simple list of rules for the prettier
{
"printWidth": 100,
"trailingComma": "all",
"tabWidth": 2,
"semi" : true
}
There is also a setting for formatting when saving, but it does not format the transfer, please tell me what could be the matter.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question