diff --git a/.prettierrc.json b/.prettierrc.json index 5e2863a1..5ac85e27 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -1,5 +1,4 @@ { "printWidth": 100, - "singleQuote": true, - "trailingComma": "all" + "singleQuote": true } diff --git a/package.json b/package.json index faa7eb0b..c9ddda77 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "devDependencies": { "husky": "^8.0.0", "lint-staged": "^14.0.0", - "prettier": "^2.7.0" + "prettier": "^3.0.0" }, "packageManager": "yarn@3.1.0" } diff --git a/packages/react-date-picker/package.json b/packages/react-date-picker/package.json index 991b8503..bca9e49f 100644 --- a/packages/react-date-picker/package.json +++ b/packages/react-date-picker/package.json @@ -127,7 +127,7 @@ "eslint-config-wojtekmaj": "^0.9.0", "jsdom": "^21.1.0", "nodemon": "^3.0.0", - "prettier": "^2.7.0", + "prettier": "^3.0.0", "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^3.0.0", diff --git a/test/Test.css b/test/Test.css index fbc0b4f0..79d9684e 100644 --- a/test/Test.css +++ b/test/Test.css @@ -1,6 +1,9 @@ body { margin: 0; - font-family: Segoe UI, Tahoma, sans-serif; + font-family: + Segoe UI, + Tahoma, + sans-serif; } .Test header { diff --git a/test/index.html b/test/index.html index 4783f5f1..527286f6 100644 --- a/test/index.html +++ b/test/index.html @@ -1,4 +1,4 @@ - + diff --git a/test/package.json b/test/package.json index cec9d67a..dca072c7 100644 --- a/test/package.json +++ b/test/package.json @@ -30,7 +30,7 @@ "@vitejs/plugin-react": "^3.0.0", "eslint": "^8.26.0", "eslint-config-wojtekmaj": "^0.9.0", - "prettier": "^2.7.0", + "prettier": "^3.0.0", "typescript": "^5.0.0", "vite": "^4.0.0" } diff --git a/yarn.lock b/yarn.lock index 9b51ddf2..8d45aa3e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5010,12 +5010,12 @@ __metadata: languageName: node linkType: hard -"prettier@npm:^2.7.0": - version: 2.8.7 - resolution: "prettier@npm:2.8.7" +"prettier@npm:^3.0.0": + version: 3.0.3 + resolution: "prettier@npm:3.0.3" bin: - prettier: bin-prettier.js - checksum: fdc8f2616f099f5f0d685907f4449a70595a0fc1d081a88919604375989e0d5e9168d6121d8cc6861f21990b31665828e00472544d785d5940ea08a17660c3a6 + prettier: bin/prettier.cjs + checksum: e10b9af02b281f6c617362ebd2571b1d7fc9fb8a3bd17e371754428cda992e5e8d8b7a046e8f7d3e2da1dcd21aa001e2e3c797402ebb6111b5cd19609dd228e0 languageName: node linkType: hard @@ -5137,7 +5137,7 @@ __metadata: dependencies: husky: ^8.0.0 lint-staged: ^14.0.0 - prettier: ^2.7.0 + prettier: ^3.0.0 languageName: unknown linkType: soft @@ -5160,7 +5160,7 @@ __metadata: jsdom: ^21.1.0 make-event-props: ^1.6.0 nodemon: ^3.0.0 - prettier: ^2.7.0 + prettier: ^3.0.0 prop-types: ^15.6.0 react: ^18.2.0 react-calendar: ^4.6.0 @@ -5980,7 +5980,7 @@ __metadata: "@wojtekmaj/date-utils": ^1.1.3 eslint: ^8.26.0 eslint-config-wojtekmaj: ^0.9.0 - prettier: ^2.7.0 + prettier: ^3.0.0 react: ^18.2.0 react-date-picker: "workspace:packages/react-date-picker" react-dom: ^18.2.0