Skip to content

Upgrade Husky to v10.0.0+ #125

Closed
Closed
@bhouston

Description

@bhouston

Problem

We're currently using an older version of Husky that shows deprecation warnings:

husky - DEPRECATED

Please remove the following two lines from .husky/pre-commit:

#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

They WILL FAIL in v10.0.0

This indicates that our current Husky setup needs to be updated to be compatible with Husky v10.0.0.

Proposed Solution

  1. Upgrade Husky to version 10.0.0 or later
  2. Update the pre-commit hook and any other Husky hooks to use the new format
  3. Ensure all hooks continue to work correctly after the upgrade

Benefits

  • Removes deprecation warnings
  • Ensures we're using the latest version with all security patches and features
  • Prepares our codebase for future compatibility

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions