From c2ebf26c1c1cfa215f33909b76e173d8eb03b0df Mon Sep 17 00:00:00 2001 From: Luigi Teschio Date: Fri, 3 Dec 2021 10:07:51 +0100 Subject: [PATCH] Enable stylelint for the entire project woocommerce/woocommerce-blocks#5262 (https://github.com/woocommerce/woocommerce-blocks/pull/5298) Enable stylelint for the entire project --- plugins/woocommerce-blocks/package.json | 4 ++-- .../packages/checkout/components/checkbox-control/style.scss | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/woocommerce-blocks/package.json b/plugins/woocommerce-blocks/package.json index d66c2c9fe34..fbcd779c111 100644 --- a/plugins/woocommerce-blocks/package.json +++ b/plugins/woocommerce-blocks/package.json @@ -43,8 +43,8 @@ "fix-package-lock": "./bin/fix-package-lock.sh", "lint": "npm run lint:php && npm run lint:css && npm run lint:js", "lint:ci": "npm run lint:js && npm run lint:css", - "lint:css": "stylelint 'assets/**/*.scss'", - "lint:css-fix": "stylelint 'assets/**/*.scss' --fix", + "lint:css": "stylelint '**/*.scss'", + "lint:css-fix": "stylelint '**/*.scss' --fix", "lint:js": "wp-scripts lint-js --ext=js,ts,tsx", "lint:js:report": "npm run lint:js -- --output-file eslint_report.json --ext=js,ts,tsx --format json", "lint:js-fix": "eslint assets/js --ext=js,jsx,ts,tsx --fix", diff --git a/plugins/woocommerce-blocks/packages/checkout/components/checkbox-control/style.scss b/plugins/woocommerce-blocks/packages/checkout/components/checkbox-control/style.scss index 9d13e1f0e1d..408e3ce6c60 100644 --- a/plugins/woocommerce-blocks/packages/checkout/components/checkbox-control/style.scss +++ b/plugins/woocommerce-blocks/packages/checkout/components/checkbox-control/style.scss @@ -17,7 +17,7 @@ height: em(24px); width: em(24px); margin: 0; - margin-right: $gap; + margin-right: $gap; min-height: em(24px); min-width: em(24px); overflow: hidden;