mirror of
				https://github.com/nsnail/spectre.console.git
				synced 2025-10-31 17:15:28 +08:00 
			
		
		
		
	Adds DotSettings and tweaks editoconfigs for tests
R# and Rider have quite a bit of noise related to documentation in the testing projects so this disables those warnings. In the main projects, R# and Rider complain loudly about the namespaces not matching the file structure. The DotSettings file disables that warning. Once you get rid of that noise there are quite a few opportunities for trimming out redundant code that R# points out especially with the nullable support enabled, plus there are some bugs related to multiple enumerations worth looking into I think.
This commit is contained in:
		 Phil Scott
					Phil Scott
				
			
				
					committed by
					
						 Patrik Svensson
						Patrik Svensson
					
				
			
			
				
	
			
			
			 Patrik Svensson
						Patrik Svensson
					
				
			
						parent
						
							525b414ff8
						
					
				
				
					commit
					3a42c0a119
				
			| @@ -7,6 +7,9 @@ dotnet_diagnostic.CS1591.severity = none | ||||
| # SA1600: Elements should be documented | ||||
| dotnet_diagnostic.SA1600.severity = none | ||||
|  | ||||
| # SA1200: Using directives should be placed correctly | ||||
| dotnet_diagnostic.SA1200.severity = none | ||||
|  | ||||
| # Default severity for analyzer diagnostics with category 'StyleCop.CSharp.OrderingRules' | ||||
| dotnet_analyzer_diagnostic.category-StyleCop.CSharp.OrderingRules.severity = none | ||||
|  | ||||
|   | ||||
| @@ -7,6 +7,12 @@ dotnet_analyzer_diagnostic.category-StyleCop.CSharp.DocumentationRules.severity | ||||
| # CA1707: Identifiers should not contain underscores | ||||
| dotnet_diagnostic.CA1707.severity = none | ||||
|  | ||||
| # SA1600: Elements should be documented | ||||
| dotnet_diagnostic.SA1600.severity = none | ||||
|  | ||||
| # SA1601: Partial elements should be documented | ||||
| dotnet_diagnostic.SA1601.severity = none | ||||
|  | ||||
| # SA1200: Using directives should be placed correctly | ||||
| dotnet_diagnostic.SA1200.severity = none | ||||
|  | ||||
|   | ||||
							
								
								
									
										2
									
								
								src/Spectre.Console.sln.DotSettings
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								src/Spectre.Console.sln.DotSettings
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | ||||
| <wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> | ||||
| 	<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=CheckNamespace/@EntryIndexedValue">DO_NOT_SHOW</s:String></wpf:ResourceDictionary> | ||||
		Reference in New Issue
	
	Block a user