From 3ba275e6c9a24a0e1121b862d1eae39f3381c0c3 Mon Sep 17 00:00:00 2001 From: roykho Date: Tue, 14 Dec 2021 09:14:54 -0800 Subject: [PATCH] Deprecate stylelint-config-wordpress with current package --- .stylelintrc | 2 +- packages/js/e2e-environment/package.json | 1 - plugins/woocommerce/legacy/.stylelintrc | 2 +- plugins/woocommerce/legacy/package.json | 2 +- plugins/woocommerce/package.json | 3 +-- 5 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.stylelintrc b/.stylelintrc index 59af9ca1e9b..b727699279b 100644 --- a/.stylelintrc +++ b/.stylelintrc @@ -1,3 +1,3 @@ { - "extends": "stylelint-config-wordpress", + "extends": "@wordpress/stylelint-config", } diff --git a/packages/js/e2e-environment/package.json b/packages/js/e2e-environment/package.json index ebb03adbcbf..a80f2e87028 100644 --- a/packages/js/e2e-environment/package.json +++ b/packages/js/e2e-environment/package.json @@ -38,7 +38,6 @@ "devDependencies": { "@babel/cli": "7.12.8", "@babel/core": "7.12.9", - "@babel/polyfill": "7.12.1", "@babel/preset-env": "7.12.7", "@wordpress/eslint-plugin": "7.3.0", "eslint": "^8.1.0", diff --git a/plugins/woocommerce/legacy/.stylelintrc b/plugins/woocommerce/legacy/.stylelintrc index 59af9ca1e9b..b727699279b 100644 --- a/plugins/woocommerce/legacy/.stylelintrc +++ b/plugins/woocommerce/legacy/.stylelintrc @@ -1,3 +1,3 @@ { - "extends": "stylelint-config-wordpress", + "extends": "@wordpress/stylelint-config", } diff --git a/plugins/woocommerce/legacy/package.json b/plugins/woocommerce/legacy/package.json index b927fe79485..8e3d83a635a 100644 --- a/plugins/woocommerce/legacy/package.json +++ b/plugins/woocommerce/legacy/package.json @@ -26,6 +26,6 @@ "gruntify-eslint": "5.0.0", "sass": "^1.45.0", "stylelint": "13.8.0", - "stylelint-config-wordpress": "17.0.0" + "@wordpress/stylelint-config": "19.1.0" } } diff --git a/plugins/woocommerce/package.json b/plugins/woocommerce/package.json index 61de271ec21..0702a13dd2f 100644 --- a/plugins/woocommerce/package.json +++ b/plugins/woocommerce/package.json @@ -34,7 +34,6 @@ "@babel/cli": "7.12.8", "@babel/core": "7.12.9", "@babel/eslint-parser": "^7.16.5", - "@babel/polyfill": "7.12.1", "@babel/preset-env": "7.12.7", "@babel/register": "7.12.1", "@typescript-eslint/eslint-plugin": "3.10.1", @@ -66,7 +65,7 @@ "mocha": "7.2.0", "prettier": "npm:wp-prettier@2.0.5", "stylelint": "^13.8.0", - "stylelint-config-wordpress": "17.0.0", + "@wordpress/stylelint-config": "19.1.0", "typescript": "3.9.7", "webpack": "4.44.2", "webpack-cli": "3.3.12",