question: how do I get vscode to format code according to the eslint specification? Now the saved code always reports an error.
question: how do I get vscode to format code according to the eslint specification? Now the saved code always reports an error.
prettier
search in the market. Configure Eslint Integration in the settings after installation.
upstairs prettier
is good, but prettier
can configure too few items, unless your eslint
settings are exactly the same as prettier
, prettier
can only help you correct part of the error report.
of course, if you want to avoid reporting errors at all, the best way is to change your irregular writing / delete `eslint
.
Previous: How to retrieve the password by adding the CAPTCHA code to django-rest-framework 's mobile phone