0

I'd like to have no-console as 'warn' in my eslint config (eslintrc) when coding, but in my lint-staged (where I run eslint --fix in addition to prettier --write) I'd want it to be 'no-console': 'error', so that it wont push up code with console.log in it. Anyone with an idea/smart fix for this?

dreamc4t
  • 9
  • 3

0 Answers0