yashdev9274 / yashdev9274/supercli

Add pre-commit hooks with Husky and lint-staged

Open
#43 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

infrastructure
Dominant language
TypeScript
Stars
214
Forks
41
Avg merge
2h 26m
Merged PRs (30d)
34

Description

Description

Set up Husky and lint-staged to run linting and formatting checks before commits.

Expected Deliverables

  • Install and configure Husky
  • Add lint-staged configuration
  • Create pre-commit hooks for:
    • TypeScript type checking
    • ESLint
    • Prettier formatting
  • Document how to bypass hooks if needed

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the repository's existing TypeScript and ESLint setup, then determine where Husky and lint-staged configuration belong. Done means pre-commit hooks run type checking, ESLint, and Prettier, with bypass instructions documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
eslint, typescript
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.