-
Notifications
You must be signed in to change notification settings - Fork 23
Add a rulesDirectory property #36
Comments
Do you want to submit a PR for this? I don't believe this package has an active maintainer and I don't use it myself... |
I would like to submit it, but unfortunately I have never coded with CoffeeScript, and never used Atom API either. Can you give me some advices/orientation? |
I'm guessing you will want a configuration option to specify the rules directory, an example can be found for specifying options here, with how to properly You would then want to build the path to the rules directory somehow, either have the user specify the entire path and just use that, or let them make it relative to the current file in which case you would need to build the path on the fly. The first is much easier, but I don't know the common practice as to whether that would work better here. If you have any questions you can ask in the #linter channel on Atom's Slack, or keep commenting here 😉. |
Ok @Arcanemagus, thanks very much, I'll give it a try. Any idea how to test it? |
Not a clue, see my earlier comment about not actually using this linter 😛. |
@Arcanemagus Created the pull request #37. |
Today, we call the TSLint's Linter construction as follows:
But there is also a
rulesDirectory
property for custom rules created by users.Could you please add a parameter to the plugin, so we can set this parameter?
The text was updated successfully, but these errors were encountered: