Last active
December 29, 2022 23:41
-
-
Save pwelter34/a591259697ecbb2f77c6f756604068cb to your computer and use it in GitHub Desktop.
Basic editor config for markdown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# EditorConfig is awesome: https://EditorConfig.org | |
root = true | |
# All Files | |
[*] | |
charset = utf-8 | |
indent_style = space | |
indent_size = 4 | |
insert_final_newline = true | |
trim_trailing_whitespace = true | |
# XML Configuration Files | |
[*.{xml,config,props,targets,nuspec,resx,ruleset,vsixmanifest,vsct}] | |
indent_size = 2 | |
# JSON Files | |
[*.{json,json5,webmanifest}] | |
indent_size = 2 | |
# Project Files | |
[*.{csproj,sqlproj}] | |
indent_size = 2 | |
# YAML Files | |
[*.{yml,yaml}] | |
indent_size = 2 | |
# Markdown Files | |
[*.md] | |
trim_trailing_whitespace = false | |
# Web Files | |
[*.{htm,html,js,jsm,ts,tsx,css,sass,scss,less,pcss,svg,vue}] | |
indent_size = 2 | |
# Batch Files | |
[*.{cmd,bat}] | |
end_of_line = crlf | |
# Bash Files | |
[*.sh] | |
end_of_line = lf | |
[*.{cs,vb}] | |
dotnet_sort_system_directives_first = true | |
dotnet_separate_import_directive_groups = true | |
dotnet_style_namespace_match_folder = true | |
[*.cs] | |
csharp_using_directive_placement = outside_namespace | |
csharp_style_namespace_declarations = file_scoped:warning |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment