OSDN Git Service
(root)
/
hengbandforosx
/
hengbandosx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8102f4c
)
[Add] .editorconfig を追加
author
taotao54321
<taotao54321@gmail.com>
Wed, 24 Feb 2021 14:29:44 +0000
(23:29 +0900)
committer
taotao54321
<taotao54321@gmail.com>
Wed, 24 Feb 2021 15:04:37 +0000
(
00:04
+0900)
新規ファイルを追加する際、エンコーディングなどが統一されないミスが生じて
いたので、自動で統一されるよう .editorconfig を追加する。
設定は以下の通り:
* エンコーディング: UTF-8-BOM
* ファイル末尾の改行: あり
改行コードについては git 側の設定と干渉して全行変更扱いにされるなどの事
故が考えられるため、ここでは指定しない。
.editorconfig
[new file with mode: 0644]
patch
|
blob
diff --git a/.editorconfig
b/.editorconfig
new file mode 100644
(file)
index 0000000..
cec21f4
--- /dev/null
+++ b/
.editorconfig
@@ -0,0
+1,5
@@
+root = true
+
+[*]
+charset = utf-8-bom
+insert_final_newline = true