<div dir="ltr">Does <a href="https://wiki.mozilla.org/Loop/Development#All_Platforms">https://wiki.mozilla.org/Loop/Development#All_Platforms</a> cover the needed plugins?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Nov 28, 2015 at 1:44 PM, Mark Banner <span dir="ltr"><<a href="mailto:mbanner@mozilla.com" target="_blank">mbanner@mozilla.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 28/11/2015 15:56, Mark Finkle wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
When I run | mach eslint | I get this error:<br>
<br>
Error: Cannot find module 'eslint-plugin-mozilla'<br>
<br>
<br>
How do I get that plugin?<br>
<br>
</blockquote></span>
The best way to get eslint setup is:<br>
<br>
./mach eslint --setup<br>
<br>
That will install the necessary plugins for you.<br>
<br>
<br>
Note that the patch we landed on Friday which set up some basic .eslintrc files and added some basic checking for a few directories in browser/ (more than just loop) got backed out. I'll hopefully be able to reland it sometime this weekend.<br>
<br>
Once that relands, you should be able to do things like:<br>
<br>
./mach eslint browser<br>
<br>
to select which sub-directory you want to look at.<span class="HOEnZb"><font color="#888888"><br>
<br>
Mark.</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
firefox-dev mailing list<br>
<a href="mailto:firefox-dev@mozilla.org" target="_blank">firefox-dev@mozilla.org</a><br>
<a href="https://mail.mozilla.org/listinfo/firefox-dev" rel="noreferrer" target="_blank">https://mail.mozilla.org/listinfo/firefox-dev</a><br>
</div></div></blockquote></div><br></div>