【问题标题】:CommitLint in yarn v2纱线 v2 中的 CommitLint
【发布时间】:2021-06-07 06:53:46
【问题描述】:

那里。 我正在尝试使用 yarn 2 在我的项目中设置 CommitLint 和 husky,但是当我提交时,我遇到了这个问题。有没有什么办法解决这一问题?我尝试使用以下 3 个命令:

  • npx --no-install commitlint --edit "$1"
  • yarn --no-install commitlint --edit "$1"
  • yarn run --no-install commitlint --edit "$1"

我正在使用带有 Node 14 LTS 的 Mac OS X 10.11.6。我的仓库在GitLab(必须绕过提交检查)

Using npx
Using yarn
Using yarn run

【问题讨论】:

标签: javascript git frontend yarn-v2


【解决方案1】:

我已通过 CommitLint Devs 对此进行了检查。他说目前不支持。你可以看看here。网站上也有注释

【讨论】:

    猜你喜欢
    • 2020-05-27
    • 2018-05-23
    • 2018-07-18
    • 2021-10-31
    • 1970-01-01
    • 1970-01-01
    • 2020-04-03
    • 2021-11-09
    • 1970-01-01
    相关资源
    最近更新 更多