Skip to content

Commit 6549885

Browse files
authored
chore: Add prettier config (amannn#1090)
1 parent cca0a74 commit 6549885

File tree

5 files changed

+9
-6
lines changed

5 files changed

+9
-6
lines changed

.prettierrc.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"singleQuote": true,
3+
"bracketSpacing": false,
4+
"trailingComma": "none"
5+
}

docs/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,6 @@
3535
"next-sitemap": "^4.0.7",
3636
"typescript": "^5.2.2"
3737
},
38-
"funding": "https://github.com/amannn/next-intl?sponsor=1"
38+
"funding": "https://github.com/amannn/next-intl?sponsor=1",
39+
"prettier": "../.prettierrc.json"
3940
}

docs/prettier.config.js

-5
This file was deleted.

packages/next-intl/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@
111111
"typescript": "^5.2.2",
112112
"vitest": "^1.0.1"
113113
},
114+
"prettier": "../../.prettierrc.json",
114115
"size-limit": [
115116
{
116117
"path": "dist/production/index.react-client.js",

packages/use-intl/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
"typescript": "^5.2.2",
8888
"vitest": "^1.0.1"
8989
},
90+
"prettier": "../../.prettierrc.json",
9091
"size-limit": [
9192
{
9293
"path": "dist/production/index.js",

0 commit comments

Comments
 (0)