Fork me on GitHub
#emacs
<
2016-09-07
>
tanzoniteblack00:09:00

yeah; I just install eslint-babel and other ones I need globally too, to avoid having to set up per project local executables

tanzoniteblack00:09:24

If I recall correctly, they don’t get invoked unless your project’s config specifies, so they just stay out of the way on other projects

ustunozgur16:09:30

@vinnyataide just configure eslint to the local eslint executable

ustunozgur16:09:34

not the global one

ustunozgur16:09:25

M-x customize-variable flycheck-javascript-eslint-executable

ustunozgur16:09:46

tto /path/to/my/project/node_modules/.bin/eslint

ustunozgur16:09:05

Also watch this thread to see if they fix it properly in eslint: https://github.com/eslint/eslint/issues/1238

ustunozgur16:09:09

but it is locked.

ustunozgur16:09:14

I guess you could also set the variable to "npm run eslint"

ustunozgur16:09:22

so that it can be project independent.

ustunozgur16:09:04

or even alias eslint to npm run eslint so that it behaves on command line too.