1
Fork 0

allow global return in scripts

This commit is contained in:
Conduitry 2020-04-05 18:04:03 -04:00
parent 6a5984880f
commit 41fa36932a
1 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
module.exports = { module.exports = {
root: true, root: true,
extends: '@conduitry', extends: '@conduitry',
parserOptions: { sourceType: 'script', ecmaFeatures: { globalReturn: true } },
env: { node: false }, env: { node: false },
globals: { GM: 'readable', unsafeWindow: 'readable' }, globals: { GM: 'readable', unsafeWindow: 'readable' },
}; };