Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitek Karas <vitek.karas@microsoft.com>2020-05-06 22:42:03 +0300
committerGitHub <noreply@github.com>2020-05-06 22:42:03 +0300
commitc0f1fb57748bbebef039becfb56e24208be95e62 (patch)
tree8af4ff5c1d8d5e295d3ced91500410f235fd1e54 /.editorconfig
parent0ef3cc99e70a02eb791d437c941b471ad38c81ed (diff)
Fix build and improve auto-formatting (#1172)
Fixes command line build on windows in the analyzer project (latest Arcade has conflicts when building net core and net desktop projects at the same time. since we don't need desktop I removed it) Fixes editorconfig to correctly specify LF as EOL character so that it works on Windows. Added running the lint (auto-formatter) in command line (lint.sh/lint.cmd). CI now runs this command in a `--dry-run` mode so using it before submitting a PR should guarantee correct formatting.
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/.editorconfig b/.editorconfig
index 58a51dcfd..6750e823a 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -1,8 +1,9 @@
# top-most EditorConfig file
root = true
-end_of_line = "lf"
+end_of_line = lf
[*.cs]
+end_of_line = lf
indent_style = tab
indent_size = 4
csharp_new_line_before_open_brace = types,methods