-
Notifications
You must be signed in to change notification settings - Fork 888
Output prose format other than documented #4515
Comments
Yup, this was changed in #4222 following discussion in #3861. This better aligns with the output of TypeScript and common test formats. It looks like that page has the right format documented?
|
No. It should say |
Oh, yes, you're right 😄 this should be changed. |
Thanks. Can you provide input on if there is a ERROR/WARNING prefix always? |
Correct: tslint/src/language/rule/rule.ts Line 101 in 28ae0c1
|
Bug Report
Apparently the output format has changed.
Is it intentional?
If so, it has not been changed in the documentation.
https://palantir.github.io/tslint/formatters/prose/
with
tslint.json
configuration:Actual behavior
➜ test-tslint tslint --project tsconfig.json -t prose WARNING: /home/ender/workspace/test-tslint/test.ts:3:13 - Missing semicolon WARNING: /home/ender/workspace/test-tslint/test.ts:5:1 - Calls to 'console.log' are not allowed.
Expected behavior
➜ test-tslint tslint --project tsconfig.json -t prose WARNING: /home/ender/workspace/test-tslint/test.ts[3,13]: Missing semicolon WARNING: /home/ender/workspace/test-tslint/test.ts[5,1]: Calls to 'console.log' are not allowed.
The text was updated successfully, but these errors were encountered: