0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

リポジトリにCRLFを混入するな小学校

Posted at

Mac-Windows間で開発環境をころころ変える。

Nuxtのdev時、Prettier に CRLFを使うなと怒られたけどeslint --fixする前にgitの設定を見直す

git config --global core.autocrlf input

改行lfのまま読み込んで、commit時に改行lfにしてくれる。

VS Codeの人は改行lfに設定してしまおう
image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?