Skip to content

Commit

Permalink
Updates Lifestyle and associates upperbound to 6 from 10. Updates Hus…
Browse files Browse the repository at this point in the history
…ky script as required in https://github.com/typicode/husky/releases/tag/v9.0.1 otherwise lint fails. (#56)
  • Loading branch information
pipwilson authored Nov 26, 2024
1 parent 92e3f50 commit affcac8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

NODE_ENV=dev && node_modules/.bin/lint-staged && npm run typecheck && npm test
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"record-build-info": "node ./bin/record-build-info",
"lint": "eslint . --cache --max-warnings 0",
"lint-fix": "eslint . --cache --max-warnings 0 --fix",
"typecheck": "tsc && tsc -p integration_tests",
"typecheck": "tsc",
"test": "jest",
"test:ci": "jest --runInBand",
"security_audit": "npx audit-ci --config audit-ci.json",
Expand Down
2 changes: 1 addition & 1 deletion server/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const optionValues = (value: string, key: string, itemKey: string) => {
upperBound = 10
break
case 'lifestyleAndAssociates':
upperBound = 10
upperBound = 6
break
}
if (upperBound === undefined) {
Expand Down

0 comments on commit affcac8

Please sign in to comment.