From a83b67158382e15a5deb81a1b4acb17966423fd9 Mon Sep 17 00:00:00 2001 From: Paul Robert Lloyd Date: Wed, 23 Oct 2024 17:25:57 +0100 Subject: [PATCH] Explicitly point to Prettier config for linting tasks --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 9383c7556..0e9d65442 100644 --- a/package.json +++ b/package.json @@ -11,8 +11,8 @@ "start": "gulp", "test": "npm run lint && npm run jest:ci", "lint": "npm run lint:js && npm run lint:css && npm run lint:html && npm run prettier", - "prettier": "prettier --check .", - "prettier:fix": "prettier --write .", + "prettier": "prettier --check . --config .prettierrc.js", + "prettier:fix": "prettier --write . --config .prettierrc.js", "lint:js": "eslint -c ./tests/linters/.eslintrc.js packages/components/**/*.js", "lint:js:fix": "eslint --fix -c ./tests/linters/.eslintrc.js packages/components/**/*.js", "lint:css": "stylelint -f verbose --config ./tests/linters/.stylelintrc.js packages/**/*.scss",