IDE marks TSLint warnings as errors Follow
Hi
Why are all my TSlint warnings marked as errors? I get red squiggly lines under warnings like "Unused imports", which is disrupting my flow since I need to check if it isn't a compilation error.
I disabled TSLint inspection but I still get the lines
thank you
Please sign in to leave a comment.
Can you attach screenshots of the error messages? Hover over the highlighted statement to see error tooltip and take a screenshot.
Normally the editor highlights the errors according to the severity levels specified in the TSLint configuration files by default. You can either set
warn
as defaultSeverity ({"defaultSeverity": "warn"}
) in yourtslint.json
or override it with a specific severity in IDE settings (Settings | Editor | Inspections | TypeScript | TSLint): uncheck Use rule severity from the configuration file to use the inspection severity for all linter rules: