Changes

Jump to: navigation, search

Mobile/Fennec/Android/Testing

683 bytes added, 17:44, 9 May 2016
Static analysis
=== Static analysis ===
There are some other tools to be found at the [[Mobile/Fennec/Android/Testing/Not_yet_in_common_use|Not yet in common use page]].
 
==== eslint ====
To use eslint, you must first set it up:
./mach eslint --setup # run once, or if the command breaks for some reason
./mach eslint mobile/android
 
* '''example checks?''' http://eslint.org/docs/rules/
* '''config?''' [http://mxr.mozilla.org/mozilla-central/find?string=.eslint&tree=mozilla-central&hint=mobile%2F mobile/*.eslintrc] & [http://mxr.mozilla.org/mozilla-central/source/.eslintignore root .eslintignore]
* '''open issues?''' Open a .eslintrc and enable checks.
* '''meta bug?''' [https://bugzilla.mozilla.org/show_bug.cgi?id=939329 meta bug]
* If you fix all issues for a warning, modify the appropriate .eslintrc to change your warning into an error!
== mochitest (plain and chrome) ==
Confirm
975
edits

Navigation menu