You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: