Skip to content

Commit

Permalink
Add submodule to prettierignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Heliozoa committed Sep 11, 2024
1 parent 67fc25e commit cbf23fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
# production
/build
/dist
/webview-ui/public/build

# misc
.DS_Store
Expand All @@ -24,3 +25,4 @@ yarn-error.log*
# shared
/src/shared
/webview-ui/src/shared
/submodules
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit cbf23fd

Please sign in to comment.