Skip to content

Commit

Permalink
pre-commit: audit, lint, prettier, test
Browse files Browse the repository at this point in the history
  • Loading branch information
harvey-dvla committed Mar 27, 2024
1 parent 3bd2dc3 commit 3f7dcfc
Show file tree
Hide file tree
Showing 2 changed files with 169 additions and 0 deletions.
162 changes: 162 additions & 0 deletions package-lock.json

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

7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
"prettier": "prettier --check 'src/**/*.js'",
"test": "jest . --colors --coverage"
},
"pre-commit": [
"audit",
"lint",
"prettier",
"test"
],
"devDependencies": {
"eslint": "^8.57.0",
"eslint-config-airbnb": "^19.0.4",
Expand All @@ -23,6 +29,7 @@
"eslint-plugin-prettier": "^5.1.3",
"jest": "^29.7.0",
"npm-audit-resolver": "^3.0.0-RC.0",
"pre-commit": "^1.2.2",
"prettier": "^3.0.3"
},
"author": "DVLA AC Squad",
Expand Down

0 comments on commit 3f7dcfc

Please sign in to comment.