V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
cvooc
V2EX  ›  问与答

求助,踩到知识盲区了.如何才能对 git submodule 启用 husky 校验? eslint 和 package 在主项目中, 子模块只是一堆 vue 文件.和一个.git 文件,没有 package.json

  •  
  •   cvooc · May 25, 2022 · 1064 views
    This topic created in 1433 days ago, the information mentioned may be changed or developed.

    失策了,此前把公司项目用 submodule 拆分开了,主基座和业务代码分成了两个仓库 原本单仓库时 husky 是正常触发的, 现在分仓库, 提交子模块时不会在触发 husky pre-commit 了, 有人踩过这个坑吗?应该如何解决?

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   997 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 200ms · UTC 22:25 · PVG 06:25 · LAX 15:25 · JFK 18:25
    ♥ Do have faith in what you're doing.