Skip to content
atarashi
Documentation menu

meta/husky

A pre-commit hook that lints and formats only the files being committed.

Provides: meta:git-hooks

Requires: runtime:node, lint

Files it writes

  • .husky/pre-commit

Dependencies

Development only:

  • husky@^9.1.7
  • lint-staged@^16.2.7

What it merges into other files

  • package.json (json-deep)
  • package.json (json-deep)

Use it

atarashi new my-app --add meta/husky
atarashi add meta/husky

Version 1.0.0. Format reference: Authoring blueprints.

Part of the atarashi documentation, written and maintained by Gautam Suthar.