From 8340f9acd06e31bf74ac060f0af12fe9d931142e Mon Sep 17 00:00:00 2001 From: Patrick Marsceill Date: Fri, 24 Apr 2020 15:09:51 -0400 Subject: [PATCH] Fix prettier config --- .stylelintrc.json | 3 ++- package.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.stylelintrc.json b/.stylelintrc.json index ed5f8bc..886ba43 100644 --- a/.stylelintrc.json +++ b/.stylelintrc.json @@ -5,8 +5,9 @@ "_sass/vendor/**/*.scss" ], "extends": [ + "stylelint-config-primer", "stylelint-prettier/recommended", - "stylelint-config-primer" + "stylelint-config-prettier" ], "plugins": ["stylelint-prettier"], "rules": { diff --git a/package.json b/package.json index 81d1d07..a9fd8e1 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,8 @@ }, "scripts": { "test": "stylelint '**/*.scss'", - "format": "prettier --write '**/*.{scss,js,json}'" + "format": "prettier --write '**/*.{scss,js,json}'", + "stylelint-check": "stylelint-config-prettier-check" }, "dependencies": {} }