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?
Asked
Active
Viewed 43 times
0
-
Please provide enough code so others can better understand or reproduce the problem. – Community Nov 24 '22 at 12:30