create-react-app-typescript icon indicating copy to clipboard operation
create-react-app-typescript copied to clipboard

Disable linter errors in dev mode?

Open lazarljubenovic opened this issue 7 years ago • 2 comments

Is it possible to disable linter errors in dev mode and downgrade them to a warning? I comment a line of code to test something and then my import is unused and I'm staring at the error screen. I want to be notified by what I did in a form of an error in console (browser and/or terminal), but it shouldn't get in the way of me seeing the app in dev mode.

lazarljubenovic avatar Jul 09 '18 08:07 lazarljubenovic

Related to #171, #333.

masaeedu avatar Jul 09 '18 14:07 masaeedu

I believe you can use "defaultSeverity": "warning" in tslint.json for now.

nickserv avatar Jul 25 '18 15:07 nickserv