Skip to content

Commit

Permalink
Set Up Pre-commit Hooks for Linting and Code Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
bertrandshema committed Jun 5, 2024
1 parent 6e30f7a commit dac2677
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
44 changes: 44 additions & 0 deletions package-lock.json

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

12 changes: 12 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"scripts": {
"lint": "eslint .",
"format": "prettier --write .",
"prepare": "husky install"
},
"devDependencies": {
"husky": "^8.0.0",
"eslint": "^7.32.0",
"prettier": "^2.3.2"
}
}

0 comments on commit dac2677

Please sign in to comment.