DevTools/CodingStandards: Difference between revisions

Jump to navigation Jump to search
Update ESLint version
(say where the main rules file is)
(Update ESLint version)
Line 11: Line 11:
* or [http://eslint.org/docs/user-guide/command-line-interface run it on the command line]. Note that ESLint has been integrated to our build system and has some Mozilla specific plugins so it should always be run from the command line using <code>./mach eslint</code>.
* or [http://eslint.org/docs/user-guide/command-line-interface run it on the command line]. Note that ESLint has been integrated to our build system and has some Mozilla specific plugins so it should always be run from the command line using <code>./mach eslint</code>.


Our ESLint rule set is meant to be used with ESLint 2.9.0.
Our ESLint rule set is meant to be used with ESLint 3.5.0.


The main rule set is defined in <code>./devtools/.eslintrc</code>.
The main rule set is defined in <code>./devtools/.eslintrc</code>.
Confirmed users
177

edits

Navigation menu