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.
Prints true. The source file used for linting should be the same as the one used for the program.
I want to write a rule that uses the type checker to get information about nodes as I recurse. I can't do that if it uses a different AST.
The text was updated successfully, but these errors were encountered:
But the getText() and individual offsets would all be the same right? The === is a reference comparison so I don't think you can use that for these objects that are created at different times
Bug Report
master
2.1.4
(the one inpackage.json
)./bin/tslint --test test/rules/my-rule
TypeScript code
being lintedActual behavior
Prints
false
.Expected behavior
Prints
true
. The source file used for linting should be the same as the one used for the program.I want to write a rule that uses the type checker to get information about nodes as I recurse. I can't do that if it uses a different AST.
The text was updated successfully, but these errors were encountered: