Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

改行コードが LF と CRLF が混ざっている #493

Open
nc163 opened this issue Mar 10, 2024 · 2 comments
Open

改行コードが LF と CRLF が混ざっている #493

nc163 opened this issue Mar 10, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@nc163
Copy link
Member

nc163 commented Mar 10, 2024

提案内容

LF と CRLF が混ざっているのでどちらかに寄せた方がいいと思います

背景

#486

備考

@nc163 nc163 changed the title LF と CRLF が混ざっている 改行コードが LF と CRLF が混ざっている Mar 10, 2024
@nc163 nc163 added the bug Something isn't working label Mar 10, 2024
@nc163
Copy link
Member Author

nc163 commented Mar 11, 2024

git使うならLFに寄せた方がいいと思うし、大半のファイルはLFだった
markdownはいいとして
svg画像もCRLFのものがあった。
svg画像のこと全くわからないけど変換してみて表示されればそれでいいのかな

CRLFをLFに全部置換して.gitattributes を追加すればいい・・?

docs/*.md eol=lf
public/*.svg eol=lf

@neila
Copy link
Member

neila commented Mar 11, 2024

一度スクリプトか何かでフォーマットはすれば良いとして、以後はCIとかでスキャンするといいかもですね

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants