dotnet / dotnet/format

Can't suppress WHITESPACE warnings

Open
#2,205 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
No language data
Stars
1.9k
Forks
173
Avg merge
10d 13h
Merged PRs (30d)
1

Description

I've tried adding an empty .editorconfig file in order to slowly add rules to an existing project.
When testing it with `--severity error --verify-no-changes` I get WHITESPACE errors for lines with trailing whitespace.
When I try setting `trim_trailing_whitespace` to `false` or `unset` I still get those errors.
I've tried disabling all sorts of dotnet_diagnostic codes like:
```
dotnet_diagnostic.IDE0055.severity = none
dotnet_diagnostic.SA1028.severity = none
dotnet_diagnostic.CA1062.severity = none
dotnet_diagnostic.CA1801.severity = none
dotnet_diagnostic.CA1822.severity = none
dotnet_diagnostic.SA1000.severity = none
dotnet_diagnostic.SA1001.severity = none
dotnet_diagnostic.SA1005.severity = none
dotnet_diagnostic.SA1025.severity = none
```
But nothing seems to work.
How can I disable this rule?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.