Pārlūkot izejas kodu

Ensure LF on checkouts and in editors (#9259)

This will ensure our repo is always checked out with LF line endings
which should help Windows users who have line ending normalization
enabled.

Additionally, added the LF preference to .editorconfig.
tags/v1.11.0-rc1
silverwind pirms 4 gadiem
vecāks
revīzija
1718a9591c
2 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. 1
    0
      .editorconfig
  2. 2
    1
      .gitattributes

+ 1
- 0
.editorconfig Parādīt failu

@@ -5,6 +5,7 @@ root = true
charset = utf-8
insert_final_newline = true
trim_trailing_whitespace = true
end_of_line = lf

[*.go]
indent_style = tab

+ 2
- 1
.gitattributes Parādīt failu

@@ -1,6 +1,7 @@
* text=auto eol=lf
conf/* linguist-vendored
docker/* linguist-vendored
options/* linguist-vendored
public/* linguist-vendored
scripts/* linguist-vendored
templates/* linguist-vendored
templates/* linguist-vendored

Notiek ielāde…
Atcelt
Saglabāt