TSLint inspection severity
Hi,
I updated from Webstorm 2018.1 to 2018.2.2, and imported my previous settings.
Since the update, my custom inspection severity for TSLint is no longer recognized or used.
Webstorm flags all TSLint errors correctly as such (in the on-hover info box), but they are marked with the error severity in my code.
They are also being shown when I'm using the Next/Previous Highlighted Error navigation shortcuts.
I wanted to know if this was intented, or if maybe I failed to find a new setting to change that behavior.
Thanks for your time.
Please sign in to leave a comment.
this is the expected behavior: since the 2018.2, as a result of fixing https://youtrack.jetbrains.com/issue/WEB-26119, the error level set in the
tslint.jsonis used instead of the severity value specified in WebStorm.The new behavior is in line with that of ESLint support.
If you like to avoid setting severities for individual rules, TSLint also supports a "defaultSeverity" property that applies to all rules in a config that don't have an explicit severity.
we have a feature request for providing more control over highlighting, https://youtrack.jetbrains.com/issue/WEB-25697. Please vote for it to be notified on any updates; feel free to share your thoughts in the comments to this ticket
Thank you for your quick answer, I've done as suggested !