Skip to content

Commit

Permalink
Initial.
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanLarsson committed Nov 21, 2018
0 parents commit 1df1367
Show file tree
Hide file tree
Showing 3 changed files with 122 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Source code files
*.cs text
*.vsixmanifest text
*.config text
*.resx text
*.vstemplate text
*.nuspec text
*.md text
*.txt text
*.ps1 text
LICENSE text

# Projects and solutions
*.sln text
*.csproj text

# Certainly binary files
*.png binary
*.ico binary
*.snk binary
56 changes: 56 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Build output
bin/
obj/

# Artifacts of the IDE and build
*.sln.ide/
.vs/
packages/
*.suo
*.user
TestResults/
OpenCover.Reports/
.nuget/NuGet.exe
build/nuget/
*.log

# Visual Studio performance tools
*.psess
*.vsp
*.vspx

#ignore thumbnails created by windows
Thumbs.db
#Ignore files build by Visual Studio
*.obj
*.exe
*.pdb
*.aps
*.pch
*.vspscc
*_i.c
*_p.c
*.ncb
*.tlb
*.tlh
*.bak
*.cache
*.ilk
[Bb]in
[Dd]ebug*/
*.lib
*.sbr
[Rr]elease*/
_ReSharper*/
[Tt]est[Rr]esult*

*.sln.docstates
*.vssscc
$tf*/
*.dll
packages/*
publish/*
WpfAnalyzers.Demo/*
.vs/*
/paket-files/*
/WpfAnalyzers.Benchmarks/BenchmarkDotNet.Artifacts/*
46 changes: 46 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# AspNetCoreAnalyzers

[![Join the chat at https://gitter.im/DotNetAnalyzers/AspNetCoreAnalyzers](https://badges.gitter.im/DotNetAnalyzers/AspNetCoreAnalyzers.svg)](https://gitter.im/DotNetAnalyzers/AspNetCoreAnalyzers?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)


Roslyn analyzers for ASP.NET.Core.


<!-- start generated table -->

<!-- end generated table -->


## Using AspNetCoreAnalyzers

The preferable way to use the analyzers is to add the nuget package [AspNetCoreAnalyzers](https://www.nuget.org/packages/AspNetCoreAnalyzers/)
to the project(s).

The severity of individual rules may be configured using [rule set files](https://msdn.microsoft.com/en-us/library/dd264996.aspx)
in Visual Studio 2015.

## Installation

AspNetCoreAnalyzers can be installed using [Paket](https://fsprojects.github.io/Paket/) or the NuGet command line or the NuGet Package Manager in Visual Studio 2015.


**Install using the command line:**
```bash
Install-Package AspNetCoreAnalyzers
```

## Updating

The ruleset editor does not handle changes IDs well, if things get out of sync you can try:

1) Close visual studio.
2) Edit the ProjectName.rulset file and remove the AspNetCoreAnalyzers element.
3) Start visual studio and add back the desired configuration.

Above is not ideal, sorry about this. Not sure this is our bug.


## Current status

Early alpha, names and IDs may change.

0 comments on commit 1df1367

Please sign in to comment.