Skip to content

Commit

Permalink
chore: Add prettier config (#1090)
Browse files Browse the repository at this point in the history
  • Loading branch information
amannn authored May 24, 2024
1 parent cca0a74 commit 6549885
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"singleQuote": true,
"bracketSpacing": false,
"trailingComma": "none"
}
3 changes: 2 additions & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@
"next-sitemap": "^4.0.7",
"typescript": "^5.2.2"
},
"funding": "https://github.com/amannn/next-intl?sponsor=1"
"funding": "https://github.com/amannn/next-intl?sponsor=1",
"prettier": "../.prettierrc.json"
}
5 changes: 0 additions & 5 deletions docs/prettier.config.js

This file was deleted.

1 change: 1 addition & 0 deletions packages/next-intl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
"typescript": "^5.2.2",
"vitest": "^1.0.1"
},
"prettier": "../../.prettierrc.json",
"size-limit": [
{
"path": "dist/production/index.react-client.js",
Expand Down
1 change: 1 addition & 0 deletions packages/use-intl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
"typescript": "^5.2.2",
"vitest": "^1.0.1"
},
"prettier": "../../.prettierrc.json",
"size-limit": [
{
"path": "dist/production/index.js",
Expand Down

0 comments on commit 6549885

Please sign in to comment.