Skip to content

Instantly share code, notes, and snippets.

@Macadoshis
Created July 1, 2019 13:41
Show Gist options
  • Save Macadoshis/c2020218eb5d9e8fc08d59b317731ab6 to your computer and use it in GitHub Desktop.
Save Macadoshis/c2020218eb5d9e8fc08d59b317731ab6 to your computer and use it in GitHub Desktop.
[*]
charset=utf-8
end_of_line=crlf
trim_trailing_whitespace=false
insert_final_newline=false
indent_style=space
indent_size=4
# Microsoft .NET properties
csharp_new_line_before_members_in_object_initializers=false
csharp_preferred_modifier_order=public, private, protected, internal, new, abstract, virtual, sealed, override, static, readonly, extern, unsafe, volatile, async:suggestion
csharp_space_after_cast=false
csharp_style_var_elsewhere=true:hint
csharp_style_var_for_built_in_types=true:hint
csharp_style_var_when_type_is_apparent=true:hint
dotnet_style_predefined_type_for_locals_parameters_members=true:hint
dotnet_style_predefined_type_for_member_access=true:hint
dotnet_style_qualification_for_event=false:warning
dotnet_style_qualification_for_field=false:warning
dotnet_style_qualification_for_method=false:warning
dotnet_style_qualification_for_property=false:warning
dotnet_style_require_accessibility_modifiers=for_non_interface_members:hint
# ReSharper properties
resharper_autodetect_indent_settings=true
resharper_csharp_keep_blank_lines_in_code=1
resharper_csharp_keep_blank_lines_in_declarations=1
resharper_csharp_wrap_lines=false
resharper_place_accessorholder_attribute_on_same_line=False
resharper_sort_usings_with_system_first=false
resharper_space_within_single_line_array_initializer_braces=true
resharper_use_indent_from_vs=false
# ReSharper inspection severities
resharper_web_config_module_not_resolved_highlighting=warning
resharper_web_config_type_not_resolved_highlighting=warning
resharper_web_config_wrong_module_highlighting=warning
[*.feature]
indent_style=space
indent_size=2
[*.less]
indent_style=space
indent_size=2
[*.scss]
indent_style=space
indent_size=2
[{*.coffee,*.cjsx}]
indent_style=space
indent_size=2
[{*.yml,*.yaml}]
indent_style=space
indent_size=2
[*.{appxmanifest,asax,ascx,aspx,build,config,cs,cshtml,csproj,dbml,discomap,dtd,htm,html,jsproj,lsproj,master,njsproj,nuspec,proj,props,razor,resw,resx,skin,StyleCop,targets,tasks,vb,vbproj,xaml,xamlx,xml,xoml,xsd}]
indent_style=space
indent_size=4
tab_width=4
[*.ts]
insert_final_newline = true
[*.md]
max_line_length = off
trim_trailing_whitespace = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment