Replies: 1 comment
-
By extending or replacing the ESLint config with one that uses |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am extending ESLint with some rules, and I have issues with the rules enforcement.
I want that all the issues with ESLint will be considered as warnings in Dev (or will be totally ignored), but some critical will consider as errors in production.
For example: the rule
no-debug
will be a warning in Dev but will be error in Prod (the build will fail if adebugger
command will be found in the code).How can I get such a behavior?
Beta Was this translation helpful? Give feedback.
All reactions