- Rollup Plugin Name: @rollup/plugin-eslint
- Rollup Plugin Version: 8.0.2
- Rollup Version: 2.77.2
- Operating System (or Browser): Windows
- Node Version: 14.19.0
- Link to reproduction (⚠️ read below): https://replit.com/@aiden271828/rollup?v=1
Expected Behavior
Resolve the conflict between @rollup/plugin-typescript and @rollup/plugin-eslint
Actual Behavior
@rollup/plugin-eslint uses the file compiled by @rollup/plugin-typescript for verification.
Additional Information
According to my example, there is no error when running npm run eslint, but there is an error when running npx rollup -c. The reason is that @rollup/plugin-eslint uses the file compiled by @rollup/plugin-typescript for verification.
I found a library to solve this problem. You can refer to it. https://www.npmjs.com/package/rollup-plugin-eslint2.
Expected Behavior
Resolve the conflict between
@rollup/plugin-typescriptand@rollup/plugin-eslintActual Behavior
@rollup/plugin-eslintuses the file compiled by@rollup/plugin-typescriptfor verification.Additional Information
According to my example, there is no error when running
npm run eslint, but there is an error when runningnpx rollup -c. The reason is that@rollup/plugin-eslintuses the file compiled by@rollup/plugin-typescriptfor verification.I found a library to solve this problem. You can refer to it. https://www.npmjs.com/package/rollup-plugin-eslint2.