Skip to content

Commit

Permalink
add prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
xavimondev committed May 2, 2024
1 parent e56510e commit 31f4224
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
dist
node_modules
.next
build
.vscode
.turbo
.DS_Store
.github
9 changes: 9 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"arrowParens": "always",
"jsxSingleQuote": true,
"printWidth": 100,
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "none"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"build": "turbo build",
"dev": "turbo dev",
"lint": "turbo lint",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"prettier": "prettier --write \"**/*.{ts,tsx,md}\"",
"lint:cli": "turbo lint --filter=vdbs",
"build:cli": "turbo --filter=vdbs build",
"dev:cli": "turbo --filter=vdbs dev",
Expand Down

0 comments on commit 31f4224

Please sign in to comment.