Answer the question
In order to leave comments, you need to log in
How to fix certain lintjs errors?
The task is to fix more than ten thousand lint errors in the project.
To make it easier, the tactic was chosen to take any error and correct it automatically (if possible) in all files, without touching other errors. For example, fix project-wide, according to lint, `comma-dangle`.
I read the doc - I did not find such opportunities (maybe I missed something), I found only this:
--fix-type
This option allows you to specify the type of fixes to apply when using either --fix or --fix-dry-run. The three types of fixes are:
problem - fix potential errors in the code
suggestion - apply fixes to the code that improve it
layout - apply fixes that do not change the program structure (AST)
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