module.exports = {
  extends: 'eslint:recommended',
  parserOptions: {
    sourceType: 'script',
    modules: true,
  },
  env: {
    es6: true,
    node: true,
    jest: true,
    mocha: true,
  },
  plugins: ['prettier'],
  rules: {
    'prettier/prettier': 'error',
  },
};

@@ -119,24 +119,43 @@
 %7D,%0A  env: %7B%0A
+    browser: true,%0A
     es6: tru

Enable 'browser' environment for ESLint