madskristensen / EditorConfigLanguage

A Visual Studio extension
Other
129 stars 37 forks source link

Formatting options incorrectly allow severities #75

Open sharwell opened 4 years ago

sharwell commented 4 years ago

Description

Formatting options do not support severity, but this extension doesn't report a warning when a severity is specified.

Steps to recreate

[*.cs]
# Newline settings
csharp_new_line_before_else = true:warning

Current behavior

No warning is reported for :warning.

Expected behavior

A warning should be reported for :warning, since csharp_new_line_before_else does not support severity.