allow global return in scripts

This commit is contained in:
Conduitry 2020-04-05 18:04:03 -04:00
rodič 6a5984880f
revize 41fa36932a
1 změnil soubory, kde provedl 1 přidání a 0 odebrání

Zobrazit soubor

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