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

Option not working: "Disable When No Jshintrc File In Path" #181

Closed
ts-web opened this issue Dec 21, 2015 · 4 comments
Closed

Option not working: "Disable When No Jshintrc File In Path" #181

ts-web opened this issue Dec 21, 2015 · 4 comments
Labels

Comments

@ts-web
Copy link

ts-web commented Dec 21, 2015

After installing the plugin, I have my Desktop directory opened, which has no .jshintrc file. But opening my file es6_test.js still results in linting from JSHint.

I have a .jshintrc file in C:/, but it shouldn't be reading that, according to the documentation.

I have restarted Atom about twice; same result.

@Arcanemagus
Copy link
Member

It looks like currently we are using helpers.find() which will search up the drive till it finds a file or hits the root. Either the documentation needs to be updated or a different method of searching for that file needs to be used.

@ts-web Do you feel up to creating a PR for this?

@steelbrain
Copy link
Contributor

Does our behavior differ from the CLI jshint?

@Arcanemagus
Copy link
Member

Actually that's a good point, according to the docs jshint should be searching up to the drive root as well, so this isn't an issue.

Where were you seeing that it shouldn't be doing that @ts-web?

@ts-web
Copy link
Author

ts-web commented Dec 21, 2015

Oh, I see that the jshint docs specify that behavior of looking up the directory tree for the file.
I will close this issue. Thanks everyone.

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

No branches or pull requests

3 participants