dotnet / dotnet/roslynator

Quick start guide

Open
#754 3 comments 1 reaction 0 assignees View on GitHub
Documentation
Dominant language
C#
Stars
3.5k
Forks
294
Avg merge
2h 30m
Merged PRs (30d)
4

Description

I installed the VSCode extension after looking for something that would enforce a style for my project's code, but I have found the documentation to be lacking in terms of how to get started with the package.

It seems that rules are being enforced by default? How do I see which? The file `roslynator.ruleset` doesn't seem to specify any.

What is the difference between the different possible values for `Action`? `"None,Hidden,Info,Warning,Error"

I've checked the documentation and still am not sure how to configure the rules for my project, or where to look for a list of these rules, or how to apply refactors, etc.

Thanks!

Edit: Since the line `` is commented out below, shouldn't there be no active rules by default??

![image](https://user-images.githubusercontent.com/3464445/101816839-70587a80-3b19-11eb-82d5-03b3cd11a8fe.png)

Yet I am getting warnings:

![image](https://user-images.githubusercontent.com/3464445/101816914-8a925880-3b19-11eb-94cd-baacd709c074.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.