Skip to content

TSLint: distinguish warnings from errors#663

Merged
w0rp merged 2 commits into
dense-analysis:masterfrom
mrpeabody:master
Jun 18, 2017
Merged

TSLint: distinguish warnings from errors#663
w0rp merged 2 commits into
dense-analysis:masterfrom
mrpeabody:master

Conversation

@mrpeabody

Copy link
Copy Markdown
Contributor

Currently TSLint linter displays everything as errors. After looking at the source code, I've modified the regex to detect tslint message type so that ALE can show warnings correctly.

@w0rp w0rp left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add a Vader test to cover this? Look at the existing tests for examples.

@mrpeabody

Copy link
Copy Markdown
Contributor Author

Added the test :)

@w0rp w0rp left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. 👍

@w0rp w0rp merged commit 11e1766 into dense-analysis:master Jun 18, 2017
@w0rp

w0rp commented Jun 18, 2017

Copy link
Copy Markdown
Member

Cheers! 🍻

@mrpeabody

Copy link
Copy Markdown
Contributor Author

By the way, wanted to tell you, this plugin is awesome, I'm positive in a year or so syntastic will be history :D

@w0rp

w0rp commented Jun 19, 2017

Copy link
Copy Markdown
Member

Syntastic was a great inspiration for this plugin, and LCD's comments on what to do for improving on what was there really helped a lot. With the help of others, eventually ALE should get support for all of the same linters and more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants