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
...dangerously disable linting on build. I think it be a lot more useful to be able to ignore specific rules during development but NOT ignore them during build. Like the 'no-console' rule which should be enabled during development but not in build.
I'm not sure this would be good though...
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
-
In
next.config.js
you can add...dangerously disable linting on build. I think it be a lot more useful to be able to ignore specific rules during development but NOT ignore them during build. Like the
'no-console'
rule which should be enabled during development but not in build.I'm not sure this would be good though...
since that would disable eslint all-together during development. So how to solve this, i don't know, but perhaps something like this:
Beta Was this translation helpful? Give feedback.
All reactions