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.
running npm run tslint runs tslint --project ./tslint.json which produces the following errors:
ERROR: app/aitr/Aitr.ItemView.ts[2, 1]: statements are not aligned
ERROR: app/aitr/Aitr.ItemView.ts[3, 1]: statements are not aligned
ERROR: app/aitr/Aitr.ItemView.ts[5, 1]: statements are not aligned
If run with --fix option, the code is modified to insert a single space as the first character in front of all three lines, as below. This is incorrect, as the statements are already aligned.
This happens for files encoded in UTF8 with BOM, when the first statement is on the first line.
I recently fixed the same problem for jsdoc-format. I'm already working on a fix.
Bug Report
TypeScript code being linted
with
tslint.json
configuration:Actual behavior
running
npm run tslint
runstslint --project ./tslint.json
which produces the following errors:ERROR: app/aitr/Aitr.ItemView.ts[2, 1]: statements are not aligned
ERROR: app/aitr/Aitr.ItemView.ts[3, 1]: statements are not aligned
ERROR: app/aitr/Aitr.ItemView.ts[5, 1]: statements are not aligned
If run with --fix option, the code is modified to insert a single space as the first character in front of all three lines, as below. This is incorrect, as the statements are already aligned.
This error is repeated for MANY other files, but not for all files in my project.
Expected behavior
No errors generated from above code.
The text was updated successfully, but these errors were encountered: