2020-10-14 14:03:48 -07:00
|
|
|
; EditorConfig to support per-solution formatting.
|
|
|
|
; http://editorconfig.org/
|
|
|
|
|
|
|
|
; This is the default for the codeline.
|
|
|
|
root = true
|
|
|
|
|
|
|
|
; Default
|
|
|
|
[*]
|
|
|
|
indent_style = space
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
insert_final_newline = true
|
2020-11-12 00:43:32 -08:00
|
|
|
end_of_line = lf
|
2020-10-14 14:03:48 -07:00
|
|
|
|
|
|
|
; Go Code - match go fmt
|
|
|
|
[*.go]
|
|
|
|
indent_style = tab
|
|
|
|
|
|
|
|
; TOML - match default for dep
|
|
|
|
[*.toml]
|
|
|
|
indent_size = 2
|
|
|
|
|
|
|
|
; JavaScript and JS mixes - match eslint, other standards
|
|
|
|
[*.{js,json,ts,vue}]
|
|
|
|
indent_size = 2
|
|
|
|
|
|
|
|
; Markdown - match markdownlint settings
|
|
|
|
[*.{md,markdown}]
|
|
|
|
indent_size = 2
|
2020-11-04 23:56:12 -08:00
|
|
|
trim_trailing_whitespace = false
|
2020-10-14 14:03:48 -07:00
|
|
|
|
|
|
|
; PowerShell - match defaults for New-ModuleManifest and PSScriptAnalyzer Invoke-Formatter
|
|
|
|
[*.{ps1,psd1,psm1}]
|
|
|
|
indent_size = 4
|
|
|
|
charset = utf-8-bom
|