web-ext
web-ext copied to clipboard
Check for lint while running an extension
It might be nice to do this:
web-ext run --lint
This would check an extension for lint, run the extension in Firefox, watch for source changes, lint again when the source changes, reload the extension, and repeat. It would add a little bit of slowness but it might be useful.
That would be cool. I think we might want to land mozilla/addons-linter#413 then you could lint only the files that have changed and that might solve perf issues.
The --scan-file option has landed in the linter (https://github.com/mozilla/addons-linter/pull/1100) so this should be doable now.
I would like to start working on this if no one minds. Want to cover linting issues in the next couple of weeks.
Sorry, pressed the wrong button. Computers how do they work?
This would be cool, is #817 still being worked on?