Skip to content

Commit

Permalink
Merge pull request #9498 from SimonCropp/make-verified-files-as-lf-an…
Browse files Browse the repository at this point in the history
…d-utf8

make verified files as lf and utf8
  • Loading branch information
drewnoakes authored Jul 23, 2024
2 parents 9a409cb + 4c269e4 commit db551d8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -445,3 +445,13 @@ dotnet_diagnostic.CA1307.severity = suggestion # Specify StringComparison
# CS0618: Type or member is obsolete
dotnet_diagnostic.CS0618.severity = silent


# 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
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,6 @@
#*.PDF diff=astextplain
#*.rtf diff=astextplain
#*.RTF diff=astextplain

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

0 comments on commit db551d8

Please sign in to comment.