Skip to content

Commit

Permalink
chore: update prettier config and .nvmrc (#865)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpedroschmitz authored Nov 16, 2023
1 parent 94f29a0 commit 3cfb61e
Show file tree
Hide file tree
Showing 7 changed files with 335 additions and 51 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
18
6 changes: 0 additions & 6 deletions .prettierrc

This file was deleted.

20 changes: 20 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"importOrder": [
"<BUILTIN_MODULES>",
"<THIRD_PARTY_MODULES>",
"",
"^@/(.*)$",
"^[./]",
"",
"<TYPES>",
"<TYPES>^[./]"
],
"plugins": [
"prettier-plugin-sort-json",
"@ianvs/prettier-plugin-sort-imports"
],
"printWidth": 120,
"trailingComma": "es5",
"singleQuote": true,
"tabWidth": 2
}
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"devDependencies": {
"@commitlint/cli": "18.4.1",
"@commitlint/config-conventional": "18.4.0",
"@ianvs/prettier-plugin-sort-imports": "4.1.1",
"@types/node": "20.9.0",
"@types/react": "18.2.37",
"@types/react-dom": "18.2.15",
Expand All @@ -47,6 +48,7 @@
"husky": "8.0.3",
"lint-staged": "15.1.0",
"prettier": "3.1.0",
"prettier-plugin-sort-json": "3.1.0",
"typescript": "5.2.2"
}
}
Loading

1 comment on commit 3cfb61e

@vercel
Copy link

@vercel vercel bot commented on 3cfb61e Nov 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.