FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

What's the best way to install pre-commit for a npm/javascript project · Issue #1439 · pre-commit/pre-commit · GitHub

Repository navigation

What's the best way to install pre-commit for a npm/javascript project #1439

Open

Description

Curious if there's good examples of how to best do this, I would be happy to write up docs for it.

Is the answer make it an npm package?

Activity

  1. asottile commented on May 7, 2020

    Member

    that's a good question, I suspect we could build a package which does something similar to install-local.py but writes to node_modules/.bin or whatever?

    at my last employment, even for node projects, most developers did brew install pre-commit (and developed on their laptops) -- I myself don't work on any node projects so I'd be interested to hear from others that have this set up

  2. asottile commented on Sep 23, 2020

    Member

    in #1616 I'm making a zipapp, it's a pure-python executable zip which should be portable enough to stick into an npm package if desired

  3. dmwelch commented on Oct 8, 2021

    This isn't related, right? https://www.npmjs.com/package/pre-commit

  4. asottile commented on Oct 9, 2021

    Member

    correct, entirely unrelated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL