Skip to content

Commit

Permalink
add YAML Editorconfig rules
Browse files Browse the repository at this point in the history
This prevents our CodeFactor issues as apparently the Red Hat YAML extension doesn't normalize whitespaces on save

Signed-off-by: GitHub <noreply@github.com>
  • Loading branch information
sr229 authored Apr 28, 2021
1 parent 7590f1b commit ad69101
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -211,4 +211,10 @@ dotnet_diagnostic.IDE0073.severity = warning
dotnet_diagnostic.CA2225.severity = none

# Banned APIs
dotnet_diagnostic.RS0030.severity = error
dotnet_diagnostic.RS0030.severity = error

[*.{yaml,yml}]
insert_final_newline = true
indent_style = space
indent_size = 2
trim_trailing_whitespace = true

0 comments on commit ad69101

Please sign in to comment.