diff --git a/.eslintrc.js b/.eslintrc.js index b14f7a54..5c383770 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,39 +1,22 @@ module.exports = { - parserOptions: { - 'sourceType': 'script', - 'ecmaVersion': 2017, - 'ecmaFeatures': { - 'experimentalObjectRestSpread': true, - 'impliedStrict': true, - 'modules': true, - 'blockBindings': true, - 'arrowFunctions': true, - 'objectLiteralShorthandMethods': true, - 'objectLiteralShorthandProperties': true, - 'templateStrings': true, - 'classes': true, - }, - }, - env: { 'browser': true, }, - + parserOptions: { + 'ecmaVersion': 2018, + }, globals: { 'web3': 'readonly', 'ethereum': 'readonly', 'MetamaskOnboarding': 'readonly', }, - plugins: [ 'json', ], - extends: [ '@metamask/eslint-config', '@metamask/eslint-config/config/nodejs', ], - ignorePatterns: [ '*bundle.js', ],