-
Notifications
You must be signed in to change notification settings - Fork 889
typecheck errors on import break output format (--format json) #2809
Comments
once #2773 lands, you no longer need Until then the plugin could just ignore |
@ajaff the pr solves my problem. But the bug stand still. When trying this out I accidentally forgot to remove the --type-check flag, and it kept returning plain text. Without it I get json. But if the --project flag enables typecheck, tslint should have the same behavior with or without the flag. |
@cescoferraro I get your point about the current behavior being wrong, but this is very hard to do right. On the other hand, when using Maybe the flag will be deprecated at some point in time, that would solve the problem entirely. |
Great explanation! Will close this cause my issue is gone |
Bug Report
TypeScript code being linted
with
tslint.json
configuration:Actual behavior
This was pointed to my by on of flycheck contribuitors here
flycheck/flycheck#1253
cli
With the error fixed
With a error not on the import lines. as simple as
var cesco = 33
emacs
Expected behavior
always output json
The text was updated successfully, but these errors were encountered: