Commit feef8a8 1 parent 2bf587c commit feef8a8 Copy full SHA for feef8a8
File tree 3 files changed +15
-1
lines changed
3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,9 @@ dotnet_diagnostic.CA1856.severity = error
68
68
# CA2252: Opt in to preview features before using them
69
69
dotnet_diagnostic.CA2252.severity = error
70
70
71
+ # CA1303: Do not pass literals as localized parameters
72
+ dotnet_diagnostic.CA1303.severity = silent
73
+
71
74
# CA1707: Identifiers should not contain underscores
72
75
dotnet_diagnostic.CA1707.severity = none
73
76
@@ -86,6 +89,12 @@ dotnet_diagnostic.CA1819.severity = none
86
89
# IDE0305: Use collection expression for fluent
87
90
dotnet_diagnostic.IDE0305.severity = none
88
91
92
+ dotnet_code_quality.api_surface = all
93
+ dotnet_code_quality.required_modifiers = none
94
+ dotnet_code_quality.enum_values_prefix_trigger = AnyEnumValue
95
+ dotnet_code_quality.try_determine_additional_string_formatting_methods_automatically = true
96
+ dotnet_code_quality.use_naming_heuristic = true
97
+
89
98
# #########################################
90
99
# Language Rules
91
100
# https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/language-rules
Original file line number Diff line number Diff line change @@ -177,14 +177,17 @@ internal sealed class ConfigManager
177
177
public KeyGesture SelectNextLookupResultKeyGesture { get ; private set ; } = new ( Key . Down , ModifierKeys . Alt ) ;
178
178
public KeyGesture SelectPreviousLookupResultKeyGesture { get ; private set ; } = new ( Key . Up , ModifierKeys . Alt ) ;
179
179
public KeyGesture MineSelectedLookupResultKeyGesture { get ; private set ; } = new ( Key . D5 , ModifierKeys . Alt ) ;
180
-
181
180
#endregion
182
181
183
182
#region Advanced
184
183
185
184
public int MaxSearchLength { get ; private set ; } = 37 ;
186
185
public int MaxNumResultsNotInMiningMode { get ; private set ; } = 7 ;
186
+
187
+ #pragma warning disable CA1056 // URI-like properties should not be strings
187
188
public string SearchUrl { get ; private set ; } = "https://www.google.com/search?q={SearchTerm}&hl=ja" ;
189
+ #pragma warning restore CA1056 // URI-like properties should not be strings
190
+
188
191
public string BrowserPath { get ; private set ; } = "" ;
189
192
public bool DisableHotkeys { get ; set ; } // = false;
190
193
public bool GlobalHotKeys { get ; private set ; } = true ;
Original file line number Diff line number Diff line change @@ -18,7 +18,9 @@ internal sealed partial class EditAudioSourceWindow
18
18
private readonly string _uri ;
19
19
private readonly AudioSource _audioSource ;
20
20
21
+ #pragma warning disable CA1054 // URI-like parameters should not be strings
21
22
public EditAudioSourceWindow ( string uri , AudioSource audioSource )
23
+ #pragma warning restore CA1054 // URI-like parameters should not be strings
22
24
{
23
25
_uri = uri ;
24
26
_audioSource = audioSource ;
You can’t perform that action at this time.
0 commit comments