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
I'm setting up check as an npm script on my application and I would like to use it as a gate for repository builds. However, it seems most of the rules only output warnings and the only way I've seen to make warnings fail is to integrate Prettier with Eslint and use --max-warnings=0.
Is there a way to mark rules as errors or force check to fail if there are warnings or errors?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm setting up
check
as annpm
script on my application and I would like to use it as a gate for repository builds. However, it seems most of the rules only output warnings and the only way I've seen to make warnings fail is to integrate Prettier with Eslint and use--max-warnings=0
.Is there a way to mark rules as errors or force check to fail if there are warnings or errors?
Beta Was this translation helpful? Give feedback.
All reactions