From 41fa36932a903eb8a88999172f019d9041589343 Mon Sep 17 00:00:00 2001 From: Conduitry Date: Sun, 5 Apr 2020 18:04:03 -0400 Subject: [PATCH] allow global return in scripts --- .eslintrc.js | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.js b/.eslintrc.js index 0a15a0f..073894f 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,6 +1,7 @@ module.exports = { root: true, extends: '@conduitry', + parserOptions: { sourceType: 'script', ecmaFeatures: { globalReturn: true } }, env: { node: false }, globals: { GM: 'readable', unsafeWindow: 'readable' }, };