Bounz / HomeGenie-BE

HomeGenie (Bounz Edition)
GNU General Public License v3.0
5 stars 3 forks source link

Add StyleCop.Analyzers nuget package #15

Open davidwallis opened 6 years ago

Bounz commented 6 years ago

Also, we could try to use https://about.sonarcloud.io/ as a static code analyzer.

davidwallis commented 6 years ago

I'll take this if you want

Bounz commented 6 years ago

Sonar or StyleCop?

davidwallis commented 6 years ago

Sonar would probably better for you to do as the repo owner I guess..

Style cop I can do, but given the number of changes it will require, I might just do MIG to start with so I don't end up having to merge with your refactoring

Bounz commented 6 years ago

Ok. But I have never worked with StyleCop, so I don't know what are the rules it forces to use. Right now I usually use JetBrains Rider and sometimes VS 2017 with ReSharper. What IDE do you use?

davidwallis commented 6 years ago

I use visual studio 2017 most of the time (also with resharper) its pretty similar to the suggestions re-sharper has but more formatting..

Take a look at https://github.com/davidwallis3101/HomeGenie-BE/tree/StyleCop

davidwallis commented 6 years ago

incidentally I might have committed a breaking change which i need to investigate later :)

davidwallis commented 6 years ago

https://www.appveyor.com/blog/2016/12/23/sonarqube/