Skip to content

Commit

Permalink
update prettier version and config
Browse files Browse the repository at this point in the history
  • Loading branch information
jjspace committed Sep 20, 2024
1 parent 8b4a16b commit 21acce1
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,5 @@ Specs/jasmine/**
Apps/Sandcastle/ThirdParty
Tools/jsdoc/cesium_template/static/javascript/prism.js
Tools/jsdoc/cesium_template/static/styles/prism.css
**/LICENSE.md

1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
3 changes: 3 additions & 0 deletions Apps/Sandcastle/gallery/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"printWidth": 90
}
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"mkdirp": "^3.0.1",
"node-fetch": "^3.2.10",
"open": "^10.0.2",
"prettier": "2.1.2",
"prettier": "^3.3.3",
"prismjs": "^1.28.0",
"request": "^2.79.0",
"rimraf": "^5.0.0",
Expand Down Expand Up @@ -139,20 +139,20 @@
"test-e2e-update": "playwright test -c Specs/e2e/playwright.config.js --project=chromium -u",
"deploy-status": "gulp deployStatus",
"deploy-set-version": "gulp deploySetVersion",
"prettier": "prettier --write --no-config \"**/*\"",
"prettier-check": "prettier --check --no-config \"**/*\""
"prettier": "prettier --write \"**/*\"",
"prettier-check": "prettier --check \"**/*\""
},
"engines": {
"node": ">=18.18.0"
},
"lint-staged": {
"*.{js,cjs,mjs,css,html}": [
"eslint --cache --quiet",
"prettier --write --no-config"
"prettier --write"
],
"*.md": [
"markdownlint",
"prettier --write --no-config"
"prettier --write"
]
},
"workspaces": [
Expand Down

0 comments on commit 21acce1

Please sign in to comment.