React 本机项目 - git 提交触发 lint
React native project - git commit triggers lint
使用react native创建的项目运行良好,没有太大变化。我也更新到最新的 npm/node 等,但是每当我尝试使用命令 git commit -am "test commit"
提交 git 时,我都会触发 react native 的 lint,最后说:
我的package.json是:
https://hastebin.com/nadohasayi.json
它运行良好,现在在项目进行到一半时,git 问题可能很严重。
有什么想法是错误的吗?
您可以删除 package.json
中的 git 挂钩,或者修复 lint 错误。
使用react native创建的项目运行良好,没有太大变化。我也更新到最新的 npm/node 等,但是每当我尝试使用命令 git commit -am "test commit"
提交 git 时,我都会触发 react native 的 lint,最后说:
我的package.json是: https://hastebin.com/nadohasayi.json
它运行良好,现在在项目进行到一半时,git 问题可能很严重。
有什么想法是错误的吗?
您可以删除 package.json
中的 git 挂钩,或者修复 lint 错误。