diff options
author | Vitek Karas <vitek.karas@microsoft.com> | 2020-05-06 22:42:03 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-06 22:42:03 +0300 |
commit | c0f1fb57748bbebef039becfb56e24208be95e62 (patch) | |
tree | 8af4ff5c1d8d5e295d3ced91500410f235fd1e54 /.editorconfig | |
parent | 0ef3cc99e70a02eb791d437c941b471ad38c81ed (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-- | .editorconfig | 3 |
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 |