From 215178cee9be3383c03a83260591ee69e0ab8342 Mon Sep 17 00:00:00 2001 From: Kirk Larkin <6025110+serpent5@users.noreply.github.com> Date: Mon, 14 Mar 2022 14:20:31 +0000 Subject: [PATCH] Add initial .editorconfig and extra markdownlint rules (#25293) --- .editorconfig | 17 +++++++++++++++++ .markdownlint.json | 11 ++++++++++- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..de0e8f1f45 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,17 @@ +root = true + +[*] +charset = utf-8 +end_of_line = crlf +indent_size = 2 +indent_style = space +insert_final_newline = true + +[*.{cs,cshtml,html,razor}] +indent_size = 4 + +[*.cs] +dotnet_sort_system_directives_first = true + +[*.md] +max_line_length = off diff --git a/.markdownlint.json b/.markdownlint.json index f7cfeb89a2..f95d35cbfa 100644 --- a/.markdownlint.json +++ b/.markdownlint.json @@ -4,6 +4,9 @@ "blanks-around-lists": false, "blanks-around-fences": false, "blanks-around-headers": true, + "emphasis-style": { + "style": "asterisk" + }, "fenced-code-language": true, "first-header-h1": false, "first-line-h1": false, @@ -61,5 +64,11 @@ }, "required-headers": false, "single-h1": false, - "ul-start-left": false + "strong-style": { + "style": "asterisk" + }, + "ul-start-left": false, + "ul-style": { + "style": "asterisk" + } }