diff --git a/.eslintrc.js b/.eslintrc.js index b84ca0f93ff..1be390543e6 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,3 +1,4 @@ module.exports = { + root: true, extends: [ 'plugin:@woocommerce/eslint-plugin/recommended' ], }; diff --git a/plugins/woocommerce/.eslintrc.js b/plugins/woocommerce/.eslintrc.js index 8425ef80087..03f9124652e 100644 --- a/plugins/woocommerce/.eslintrc.js +++ b/plugins/woocommerce/.eslintrc.js @@ -1,7 +1,6 @@ /** @format */ module.exports = { - root: true, env: { browser: true, es6: true,