VictorAugustoqwe / eslintErrorRep

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This repository is an error reproduction for Issue in vscode ESLint

Issue:
using format with ESLint in vscode fix all the problems, not only the specified through eslint.options.fixTypes in settings.json
fixError.js is the file that I'm trying to fix.

Setup:
Node v18.18.0
vscode extension ESLint v2.4.4
eslint v9.4.0

VSCode settings.json (related to ESLint extension)
"eslint.experimental.useFlatConfig": true,
"eslint.migration.2_x": "off",
"eslint.format.enable": true,
"eslint.options": {
"fixTypes": ["layout"]
}

both ESLint class example in "fixExample.js" and "npx eslint .\fixError.js --fix --fix-type layout" work properly

About


Languages

Language:JavaScript 100.0%