Answer the question
In order to leave comments, you need to log in
How to remove eslint warnings with one command?
Good afternoon! Please tell me who knows how to fix this with the team?
for example, such yarn run eslint -- --fix
an Ono, in principle, does not interfere, but I would like to take it away.
Thank you!
Answer the question
In order to leave comments, you need to log in
Install prettier .
Add it to .eslintrc :
{
"extends": [
"airbnb",
"prettier",
],
"plugins": [
"prettier"
],
"parser": "babel-eslint"
}
prettier --write
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question