Skip to content

Commit 1431685

Browse files
committed
Add localisation length hinting
1 parent b689637 commit 1431685

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.editorconfig

+2
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,8 @@ csharp_style_prefer_switch_expression = false:none
175175
#Supressing roslyn built-in analyzers
176176
# Suppress: EC112
177177

178+
dotnet_diagnostic.OLOC001.words_in_name = 5
179+
178180
#Private method is unused
179181
dotnet_diagnostic.IDE0051.severity = silent
180182
#Private member is unused

osu.Game/.editorconfig

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
[*.cs]
2+
dotnet_diagnostic.OLOC001.words_in_name = 5
23
dotnet_diagnostic.OLOC001.prefix_namespace = osu.Game.Resources.Localisation
3-
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.
4+
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.

0 commit comments

Comments
 (0)