microsoft/TypeAgent
Publicmirrored fromhttps://github.com/microsoft/TypeAgentAvailable
ts/.editorconfig
28lines · modecode
| 1 | root = true |
| 2 | |
| 3 | [*] |
| 4 | indent_style = space |
| 5 | end_of_line = lf |
| 6 | |
| 7 | # Typescript files |
| 8 | [*.{cts,mts,ts,tsx}] |
| 9 | insert_final_newline = true |
| 10 | trim_trailing_whitespace = true |
| 11 | tab_width = 4 |
| 12 | indent_size = 4 |
| 13 | file_header_template = // Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License. |
| 14 | |
| 15 | # Javascript files |
| 16 | [*.{cjs,mjs,js,jsx}] |
| 17 | insert_final_newline = true |
| 18 | trim_trailing_whitespace = true |
| 19 | tab_width = 4 |
| 20 | indent_size = 4 |
| 21 | file_header_template = // Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License. |
| 22 | |
| 23 | # JSON config files |
| 24 | [*.json] |
| 25 | tab_width = 2 |
| 26 | indent_size = 2 |
| 27 | insert_final_newline = true |
| 28 | trim_trailing_whitespace = true |