mirror of
https://github.com/duplicati/duplicati.git
synced 2025-11-27 19:10:29 +08:00
69 lines
1.2 KiB
INI
69 lines
1.2 KiB
INI
##########################################
|
|
# Common Settings
|
|
##########################################
|
|
|
|
# This file is the top-most EditorConfig file
|
|
root = true
|
|
|
|
# All Files
|
|
[*]
|
|
charset = utf-8
|
|
end_of_line = lf
|
|
indent_style = space
|
|
indent_size = 4
|
|
insert_final_newline = true
|
|
trim_trailing_whitespace = true
|
|
|
|
##########################################
|
|
# File Extension Settings
|
|
##########################################
|
|
|
|
# Visual Studio Solution Files
|
|
[*.sln]
|
|
indent_style = tab
|
|
|
|
[*.slnx]
|
|
indent_style = tab
|
|
|
|
# Visual Studio XML Project Files
|
|
[*.{csproj,vbproj,vcxproj.filters,proj,projitems,shproj}]
|
|
indent_size = 2
|
|
|
|
# XML Configuration Files
|
|
[*.{xml,config,props,targets,nuspec,resx,ruleset,vsixmanifest,vsct}]
|
|
indent_size = 2
|
|
|
|
# JSON Files
|
|
[*.{json,json5,webmanifest}]
|
|
indent_size = 2
|
|
|
|
# YAML Files
|
|
[*.{yml,yaml}]
|
|
indent_size = 2
|
|
|
|
# Markdown Files
|
|
[*.{md,mdx}]
|
|
trim_trailing_whitespace = false
|
|
|
|
# Web Files
|
|
[*.{htm,html,js,jsm,ts,tsx,cjs,cts,ctsx,mjs,mts,mtsx,css,sass,scss,less,pcss,svg,vue}]
|
|
indent_size = 2
|
|
|
|
# Batch Files
|
|
[*.{cmd,bat}]
|
|
end_of_line = crlf
|
|
|
|
# Bash Files
|
|
[*.sh]
|
|
end_of_line = lf
|
|
|
|
# Makefiles
|
|
[Makefile]
|
|
indent_style = tab
|
|
|
|
[*.aspx.designer.cs]
|
|
trim_trailing_whitespace = false
|
|
end_of_line = crlf
|
|
|
|
[*.js]
|
|
indent_size = 2
|