invalid-property-value
What it does
Section titled “What it does”Reports a known EditorConfig or .NET property that has a value it does not accept (indent_style = tabs, dotnet_diagnostic.CA1000.severity = high). Values are case-insensitive, unset is always valid, and .NET code-style options may end in :silent, :suggestion, :warning or :error, which formatting options may not. A trailing # comment is ignored. Unknown properties are not checked.
Why it matters
Section titled “Why it matters”An editor ignores a value it does not know, so the setting silently has no effect (indent_style = tabs does not select tabs). The file looks right and the code is formatted another way.
To fix, use a value that the property accepts; the message names the closest one.
Example
Section titled “Example”indent_style = tabsindent_style = Tabindent_size = fourindent_size = 4indent_size = TABindent_size = 4 # fourindent_size = four ; wordsindent_size = unsettab_width =max_line_length = offcharset = "utf-8-bom"trim_trailing_whitespace = yesend_of_line = LFdotnet_diagnostic.CA1000.severity = highdotnet_diagnostic.CA1000.severity = Warningdotnet_style_qualification_for_field = maybe:suggestioncsharp_style_var_elsewhere = true:suggestoincsharp_style_var_elsewhere = true:suggestioncsharp_new_line_before_open_brace = allcsharp_new_line_before_open_brace = methods, typescsharp_new_line_before_open_brace = methods, typscsharp_new_line_before_else = true:suggestiondotnet_naming_symbols.x.applicable_kinds = class, struktdotnet_code_quality.CA1822.api_surface = anything, goesnot_a_known_property = whateverConfiguration
Section titled “Configuration”editorconfig: lint: rules: invalid-property-value: warn # off, warn (default), errorSuppress one line with sudsy-disable-next-line invalid-property-value in a comment of the file’s language.