polygonplanet / sublime-text-eslint

ESLint any JavaScript file in Sublime Text
24 stars 7 forks source link

Enables the use of the global eslint module #23

Closed rfp closed 5 years ago

rfp commented 5 years ago

I had this same problem (https://github.com/polygonplanet/sublime-text-eslint/pull/21#commitcomment-30648166)

If i don't add the nodeModulesPath to the require, the loader cannot find the eslint module.

I did not fully test this, but it should work.

polygonplanet commented 5 years ago

Thanks, I have tested this.