On Thu, Feb 23, 2017 at 5:56 PM, Jared Wein <jw...@mozilla.com> wrote:

> Does the ESLint support hook in to the mozilla-eslint configuration? Can
> you please update https://developer.mozilla.org/en-US/docs/ESLint or
> https://wiki.mozilla.org/DevTools/CodingStandards#JS_linting_with_ESLint
> with any steps required to configure this plugin?
>

It's quite trivial, in settings.json just set "eslint.nodePath" to path to
the src tree node_modules. Strangely enough (or maybe not) in my case it
also worked to just set it to the relative path starting from the src dir
"tools/lint/eslint/node_modules/.bin".
I agree it's worth to add to the documentation.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to