.editorconfig 1012 B

12345678910111213141516171819202122232425262728293031323334353637
  1. ; EditorConfig to support per-solution formatting.
  2. ; Use the EditorConfig VS add-in to make this work.
  3. ; http://editorconfig.org/
  4. ;
  5. ; Here are some resources for what's supported for .NET/C#
  6. ; https://kent-boogaart.com/blog/editorconfig-reference-for-c-developers
  7. ; https://docs.microsoft.com/en-us/visualstudio/ide/editorconfig-code-style-settings-reference?view=vs-2017
  8. ;
  9. ; Be **careful** editing this because some of the rules don't support adding a severity level
  10. ; For instance if you change to `dotnet_sort_system_directives_first = true:warning` (adding `:warning`)
  11. ; then the rule will be silently ignored.
  12. ; This is the default for the codeline.
  13. root = true
  14. [*]
  15. indent_style = space
  16. charset = utf-8
  17. trim_trailing_whitespace = true
  18. insert_final_newline = true
  19. [*.cs]
  20. indent_size = 4
  21. dotnet_sort_system_directives_first = true
  22. [*.{xml,config,*proj,nuspec,props,resx,targets,yml,tasks}]
  23. indent_size = 2
  24. [*.json]
  25. indent_size = 2
  26. [*.{ps1,psm1}]
  27. indent_size = 4
  28. [*.sh]
  29. indent_size = 4
  30. end_of_line = lf