Lightlines
By mattpocock

setup-pre-commit

mattpocock421.9k installs

Check and format your code before each commit.

What it does

Adds pre-commit hooks to a repository for staged-file formatting and available type checks and tests.

When to use it

Use when the user wants pre-commit hooks, Husky setup, lint-staged configuration, or commit-time formatting, type checking, or testing.

How to use it

Give it a repository; it configures pre-commit checks, verifies them, and commits the changed configuration.

What you provide

  • An existing project

Latest review

What you need · 0

No setup requirements listed.


Access · 3

This skill

husky

Execute

Installs husky for commit hooks

lint-staged

Execute

Installs lint-staged for staged files

prettier

Execute

Installs prettier for code formatting