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.
ERROR: /Users/Ali/workspace/x/y/z/Test.ts[172, 14]: Parentheses are prohibited around the parameter in this single parameter arrow function
After running TSLint, I'd like to copy the error path, go to the IDE (VSCode), and then directly go to the error positions. There are two problems with the way line and column numbers are printed:
there is a space between comma and the column number and macOS terminal fails to select the full path.
VScode does not recognize square brackets, e.g, [172,14] as a line and column numbers. TypeScript compiler uses () for reporting line and columns and that works fine with VSCode.
Expected behavior
I'd like to see the error message as:
ERROR: /Users/Ali/workspace/x/y/z/Test.ts(172,14): Parentheses are prohibited around the parameter in this single parameter arrow function
I can also create a Pull Request for this isse if this is something you think more people may find useful.
The text was updated successfully, but these errors were encountered:
@afroozeh Does the --formatter msbuild option help? And if using the VSCode terminal, (command + click)-ing the file paths takes the cursor directly to the start of the error in the editor pane.
Bug Report
Actual behavior
TSLint prints lint error in the console as:
After running TSLint, I'd like to copy the error path, go to the IDE (VSCode), and then directly go to the error positions. There are two problems with the way line and column numbers are printed:
Expected behavior
I'd like to see the error message as:
I can also create a Pull Request for this isse if this is something you think more people may find useful.
The text was updated successfully, but these errors were encountered: