Hey, all. Following Hello and devtools, I landed eslint configuration files in mobile/android [1] and sub-directories, then cleaned up the issues [2]. You can now run eslint to catch syntax errors and any default rules I have not disabled on files that are not ignored! Yay!
For installation and run procedures, see the wiki: [3]. I recommend running it at least before check-in when changing JavaScript code to catch any unexpected bugs. Eventually I'd like for this to be enforced as a build step so it'd be good not to fall behind on the output either. Future development (e.g. removing rules, adding it as a build step) will take place off of the meta bug. [4] Let me know if you have questions! Thanks! - Mike (:mcomella) [1]: https://bugzilla.mozilla.org/show_bug.cgi?id=1170804 [2]: https://bugzilla.mozilla.org/show_bug.cgi?id=1177774 [3]: https://wiki.mozilla.org/Mobile/Fennec/Android/Lint/Eslint [4]: https://bugzilla.mozilla.org/show_bug.cgi?id=android-jslint
_______________________________________________ mobile-firefox-dev mailing list [email protected] https://mail.mozilla.org/listinfo/mobile-firefox-dev

