Tslint transformer can't handle ignores
- Dominant language
- JavaScript
- Stars
- 6.5k
- Forks
- 772
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
T'm trying to create a rule for TSLint. `// tslint:disable-next-line` does nothing, so I can't test if the rule I've created works correctly.
**To Reproduce**
(I've used official plugin https://github.com/palantir/tslint/blob/master/src/rules/typeofCompareRule.ts for demonstartion)
Steps to reproduce the behavior:
1. Go to https://astexplorer.net/#/gist/897b93231070b378c73e1894d14c399d/2f9820e3cd82edaae6fef0e94d4020cf0176608e
4. See error
**Expected behavior**
The error shouldn't be thrown because of the ignore comment.
**Browser (please complete the following information):**
- OS: [e.g. iOS] macOS
- Browser [e.g. chrome, safari] Chrome
- Version [e.g. 22] 71.0.3578.98
**astexplorer settings:**
- typescript with tslint trasformer
**Additional context**
Add any other context about the problem here.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.