You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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 runningnpx 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.
The text was updated successfully, but these errors were encountered: