Closed
Description
- @bgashler1
- Install the latest ESLint extension.
- create a workspace folder and install eslint into it (npm eslint)
- init eslint using eslint --init
- set some rules that have auto fixes (see http://eslint.org/docs/rules/)
- create a js file and violate some auto fixable rules:
- ensure that:
- you get a light bulb on these errors. You have to set the cursor at the beginning of the marker
- the light bulb lets you fix this error, all equal errors or every error in the file.
- ensure that the fixes are applied correctly and that the fixes don't harm the file
Disclaimer: If at a position two fixes exists then only one is applied since ESLint generates overlapping text edits which the extension filters again.