Skip to content

Commit

Permalink
formatted code base and added husky installation
Browse files Browse the repository at this point in the history
  • Loading branch information
NivEz committed Jan 8, 2024
1 parent d858f99 commit 5bd1dd3
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 17 deletions.
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ node_modules
README.md

package_lock.json

LICENSE
32 changes: 16 additions & 16 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"singleQuote": true,
"useTabs": true,
"tabWidth": 4,
"semi": true,
"trailingComma": "all",
"printWidth": 100,
"arrowParens": "avoid",
"overrides": [
{
"files": ["*.yaml", "*.yml"],
"options": {
"useTabs": false,
"tabWidth": 2
}
}
]
"singleQuote": true,
"useTabs": true,
"tabWidth": 4,
"semi": true,
"trailingComma": "all",
"printWidth": 100,
"arrowParens": "avoid",
"overrides": [
{
"files": ["*.yaml", "*.yml"],
"options": {
"useTabs": false,
"tabWidth": 2
}
}
]
}
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
"scripts": {
"dev": "nodemon ./scripts/runDev.js",
"publish:dry": "npm publish --dry-run",
"set-webhook": "node ./scripts/setWebhook.js"
"set-webhook": "node ./scripts/setWebhook.js",
"prepare": "husky install",
"format": "npx prettier . --write"
},
"bin": {
"set-webhook": "./scripts/setWebhook.js"
Expand Down

0 comments on commit 5bd1dd3

Please sign in to comment.