Skip to content

Commit

Permalink
Update Prettier to 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Sep 22, 2023
1 parent 1950e4d commit cb03712
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 15 deletions.
3 changes: 1 addition & 2 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"printWidth": 100,
"singleQuote": true,
"trailingComma": "all"
"singleQuote": true
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"devDependencies": {
"husky": "^8.0.0",
"lint-staged": "^14.0.0",
"prettier": "^2.7.0"
"prettier": "^3.0.0"
},
"packageManager": "[email protected]"
}
2 changes: 1 addition & 1 deletion packages/react-date-picker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
5 changes: 4 additions & 1 deletion test/Test.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
body {
margin: 0;
font-family: Segoe UI, Tahoma, sans-serif;
font-family:
Segoe UI,
Tahoma,
sans-serif;
}

.Test header {
Expand Down
2 changes: 1 addition & 1 deletion test/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en-US">
<head>
<meta charset="utf-8" />
Expand Down
2 changes: 1 addition & 1 deletion test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
16 changes: 8 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit cb03712

Please sign in to comment.