diff --git a/plugins/woocommerce-admin/.eslintrc.js b/plugins/woocommerce-admin/.eslintrc.js index e0d84dbf603..034cc11e02f 100644 --- a/plugins/woocommerce-admin/.eslintrc.js +++ b/plugins/woocommerce-admin/.eslintrc.js @@ -5,7 +5,6 @@ module.exports = { '@wordpress/i18n-translator-comments': 'warn', '@wordpress/valid-sprintf': 'warn', 'react-hooks/rules-of-hooks': 'warn', - '@wordpress/i18n-text-domain': 'warn', 'jsdoc/check-param-names': 'warn', 'jsdoc/require-param': 'warn', 'jsdoc/require-property': 'warn', diff --git a/plugins/woocommerce-admin/client/analytics/report/stock/table.js b/plugins/woocommerce-admin/client/analytics/report/stock/table.js index f9b6e193ae7..de6b1394b1a 100644 --- a/plugins/woocommerce-admin/client/analytics/report/stock/table.js +++ b/plugins/woocommerce-admin/client/analytics/report/stock/table.js @@ -155,19 +155,19 @@ class StockReportTable extends Component { value: formatValue( currency, 'number', products ), }, { - label: __( 'out of stock', outofstock, 'woocommerce-admin' ), + label: __( 'out of stock', 'woocommerce-admin' ), value: formatValue( currency, 'number', outofstock ), }, { - label: __( 'low stock', lowstock, 'woocommerce-admin' ), - value: formatValue( 'currency, number', lowstock ), + label: __( 'low stock', 'woocommerce-admin' ), + value: formatValue( currency, 'number', lowstock ), }, { - label: __( 'on backorder', onbackorder, 'woocommerce-admin' ), + label: __( 'on backorder', 'woocommerce-admin' ), value: formatValue( currency, 'number', onbackorder ), }, { - label: __( 'in stock', instock, 'woocommerce-admin' ), + label: __( 'in stock', 'woocommerce-admin' ), value: formatValue( currency, 'number', instock ), }, ]; diff --git a/plugins/woocommerce-admin/client/homescreen/index.js b/plugins/woocommerce-admin/client/homescreen/index.js index 74a9b599424..1a9d68d6e38 100644 --- a/plugins/woocommerce-admin/client/homescreen/index.js +++ b/plugins/woocommerce-admin/client/homescreen/index.js @@ -4,7 +4,6 @@ import { compose } from '@wordpress/compose'; import { withSelect } from '@wordpress/data'; import { identity } from 'lodash'; - import { getSetting } from '@woocommerce/wc-admin-settings'; import { ONBOARDING_STORE_NAME, diff --git a/plugins/woocommerce-admin/client/homescreen/stats-overview/index.js b/plugins/woocommerce-admin/client/homescreen/stats-overview/index.js index 02a2309d536..a69d65eebf3 100644 --- a/plugins/woocommerce-admin/client/homescreen/stats-overview/index.js +++ b/plugins/woocommerce-admin/client/homescreen/stats-overview/index.js @@ -12,7 +12,6 @@ import { __experimentalText as Text, } from '@wordpress/components'; import { get, xor } from 'lodash'; - import { EllipsisMenu, MenuItem,