GNOME Bugzilla – Bug 779624
Add javascript linting using eslint
Last modified: 2017-03-07 04:01:00 UTC
Hello again, this time I'm adding javascript linting using eslint. It is a simple plugin to get the diagnostics of a javascript file from eslint. To use it eslint must be installed and a eslint configuration file needs to be in the project directory. It is disabled by default, so it won't impact normal users. Thanks, Georg
Created attachment 347275 [details] [review] eslint plugin: add javascript linting using eslint This adds support for linting javascript files using eslint. An eslint configuration file must be present in the project directory. http://eslint.org/
Review of attachment 347275 [details] [review]: Excellent work! We probably need to come up with a strategy to let the user know we couldn't find eslint. But we don't have a good place to show the user that yet. Maybe underneath the preference. Although that will be complicated in that it will require checking per-runtime, rather than globally.
Attachment 347275 [details] pushed as 548fef6 - eslint plugin: add javascript linting using eslint