Bug(repo): yarn lint-fix
in this repository doesn't work on the eslint-plugin
package
#8733
Open
4 tasks done
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
bug
Something isn't working
repo maintenance
things to do with maintenance of the repo, and not with code/docs
Before You File a Bug Report Please Confirm You Have Done The Following...
Issue Description
In this repo's
package.json
=>scripts
, it hasRunning
yarn lint-fix
does not work for theeslint-plugin
package (the first half of the command), but it works for any other package (the second half of the command).Changing the first half of the command to be
npx nx run eslint-plugin:lint --skip-nx-cache
does not resolve the issue.Reproduction Repository Link
https://github.com/typescript-eslint/typescript-eslint
Repro Steps
yarn
if (Math.random()) console.log();
topackages/eslint-plugin/src/index.ts
yarn lint-fix
should add curly braces to theif
, and report theconsole.log
. Instead, it reports both errors and fixes neither.src/index.ts
in any other package works properly.Versions
Latest
main
The text was updated successfully, but these errors were encountered: