Skip to content

Add linting to pre-commit hook #27

@bhouston

Description

@bhouston

Add linting to pre-commit hook

Description

Add ESLint check to the Husky pre-commit hook to ensure that linting passes before allowing a commit. This aligns with the CI pipeline requirements and helps catch linting issues early.

Tasks

  • Update the pre-commit-check script in package.json to run pnpm lint
  • Ensure the pre-commit hook uses pnpm consistently

Why

This change will prevent commits that would fail the CI lint check, saving time and reducing the need for follow-up fix commits.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions