Skip to content
This repository has been archived by the owner on Jan 5, 2021. It is now read-only.

Use .jshintrc relative to file being hinted. #39

Merged
merged 8 commits into from
Jun 26, 2014
Merged

Conversation

sjurba
Copy link
Contributor

@sjurba sjurba commented Jun 22, 2014

I had a stab at changing the config loading behaviour, and ended up changing quite a bit of the code. You can take a look and see if you like some of the ideas.

Would fix #11 and #30

@erikdonohoo
Copy link

This needs to be merged so bad

@sjurba
Copy link
Contributor Author

sjurba commented Jun 25, 2014

Fixed a bug with the Settings view, and implemented reloading config when .jshintrc is changed or moved/deleted.

Would fix #33 and #20.

}
});
if (this.editor) {
this.unsubscribeEditor(editor);
Copy link
Owner

Choose a reason for hiding this comment

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

jshint tells me that editor is not defined, i'm assuming it should be this.editor?

@Joezo
Copy link
Owner

Joezo commented Jun 26, 2014

Once those two code comments are addressed i'm happy to merge this. Great work! It works flawlessly :)

@sjurba
Copy link
Contributor Author

sjurba commented Jun 26, 2014

Ok. Fixed. :)

I should have spotted those, but my atom-jshint wasn't working at the moment.. :)

@Joezo
Copy link
Owner

Joezo commented Jun 26, 2014

So the only problem is that if you rely on package.json to contain your config. It doesn't appear to watch for changes on that so to reload the config you have to re-open atom. That's no worse than the current situation so i'm happy to merge it.

Joezo pushed a commit that referenced this pull request Jun 26, 2014
Use .jshintrc relative to file being hinted.
@Joezo Joezo merged commit e956147 into Joezo:master Jun 26, 2014
@Joezo
Copy link
Owner

Joezo commented Jun 26, 2014

Released as 1.3.0 :) https://atom.io/packages/atom-jshint

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

Successfully merging this pull request may close these issues.

Context menu when right clicking line indicator
3 participants