Skip to content

Maintenance: Migrate to husky v9 syntax to remove deprecation warning #2130

Closed
@hjgraca

Description

@hjgraca

Summary

image

When running init-environment command we get a deprecation notice for husky install command.
Husky has deprecated that command in favour of husky command and has new syntax for the hooks as well.

Why is this needed?

Prevent the display of deprecation notice and support new version to avoid issues when deprecated.

Which area does this relate to?

Automation

Solution

Update hooks and init-environment command.
Migration steps can be found on the release https://github.com/typicode/husky/releases/tag/v9.0.1

Acknowledgment

Future readers

Please react with 👍 and your use case to help us understand customer demand.

Metadata

Metadata

Assignees

Labels

completedThis item is complete and has been merged/shippedinternalPRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)

Type

No type

Projects

Status

Shipped

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions