Browse Source

allow global return in scripts

master
Conduitry 5 months ago
parent
commit
41fa36932a
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      .eslintrc.js

+ 1
- 0
.eslintrc.js View File

@ -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