Skip to content

Commit db551d8

Browse files
authored
Merge pull request #9498 from SimonCropp/make-verified-files-as-lf-and-utf8
make verified files as lf and utf8
2 parents 9a409cb + 4c269e4 commit db551d8

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.editorconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,3 +445,13 @@ dotnet_diagnostic.CA1307.severity = suggestion # Specify StringComparison
445445
# CS0618: Type or member is obsolete
446446
dotnet_diagnostic.CS0618.severity = silent
447447

448+
449+
# Verify settings
450+
[*.{received,verified}.{txt,xml,json}]
451+
charset = "utf-8-bom"
452+
end_of_line = lf
453+
indent_size = unset
454+
indent_style = unset
455+
insert_final_newline = false
456+
tab_width = unset
457+
trim_trailing_whitespace = false

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,6 @@
7373
#*.PDF diff=astextplain
7474
#*.rtf diff=astextplain
7575
#*.RTF diff=astextplain
76+
77+
# VerifyTests
78+
*.verified.txt text eol=lf working-tree-encoding=UTF-8

0 commit comments

Comments
 (0)