From cbf23fd810616aecc8d3e38ca1057526c5bfa6f1 Mon Sep 17 00:00:00 2001 From: Heliozoa Date: Wed, 11 Sep 2024 19:29:23 +0300 Subject: [PATCH] Add submodule to prettierignore --- .prettierignore | 2 ++ package.json | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.prettierignore b/.prettierignore index 32949b28..cd653e7d 100644 --- a/.prettierignore +++ b/.prettierignore @@ -9,6 +9,7 @@ # production /build /dist +/webview-ui/public/build # misc .DS_Store @@ -24,3 +25,4 @@ yarn-error.log* # shared /src/shared /webview-ui/src/shared +/submodules diff --git a/package.json b/package.json index fde30be3..ae6adcd7 100644 --- a/package.json +++ b/package.json @@ -35,8 +35,8 @@ "playwright-test": "npm run webview:build && npm run webpack && xvfb-maybe playwright test", "playwright-test-debug": "npm run webview:build && npm run webpack && xvfb-maybe playwright test --debug", "prepare": "ts-patch install && typia patch && husky", - "prettier": "prettier --write --ignore-path \"./src/shared/*\" --ignore-path \"./webview-ui/src/shared/*\" --ignore-path \"./.gitignore\" \"./**/*.{html,js,json,jsx,ts,yml}\"", - "prettier-check": "prettier --check --ignore-path \"./src/shared/*\" --ignore-path \"./webview-ui/src/shared/*\" --ignore-path \"./.gitignore\" \"./**/*.{html,js,json,jsx,ts,yml}\"", + "prettier": "prettier --write --ignore-path .prettierignore --ignore-path .gitignore --ignore-path \"./src/shared/*\" --ignore-path \"./webview-ui/src/shared/*\" \"./**/*.{html,js,json,jsx,ts,yml}\"", + "prettier-check": "prettier --check --ignore-path .prettierignore --ignore-path .gitignore --ignore-path \"./src/shared/*\" --ignore-path \"./webview-ui/src/shared/*\" \"./**/*.{html,js,json,jsx,ts,yml}\"", "release": "./bin/publishRelease.sh", "setup-ultimate": "git clean -X -d -f && git submodule update --init && npm run ci:all && cd backend && npm run setup", "pretest": "cross-env NODE_ENV=development BACKEND=mockBackend npm run webpack",