## Description The goal of this bounty is to fix "ESLint fix" getting stuck after an upgrade and config change. Steps to reproduce: - From this branch https://github.com/udecode/plate/tree/fix/client-only - run `yarn install` - run `yarn build` - `TIMING=1 DEBUG=eslint:cli-engine yarn eslint apps/www/src/app/_components/installation-tab.tsx --fix` should be stuck The root cause is ```json parserOptions: { project: true, }, ``` Which involves using tsconfig files to detect the ts files. There is probably something wrong in that part or in the tsconfig files. Expectation: - Fix should not be stuck anymore in `apps/www`, `packages/*` - Do not create an eslint config in each package - You could create a `tsconfig.eslint.json` like https://github.com/belgattitude/nextjs-monorepo-example/blob/main/packages/eslint-config-bases/tsconfig.json - Fix `apps/www` first to get a review Examples of repos that are working: - https://github.com/documenso/documenso <!-- POLAR PLEDGE BADGE START --> ## Funding * You can sponsor this specific effort via a [Polar.sh](https://polar.sh) pledge below * We receive the pledge once the issue is completed & verified <a href="https://polar.sh/udecode/plate/issues/3170"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://polar.sh/api/github/udecode/plate/issues/3170/pledge.svg?darkmode=1"> <img alt="Fund with Polar" src="https://polar.sh/api/github/udecode/plate/issues/3170/pledge.svg"> </picture> </a> <!-- POLAR PLEDGE BADGE END -->
Description
The goal of this bounty is to fix "ESLint fix" getting stuck after an upgrade and config change.
Steps to reproduce:
yarn installyarn buildTIMING=1 DEBUG=eslint:cli-engine yarn eslint apps/www/src/app/_components/installation-tab.tsx --fixshould be stuckThe root cause is
Which involves using tsconfig files to detect the ts files. There is probably something wrong in that part or in the tsconfig files.
Expectation:
apps/www,packages/*tsconfig.eslint.jsonlike https://github.com/belgattitude/nextjs-monorepo-example/blob/main/packages/eslint-config-bases/tsconfig.jsonapps/wwwfirst to get a reviewExamples of repos that are working:
Funding