-
Notifications
You must be signed in to change notification settings - Fork 141
Do not consider configs in ~/
for Disable when no Eslint Config is found
setting
#773
Comments
Do you have an eslint config file in your home directory? If so, eslint
will try to use that.
…On Sun, Dec 25, 2016, 03:02 Miljan ***@***.***> wrote:
Issue Type
Bug on version 8.0.0
Issue Description
In my project I have no package.json nor a .eslintrc and when saving an
.js file an error prompt about Error: Failed to load plugin html: Cannot
find module 'eslint-plugin-html rise.
I just want to use nasty js code for this project, why this plugin cares
so much!? :)
Let me know if you need any additional information.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#773>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AEZyAaLMZVuq1w3kevu3T1bDIBX_ifBhks5rLiMigaJpZM4LVXMX>
.
|
If I wasn't clear, I meant your user home, as in Can you provide the output of the |
Ah sorry, yes, seems there is one I didn't know it even exist. That's quite confusing, in the Settings there is an option that states It becomes even more confusing when checking that the
|
Same here, linter-eslint is definitely running even though there is no
The error
Debug info
|
@nickjanssen, can you check for a config file in you user home directory? |
@IanVS there is no |
Ah, it turns out that the error was being thrown because of an The repo in question: https://github.com/exponent/ex-navigation |
No, the
It is because of the configuration cascade as described in the link above. This is standard behavior of ESLint, and is not changed by |
Are you proposing that when the option Anyways, I think I'm 👍 for not allowing |
~/
for Disable when no Eslint Config is found
setting
Some more details: Assuming
For example:
As |
Okay, from reading the above, and from this comment over in ESLint I'm going to go with a |
Issue Type
Bug on version 8.0.0
Issue Description
In my project I have no package.json nor a .eslintrc and when saving an .js file an error prompt about
Error: Failed to load plugin html: Cannot find module 'eslint-plugin-html
rise.I just want to use nasty js code for this project, why this plugin cares so much!? :)
Let me know if you need any additional information.
The text was updated successfully, but these errors were encountered: