M
M
Maxim2019-01-11 13:14:19
.NET
Maxim, 2019-01-11 13:14:19

Is there a quick codestyle checker for C#/.NET?

All programming languages ​​have codestyle checkers like flake8, stylelint, jslint, etc. They check the code in seconds. Is there something similar for C#/.NET?
All sorts of ReSharper, GCop, FxCop are checked for a very long time. For example, here is such a small project https://github.com/aspnetboilerplate/eventcloud/tr... the resharper checks for more than a minute on the local machine. And if you build it into a deploy, then the server there is not very powerful and it takes much more time. For example, one of our projects is checked locally by the resharper for 2-3 minutes, on the build server using command line tools 8-15 minutes.
If some tool for a quick check, so that you can even build it into a pre-commit hook?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
MrDywar Pichugin, 2019-01-11
@Dywar

Visual Studio:
1) Customize a rule set (there is a large set already in preparation...
2) Customizing and using Roslyn analyzer rules

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question