-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
39 lines (31 loc) · 927 Bytes
/
.editorconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# EditorConfig to support per-solution formatting.
# http://editorconfig.org/
root = true
# Default
[*]
indent_style = space
trim_trailing_whitespace = true
insert_final_newline = true
# Config - match XML and default nuget.config template
[*.config]
indent_size = 2
# HTML, XML - match defaults for VS
[*.{cshtml,html,xml}]
indent_size = 4
# JavaScript and JS mixes - match eslint settings; JSON also matches .NET Core templates
[*.{js,json,ts,vue}]
indent_size = 2
# Markdown - match markdownlint settings
[*.{md,markdown}]
indent_size = 2
# PowerShell - match defaults for New-ModuleManifest and PSScriptAnalyzer Invoke-Formatter
[*.{ps1,psd1,psm1}]
indent_size = 4
charset = utf-8-bom
# Linux shell - match common examples, require LF to ensure local interpretation works
[*.sh]
end_of_line = LF
indent_size = 2
# YAML - match standard YAML like Kubernetes and Azure DevOps pipelines
[*.{yaml,yml}]
indent_size = 2