Skip to content

Commit

Permalink
configured prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
itamarshubin committed Jun 13, 2024
1 parent 6ff8269 commit ba96d03
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"arrowParens": "avoid",
"bracketSpacing": true,
"htmlWhitespaceSensitivity": "css",
"insertPragma": false,
"printWidth": 120,
"proseWrap": "always",
"quoteProps": "as-needed",
"requirePragma": false,
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all",
"useTabs": false
}
16 changes: 16 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"types": "src/index.d.ts",
"scripts": {
"dev": "nodemon",
"prettier": "npx prettier --write .",
"prepublish": "tsc",
"start:prod": "tsc & node dist/index.js"
},
Expand All @@ -14,6 +15,7 @@
"type": "module",
"devDependencies": {
"nodemon": "^3.1.3",
"prettier": "^3.3.2",
"ts-node": "^10.9.2",
"typescript": "^5.4.5"
},
Expand Down

0 comments on commit ba96d03

Please sign in to comment.