Browse Source

allow global return in scripts

master
Conduitry 1 year ago
parent
commit
41fa36932a
  1. 1
      .eslintrc.js

1
.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' },
};

Loading…
Cancel
Save