Open
Description
Currently if we make some changes to the userscripts in the Stay editor we can only wait to go to the browser and see that Stay crashed to know that we made a typo or a syntax error. This back and forth from Stay and the browser is very slow and prone to errors. Please add a javascript linter to the userscripts editor to catch errors before saving a modified script. In this way we can be sure that a userscript is valid before saving it and overwriting the previous version.
There are pluggable Javascript linters that support the GM syntax/environment. For example for ESLint you can use this: https://github.com/A-23187/eslint-config-greasemonkey
Thanks.
Metadata
Assignees
Labels
No labels
Activity