How to disable the ‘Unexpected console statement.’ (no-console) in Eslint?

To disable the ‘Unexpected console statement.’ (no-console) error in Eslint, you require to add a rule in the .eslintrc.json file. In the rules section of the .eslintrc.json file add the following line: “no-console”:0 This will disable the error. You could do instead: “no-console”: “off” This would do the same thing, which is turn off any…

Read More