1.git commit的时候报错

Commit failed with error
0 files committed, 1 file failed to commit: test
warning: LF will be replaced by CRLF in src/xxxx.

The file will have its original line endings in your working directory.


对于新项目可以:

File->Settings…->Editor->Code Style

git eslint problem

已有文件目前发现只能一个一个改:

在右下角有git eslint problem 可以切换

或者就是关闭“换行符自动转换”:git config --global core.autocrlf false

同时,修改eslint的rules:'linebreak-style': 'off'


相关文章:

  • 2021-08-07
  • 2021-05-23
  • 2021-08-24
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-21
  • 2022-12-23
  • 2022-01-28
  • 2022-12-23
  • 2021-10-26
相关资源
相似解决方案