Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Parse tslint.json using the configured linter. #85

Merged
merged 1 commit into from
May 2, 2016

Conversation

pwnall
Copy link
Contributor

@pwnall pwnall commented Apr 30, 2016

Currently, the linter configuration (tslint.json) is located and parsed using the tslint module packaged with the plugin. This is incorrect when another version of tslint is in use, which happens when useLocalTslint is true, and a suitable tslint version is found.

This is preventing me from using this atom plugin, because I'm using a tslint version that allows comments in the JSON configuration, but the tslint packaged with atom doesn't support that yet. In any case, it seems wrong to parse the configuration with one version of tslint, and then use it with another version.

Please consider merging this, and thank you very much for your work on this plugin!

Currently, the linter configuration (tslint.json) is located and parsed
using the tslint module packaged with the plugin. This is incorrect when
another version of tslint is in use, which happens when useLocalTslint
is true, and a suitable tslint version is found.
@Arcanemagus Arcanemagus added the bug label May 2, 2016
@Arcanemagus
Copy link
Member

Thanks for the fix!

@Arcanemagus Arcanemagus merged commit a3910a6 into AtomLinter:master May 2, 2016
@Arcanemagus
Copy link
Member

Published in v0.9.3 🎉.

@pwnall
Copy link
Contributor Author

pwnall commented May 2, 2016

@Arcanemagus Thank you very much for the quick turnaround!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants