JZTXT
  • 首页
  • Ai
  • Java
  • Python
  • Android
  • Mysql
  • JavaScript
  • Html
  • CSS

git提交时报错not found: commitlint

发布时间 2023-05-31 10:23:34作者: 七星飘虫
--全局安装
npm install -g @commitlint/cli


--添加配置文件commitlint.config.js到项目下
module.exports = {
  rules: {
    // 在这里添加你的规则
    // 例如,要求提交消息的长度不超过50个字符
    'header-max-length': [2, 'always', 50]
  },
};

  

    本栏目推荐文章
  • linux 安装最新版本git
  • Pycharm读excel文件报错xlrd.biffh.XLRDError: Excel xlsx file not supported
  • git bash报错fatal: detected dubious ownership in repository at的解决方法
  • 题解 ARC140E【Not Equal Rectangle】
  • mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION; ERROR 1410 (42000): You are not allowed to create a user with GRANT
  • org.springframework.kafka.listener.ListenerExecutionFailedException: Listener method could not be invoked with the incoming message
  • Oracle 19c 升级错误【verify_queryable_inventory returned ORA-20001: Latest xml inventory is not loaded into table】
  • git commit规范
  • Flutter 项目运行到ios模拟器报错 : Error (Xcode): SDK does not contain 'libarclite'
  • nginx反向代理时报no resolver defined to resolve
版权声明:本网站为非赢利性站点,本网站所有内容均来源于互联网相关站点自动搜索采集信息,相关链接已经注明来源。
联系我们