From a8e17f715bc0bdcafd14a2a675fc04bf53dcb9af Mon Sep 17 00:00:00 2001 From: Ty Eggen Date: Mon, 23 Sep 2024 17:13:00 +0000 Subject: [PATCH] dev: improved stylelint formatting --- .stylelintrc.json | 11 ++++++++++- package.json | 1 + yarn.lock | 5 +++++ 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/.stylelintrc.json b/.stylelintrc.json index c6928af..3eb2feb 100644 --- a/.stylelintrc.json +++ b/.stylelintrc.json @@ -1,3 +1,12 @@ { - "extends": ["stylelint-config-standard", "stylelint-prettier/recommended"] + "$schema": "https://json.schemastore.org/stylelintrc.json", + "plugins": ["stylelint-prettier"], + "extends": [ + "stylelint-config-standard", + "stylelint-prettier/recommended", + "prettier" + ], + "rules": { + "prettier/prettier": true + } } diff --git a/package.json b/package.json index 7424129..ca784c6 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,7 @@ "eslint-plugin-standard": "^5.0.0", "prettier": "^3.3.3", "stylelint": "^16.9.0", + "stylelint-config-prettier": "^9.0.5", "stylelint-config-standard": "^36.0.1", "stylelint-prettier": "^5.0.2" } diff --git a/yarn.lock b/yarn.lock index 79ecc07..25a5913 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2489,6 +2489,11 @@ styled-jsx@5.1.1: dependencies: client-only "0.0.1" +stylelint-config-prettier@^9.0.5: + version "9.0.5" + resolved "https://registry.yarnpkg.com/stylelint-config-prettier/-/stylelint-config-prettier-9.0.5.tgz#9f78bbf31c7307ca2df2dd60f42c7014ee9da56e" + integrity sha512-U44lELgLZhbAD/xy/vncZ2Pq8sh2TnpiPvo38Ifg9+zeioR+LAkHu0i6YORIOxFafZoVg0xqQwex6e6F25S5XA== + stylelint-config-recommended@^14.0.1: version "14.0.1" resolved "https://registry.yarnpkg.com/stylelint-config-recommended/-/stylelint-config-recommended-14.0.1.tgz#d25e86409aaf79ee6c6085c2c14b33c7e23c90c6"