You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
Btw, I extracted this repro from a larger code base where I got the error. I managed to work around it now. With tslint4 our linting took about 17 seconds. Now with tslint5 it takes 7 seconds. Thank you for the performance boost 👍 🚀.
I temporarily removed the nested tslint.json file from the sub-tree. This way the rules from the parent tslint.json is applied to the code in the sub-tree. This gave me a bunch of error because the rules in the parent are not meant to be applied to the sub-tree (hence the nested tslint.json). However from these errors I filtered out only errors concerning no-consecutive-blank-lines, whitespace, and semicolon and fixed those in the sub-tree. Then I put the nested tslint.json back and it worked. Seems only those three rules are affected by this bug.
Bug Report
TypeScript code being linted
Minimal repro with failing travis build available here:
https://github.com/jonaskello/tslint-repro
Actual behavior
When I have nested tslint.json files the
no-consecutive-blank-lines
rule fails with this error:Error: Severity for rule 'no-consecutive-blank-lines not found
See the travis build for full stack.
The same seems to happen with the
whitespace
andsemicolon
rules.Expected behavior
To sucessfully lint without exceptions.
The text was updated successfully, but these errors were encountered: