Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JSHint-like tool, but for C# [duplicate]

Tags:

c#

I've been looking for somethig like JsHint for a while now, but aimed at verifying whether a team's coding conventions are being followed in C# instead of Javascript. I've been googlinghigh and low but I can't find anything. Do you fellow overflowers know of such a tool?

I'm ultimately thinking about making one of my own, should none currently exist.

like image 259
Geeky Guy Avatar asked Mar 23 '23 03:03

Geeky Guy


2 Answers

Assuming you are using Visual Studio, stylecop is one great linter tool for C#.

like image 123
mjgpy3 Avatar answered Apr 06 '23 09:04

mjgpy3


You're looking for Code Analysis / FxCop.

like image 34
SLaks Avatar answered Apr 06 '23 09:04

SLaks