Skip to content

Commit

Permalink
Mark Verify files as lf and utf8 according to the recommended settings (
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp authored Jul 22, 2024
1 parent 29904b2 commit 1a84d18
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
11 changes: 9 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -506,5 +506,12 @@ dotnet_diagnostic.IDE0040.severity = warning
[*.txt]
insert_final_newline = false

[test/dotnet-new.Tests/**/Approvals/**]
trim_trailing_whitespace = false
# Verify settings
[*.{received,verified}.{txt,xml,json}]
charset = "utf-8-bom"
end_of_line = lf
indent_size = unset
indent_style = unset
insert_final_newline = false
tab_width = unset
trim_trailing_whitespace = false
7 changes: 6 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,9 @@

*.jpg binary
*.png binary
*.gif binary
*.gif binary

# VerifyTests
*.verified.txt text eol=lf working-tree-encoding=UTF-8
*.verified.xml text eol=lf working-tree-encoding=UTF-8
*.verified.json text eol=lf working-tree-encoding=UTF-8

0 comments on commit 1a84d18

Please sign in to comment.