Add localisation length hinting

This commit is contained in:
Dean Herbert 2022-04-28 19:26:28 +09:00
parent b6896376e7
commit 14316855f9
2 changed files with 4 additions and 1 deletions

View File

@ -175,6 +175,8 @@ csharp_style_prefer_switch_expression = false:none
#Supressing roslyn built-in analyzers
# Suppress: EC112
dotnet_diagnostic.OLOC001.words_in_name = 5
#Private method is unused
dotnet_diagnostic.IDE0051.severity = silent
#Private member is unused

View File

@ -1,3 +1,4 @@
[*.cs]
dotnet_diagnostic.OLOC001.words_in_name = 5
dotnet_diagnostic.OLOC001.prefix_namespace = osu.Game.Resources.Localisation
dotnet_diagnostic.OLOC001.license_header = // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE file in the repository root for full licence text.
dotnet_diagnostic.OLOC001.license_header = // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE file in the repository root for full licence text.