From 6899ff5f5dfac49940401fccec8089aa1285aeab Mon Sep 17 00:00:00 2001 From: David Vreony Date: Sun, 5 Sep 2021 20:12:23 +0100 Subject: [PATCH] migrate to net analyzers --- .gitattributes | 45 +++++++++++++++++++++++++++++++++++++++ src/Directory.build.props | 10 ++++++--- version.json | 2 +- 3 files changed, 53 insertions(+), 4 deletions(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..269bc19 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,45 @@ +# Catch all for anything we forgot. Add rules if you get CRLF to LF warnings. +* text=auto + +# Text files that should be normalized to LF in odb. +*.cs text eol=lf diff=csharp +*.xaml text +*.config text +*.c text +*.h text +*.cpp text +*.hpp text + +*.sln text +*.csproj text +*.vcxproj text + +*.md text +*.tt text +*.sh text +*.ps1 text +*.cmd text +*.bat text +*.markdown text +*.msbuild text + + +# Binary files that should not be normalized or diffed +*.png binary +*.jpg binary +*.gif binary +*.ico binary +*.rc binary + +*.pfx binary +*.snk binary +*.dll binary +*.exe binary +*.lib binary +*.exp binary +*.pdb binary +*.sdf binary +*.7z binary + +# Generated file should just use CRLF, it's fiiine +SolutionInfo.cs text eol=crlf diff=csharp diff --git a/src/Directory.build.props b/src/Directory.build.props index ea82e91..1bd35b0 100644 --- a/src/Directory.build.props +++ b/src/Directory.build.props @@ -25,7 +25,7 @@ false $(EnableSourceLink) True - + nullable @@ -53,10 +53,14 @@ - - + + + + + AllEnabledByDefault + diff --git a/version.json b/version.json index 7ec0261..e5c0424 100644 --- a/version.json +++ b/version.json @@ -1,5 +1,5 @@ { - "version": "0.9", + "version": "1.6", "publicReleaseRefSpec": [ "^refs/heads/main$", // we release out of master "^refs/heads/preview/.*", // we release previews