Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

Implement pre-commit for webpack bundles #464

Open
4 tasks
maltezacharias opened this issue May 2, 2020 · 1 comment
Open
4 tasks

Implement pre-commit for webpack bundles #464

maltezacharias opened this issue May 2, 2020 · 1 comment
Labels

Comments

@maltezacharias
Copy link
Collaborator

  • Automatically run prettier on build
  • Automatic linting
  • Prevent committing as long as linting errors exist
  • Document setup process for pre-commit hook on dev workstations
@bjrne
Copy link
Member

bjrne commented May 5, 2020

From the config, setup seems rather easy with the pre-commit framework. i can give this a try tomorrow.

- repo: https://github.com/prettier/prettier
  rev: "" # Use the sha or tag you want to point at
  hooks:
    - id: prettier

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants