Skip to content

Commit

Permalink
add prettier config
Browse files Browse the repository at this point in the history
  • Loading branch information
hiteshchoudhary committed Nov 1, 2023
1 parent bc75552 commit b6d14b3
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/.vscode
/node_modules
./dist

*.env
.env
.env.*
7 changes: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"singleQuote": false,
"bracketSpacing": true,
"tabWidth": 2,
"trailingComma": "es5",
"semi": true
}
18 changes: 17 additions & 1 deletion package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"author": "Hitesh Choudhary",
"license": "ISC",
"devDependencies": {
"nodemon": "^3.0.1"
"nodemon": "^3.0.1",
"prettier": "^3.0.3"
}
}

0 comments on commit b6d14b3

Please sign in to comment.