Skip to content

Instantly share code, notes, and snippets.

@BanksySan
Created October 3, 2019 11:35
Show Gist options
  • Save BanksySan/ec9577f899a1299ed4f21839aba5f30c to your computer and use it in GitHub Desktop.
Save BanksySan/ec9577f899a1299ed4f21839aba5f30c to your computer and use it in GitHub Desktop.
VS Editor Config for Unity
#Resharper
resharper_unassigned_field_compiler_highlighting=false
resharper_field_can_be_made_read_only_global_highlighting=false
resharper_field_can_be_made_read_only_local_highlighting=false
resharper_unused_field_compiler_highlighting=false
resharper_unused_member_global_highlighting=false
resharper_unused_member_local_highlighting=false
[*.cs]
# IDE0044: Add readonly modifier
dotnet_style_readonly_field = false:suggestion
# IDE0051: Remove unused private members
dotnet_diagnostic.IDE0051.severity = none
// This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project.
// Project-level suppressions either have no target or are given
// a specific target and scoped to a namespace, type, member, etc.
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1051:Do not declare visible instance fields", Justification = "<Pending>", Scope = "member", Target = "~F:Assets.SharedObject.Message.TextMesh")]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment