web-ext icon indicating copy to clipboard operation
web-ext copied to clipboard

Check for lint while running an extension

Open kumar303 opened this issue 9 years ago • 5 comments

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.

kumar303 avatar Jul 20 '16 22:07 kumar303

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.

andymckay avatar Jul 20 '16 22:07 andymckay

The --scan-file option has landed in the linter (https://github.com/mozilla/addons-linter/pull/1100) so this should be doable now.

kumar303 avatar Feb 14 '17 15:02 kumar303

I would like to start working on this if no one minds. Want to cover linting issues in the next couple of weeks.

saintsebastian avatar Feb 17 '17 13:02 saintsebastian

Sorry, pressed the wrong button. Computers how do they work?

andymckay avatar Feb 17 '17 17:02 andymckay

This would be cool, is #817 still being worked on?

Uzay-G avatar Jan 06 '22 22:01 Uzay-G