-
Notifications
You must be signed in to change notification settings - Fork 16
Conversation
Add a .gitattributes that forces |
@@ -1,34 +1,18 @@ | |||
# linter-htmlhint | |||
|
|||
This linter plugin for [Linter](https://github.com/AtomLinter/Linter) provides | |||
an interface to [htmlhint](https://github.com/yaniswang/HTMLHint). It will be | |||
A plugin for [Atom Linter](https://github.com/AtomLinter/Linter) providing an interface to [HTMLHint](https://github.com/yaniswang/HTMLHint). It will be |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The correct URL is https://github.com/atom-community/linter, also it's just "Linter".
I think that's all for now, it would be nice if we could get specs added as well, but I'm okay with that being a separate PR for now. |
Yes, should be added. I'll send a PR to add specs later. |
installed, please follow the instructions [here](https://github.com/AtomLinter/Linter). | ||
|
||
### Plugin installation | ||
Linter package must be installed in order to use this plugin. If Linter is not installed, please follow the instructions [Linter]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want an example of what I was talking about, here is one that I recently wrote.
What you have here will work though if you change the last part to:
If [Linter] is not installed, it will be installed for you.
@@ -1,34 +1,23 @@ | |||
# linter-htmlhint | |||
|
|||
This linter plugin for [Linter](https://github.com/AtomLinter/Linter) provides | |||
an interface to [htmlhint](https://github.com/yaniswang/HTMLHint). It will be | |||
A plugin for [Linter](https://github.com/atom-community/linter) providing an interface to [HTMLHint]. It will be |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should just be [Linter]
to use your single defined URL down below 😉.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops...!
@johnwebbcole Any comments? |
I like the move to JS, I think we should also have a pull request for the Linter API to include a JS plugin example to go with the existing CS example. That way someone who is looking for the Has anyone confirmed that APM loads the Linter dependency if it's not already installed? Earlier versions didn't, which was why those instructions were in the readme. If it does, great! Lets bump the version up to 0.3 too, in case someone wants to live on the CS version. I haven't had a chance to use I'll try the branch out tonight. |
@johnwebbcole I've already updated the Linter API wiki page to have a JS provider a long time ago |
With other plugins we've bumped the major version number when a complete re-write has been done, just in case. As for @steelbrain could tell you more as I've mainly worked directly in Atom so far. |
@Arcanemagus Yes that's true, Atom intercepts each |
@johnwebbcole the I've had AtomLinter/Meta#8 open for a while regarding a "template" package, but haven't had a chance to actually implement it yet. Anyone have a reason this shouldn't be merged? LGTM currently, assuming it works 😛. |
@@ -0,0 +1,80 @@ | |||
'use babel'; | |||
|
|||
import path from 'path'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a side note that this will break in the future versions of node because they don't export a default
for you to use here, either do
import * as path from 'path'
or do
import {dirname as getDirNameFromPath} from 'path'
^ add anything you wanna import there
Overall, @1000ch I like what you did here. Good job 👍 |
@steelbrain Also fixed |
LGTM |
Merging it in since nobody else seems to be doing so 😛. Wwe can fix any remaining issues from there. |
I just published |
This should be reviewed & tested before merging...
ping: @Arcanemagus @johnwebbcole @steelbrain