Last active
September 17, 2018 13:27
-
-
Save fredrikhr/9247055d3689e8495d49a493cebef8fb to your computer and use it in GitHub Desktop.
Dotfiles
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root = true | |
# Defaults | |
[*] | |
indent_size = 4 | |
indent_style = space | |
trim_trailing_whitespace = true | |
insert_final_newline = true | |
[*.{xml,js,ts,json,*proj,targets,html,props,nim,nimble,nim.cfg}] | |
indent_size = 2 | |
[*.{md,markdown}] | |
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################################### | |
# Set default behavior to automatically normalize line endings. | |
############################################################################### | |
* text=auto | |
############################################################################### | |
# Set default behavior for command prompt diff. | |
# | |
# This is need for earlier builds of msysgit that does not have it on by | |
# default for csharp files. | |
# Note: This is only used by command line | |
############################################################################### | |
#*.cs diff=csharp | |
############################################################################### | |
# Set the merge driver for project and solution files | |
# | |
# Merging from the command prompt will add diff markers to the files if there | |
# are conflicts (Merging from VS is not affected by the settings below, in VS | |
# the diff markers are never inserted). Diff markers may cause the following | |
# file extensions to fail to load in VS. An alternative would be to treat | |
# these files as binary and thus will always conflict and require user | |
# intervention with every merge. To do so, just uncomment the entries below | |
############################################################################### | |
#*.sln merge=binary | |
#*.csproj merge=binary | |
#*.vbproj merge=binary | |
#*.vcxproj merge=binary | |
#*.vcproj merge=binary | |
#*.dbproj merge=binary | |
#*.fsproj merge=binary | |
#*.lsproj merge=binary | |
#*.wixproj merge=binary | |
#*.modelproj merge=binary | |
#*.sqlproj merge=binary | |
#*.wwaproj merge=binary | |
############################################################################### | |
# behavior for image files | |
# | |
# image files are treated as binary by default. | |
############################################################################### | |
#*.jpg binary | |
#*.png binary | |
#*.gif binary | |
############################################################################### | |
# diff behavior for common document formats | |
# | |
# Convert binary document formats to text before diffing them. This feature | |
# is only available from the command line. Turn it on by uncommenting the | |
# entries below. | |
############################################################################### | |
#*.doc diff=astextplain | |
#*.DOC diff=astextplain | |
#*.docx diff=astextplain | |
#*.DOCX diff=astextplain | |
#*.dot diff=astextplain | |
#*.DOT diff=astextplain | |
#*.pdf diff=astextplain | |
#*.PDF diff=astextplain | |
#*.rtf diff=astextplain | |
#*.RTF diff=astextplain | |
############################################################################### | |
# Behaviour for NPM package files | |
# | |
# Because NPM writes back a package.json (and the lockfile) you get file | |
# changes after each NPM operation on CRLF systems. | |
# Set Git to checkout these files with LF line-endings | |
############################################################################### | |
package.json text eol=lf | |
package-lock.json text eol=lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<RuleSet Name="Microsoft All Rules" Description="This rule set contains all rules. Running this rule set may result in a large number of warnings being reported. Use this rule set to get a comprehensive picture of all issues in your code. This can help you decide which of the more focused rule sets are most appropriate to run for your projects." ToolsVersion="10.0"> | |
<Localization ResourceAssembly="Microsoft.VisualStudio.CodeAnalysis.RuleSets.Strings.dll" ResourceBaseName="Microsoft.VisualStudio.CodeAnalysis.RuleSets.Strings.Localized"> | |
<Name Resource="AllRules_Name" /> | |
<Description Resource="AllRules_Description" /> | |
</Localization> | |
<IncludeAll Action="Warning" /> | |
</RuleSet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<Project> | |
<PropertyGroup Label="Common Package Metadata"> | |
<Authors>Fredrik Høisæther Rasch</Authors> | |
<Product></Product> | |
<Company>TH-NETII Rasch Solutions</Company> | |
<Copyright>Written by Fredrik Høisæther Rasch, $([System.DateTime]::Now.Year)</Copyright> | |
</PropertyGroup> | |
<PropertyGroup Label="Repository Metadata"> | |
<RepositoryType>git</RepositoryType> | |
<RepositoryUrl>https://github.com/githubuser/githubrepo.git</RepositoryUrl> | |
</PropertyGroup> | |
<PropertyGroup> | |
<PackageLicenseUrl>https://github.com/githubuser/githubrepo/raw/master/LICENSE</PackageLicenseUrl> | |
<PackageProjectUrl>https://github.com/githubuser/githubrepo</PackageProjectUrl> | |
</PropertyGroup> | |
<PropertyGroup Label="BasePath"> | |
<BaseOutputPath>$(MSBuildThisFileDirectory)bin\</BaseOutputPath> | |
<BaseIntermediateOutputPath>$(MSBuildThisFileDirectory)obj\$(MSBuildProjectName)\</BaseIntermediateOutputPath> | |
</PropertyGroup> | |
<PropertyGroup Label="Version"> | |
<VersionPrefix>0.0.1</VersionPrefix> | |
<FileVersion>$(VersionPrefix)</FileVersion> | |
<AssemblyVersion Condition="'$(BuildNumber)'==''">$(FileVersion)</AssemblyVersion> | |
<AssemblyVersion Condition="'$(BuildNumber)'!=''">$(FileVersion).$(BuildNumber)</AssemblyVersion> | |
<VersionSuffix Condition="'$(BuildNumber)'!='' And '$(VersionSuffix)'!=''">$(VersionSuffix)-b$(BuildNumber)</VersionSuffix> | |
<VersionSuffix Condition="'$(BuildNumber)'!='' And '$(VersionSuffix)'==''">$(VersionSuffix)b$(BuildNumber)</VersionSuffix> | |
</PropertyGroup> | |
<PropertyGroup> | |
<Features>IOperation</Features> | |
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)AllRules.ruleset</CodeAnalysisRuleSet> | |
</PropertyGroup> | |
<ItemGroup> | |
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.6.1" PrivateAssets="All" /> | |
<PackageReference Include="Microsoft.DotNet.Analyzers.Compatibility" Version="0.2.12-alpha" PrivateAssets="All" /> | |
</ItemGroup> | |
</Project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment