microsoft/healthcare-shared-components
Publicmirrored fromhttps://github.com/microsoft/healthcare-shared-componentsAvailable
.editorconfig
56lines · modecode
| 1 | # editorconfig.org |
| 2 | |
| 3 | # top-most EditorConfig file |
| 4 | root = true |
| 5 | |
| 6 | # Default settings: |
| 7 | # A newline ending every file |
| 8 | # Use 4 spaces as indentation |
| 9 | [*] |
| 10 | insert_final_newline = true |
| 11 | indent_style = space |
| 12 | indent_size = 4 |
| 13 | trim_trailing_whitespace = true |
| 14 | |
| 15 | # Generated code |
| 16 | [*{_AssemblyInfo.cs,.notsupported.cs,.Generated.cs}] |
| 17 | generated_code = true |
| 18 | |
| 19 | # C# files |
| 20 | [*.cs] |
| 21 | charset = utf-8 |
| 22 | file_header_template = -------------------------------------------------------------------------------------------------\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the MIT License (MIT). See LICENSE in the repo root for license information.\n------------------------------------------------------------------------------------------------- |
| 23 | |
| 24 | # Xml project files |
| 25 | [*.{csproj,dcproj}] |
| 26 | charset = utf-8 |
| 27 | indent_size = 2 |
| 28 | |
| 29 | # Xml files |
| 30 | [*.{xml,resx}] |
| 31 | charset = utf-8 |
| 32 | indent_size = 2 |
| 33 | |
| 34 | # Xml config files |
| 35 | [*.{props,targets,config,nuspec}] |
| 36 | charset = utf-8 |
| 37 | indent_size = 2 |
| 38 | |
| 39 | # JSON files |
| 40 | [*.json] |
| 41 | charset = utf-8 |
| 42 | indent_size = 2 |
| 43 | |
| 44 | # YAML files |
| 45 | [*.{yml,yaml}] |
| 46 | charset = utf-8 |
| 47 | indent_size = 2 |
| 48 | |
| 49 | # Shell scripts |
| 50 | [*.sh] |
| 51 | charset = utf-8 |
| 52 | end_of_line = lf |
| 53 | |
| 54 | [*.{cmd,bat}] |
| 55 | charset = utf-8 |
| 56 | end_of_line = crlf |
| 57 | |