You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update: VS Code does take .editorconfig into account. dotnet format too. My mistake.
One problem is that there's a few false positives. It flags OnValidate(), for example. We solve it by making the method protected.
Still, Unity doesn't take this into account if I enable the warning in Default.ruleset. It flags all Unity callbacks. But that's fine. dotnet format should be enough.
I want to enable
RCS1213
onDefault.ruleset
. This way, the warning is actually enforced by Unity, and it won't let you compile.The problem is that Unity is ignoring whatever I have in
.editorconfig
.dotnet format
also ignores it.I have this in
.editorconfig
:So how can I configure Roslynator in a way that my configuration is taken into account by Unity and
dotnet format
?The text was updated successfully, but these errors were encountered: