diff --git a/plugins/woocommerce-beta-tester/.eslintignore b/plugins/woocommerce-beta-tester/.eslintignore index 121531af846..84cb3903f19 100644 --- a/plugins/woocommerce-beta-tester/.eslintignore +++ b/plugins/woocommerce-beta-tester/.eslintignore @@ -1 +1,5 @@ *.min.js +build +build-module +node_modules +vendor diff --git a/plugins/woocommerce-beta-tester/.eslintrc b/plugins/woocommerce-beta-tester/.eslintrc index 11df660befd..c3baa9032fb 100644 --- a/plugins/woocommerce-beta-tester/.eslintrc +++ b/plugins/woocommerce-beta-tester/.eslintrc @@ -1,5 +1,6 @@ { "root": true, + "extends": [ "plugin:@woocommerce/eslint-plugin/recommended" ], "env": { "browser": true, "node": true @@ -17,7 +18,14 @@ "code": 140 } ], - "no-console": 1 + "no-console": 1, + // temporary conversion to warnings until the below are all handled. + "@wordpress/i18n-translator-comments": "warn", + "@wordpress/valid-sprintf": "warn", + "jsdoc/check-tag-names": [ + "error", + { "definedTags": [ "jest-environment" ] } + ] }, "parserOptions": { "ecmaVersion": 6 diff --git a/plugins/woocommerce-beta-tester/admin/.eslintignore b/plugins/woocommerce-beta-tester/admin/.eslintignore deleted file mode 100644 index 4f1bee5a1d4..00000000000 --- a/plugins/woocommerce-beta-tester/admin/.eslintignore +++ /dev/null @@ -1,6 +0,0 @@ -bin/* -!.eslintrc.js -build -build-module -node_modules -vendor diff --git a/plugins/woocommerce-beta-tester/admin/.eslintrc.js b/plugins/woocommerce-beta-tester/admin/.eslintrc.js deleted file mode 100644 index 661ed1128f7..00000000000 --- a/plugins/woocommerce-beta-tester/admin/.eslintrc.js +++ /dev/null @@ -1,12 +0,0 @@ -module.exports = { - extends: [ 'plugin:@woocommerce/eslint-plugin/recommended' ], - rules: { - // temporary conversion to warnings until the below are all handled. - '@wordpress/i18n-translator-comments': 'warn', - '@wordpress/valid-sprintf': 'warn', - 'jsdoc/check-tag-names': [ - 'error', - { definedTags: [ 'jest-environment' ] }, - ], - }, -};