-
Notifications
You must be signed in to change notification settings - Fork 90
Description
Is there a way to configure this plugin so that it always uses a globally installed 'eslint'?
I'm fine with it picking up local eslint configurations, but it's really troublesome that it picks up on locally installed eslint instances. That creates potential havoc where you think some version of eslint is running, but there happens to be a different version installed locally that you may not even know about. :/
The real problem I have is, I have written an eslint rule plugin that I have installed globally. I'm able to get my global eslint to load and use it just fine, even when running inside of Sublime. But if I happen to be in a directory where there's a local eslint installed, SublimeLinter-eslint chooses the local eslint, and that local eslint cannot see any globally installed eslint rule-plugins.
Moreover, since I'm the author of the eslint-rule plugin, when I distribute it to others, I would normally tell them to install it once, globally. But it's a huge footgun for my users that it may all of a sudden be broken if they switch into a directory on their machine where eslint happens to be locally installed.