Skip to content

Commit 35f525c

Browse files
committed
Cumulative update of 2025-11
1 parent 7615c5c commit 35f525c

File tree

97 files changed

+2964
-1052
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+2964
-1052
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ indent_size = 2
1717
insert_final_newline = true
1818
trim_trailing_whitespace = true
1919

20-
[*.{json}]
20+
[*.json]
2121
indent_style = space
2222
indent_size = 4
2323
insert_final_newline = true

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ obj/
1212
packages/
1313
node_packages/
1414

15+
# Packaged items
16+
.nupkg
17+
1518
# Sonar temp folders
1619
.sonarqube/
1720

@@ -74,3 +77,5 @@ $tf/
7477

7578
# tests
7679
TestResults/
80+
81+
launchSettings.json

.runsettings

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<RunSettings>
3-
<ResultsDirectory>.\TestResults</ResultsDirectory>
3+
<ResultsDirectory>.\TSQLLinter\TestResults</ResultsDirectory>
44
<TestSessionTimeout>10000</TestSessionTimeout>
55

66
<DataCollectionRunSettings>
@@ -44,7 +44,7 @@
4444
</DataCollector>
4545
</DataCollectors>
4646
</DataCollectionRunSettings>
47-
47+
4848
<NUnit>
4949
<UseParentFQNForParemetrizedTests>true</UseParentFQNForParemetrizedTests>
5050
<UseNUnitIdforTestCaseId>true</UseNUnitIdforTestCaseId>

Directory.build.props

Lines changed: 84 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,101 @@
11
<Project>
2+
<!-- Code analysis options -->
23
<PropertyGroup>
4+
<EnableNETAnalyzers>true</EnableNETAnalyzers>
35
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory).stylecop\StyleCop.ruleset</CodeAnalysisRuleSet>
46
<RunSettingsFilePath>$(MSBuildThisFileDirectory).runsettings</RunSettingsFilePath>
7+
<TreatWarningsAsErrors Condition=" '$(ContinuousIntegrationBuild)' == 'true' ">true</TreatWarningsAsErrors>
8+
<NoWarn>$(NoWarn);NU1601;NU1603;NU1801;NETSDK1138</NoWarn>
9+
<!-- IDE0130 Namespace does not match folder structure -->
10+
<NoWarn>$(NoWarn);IDE0130</NoWarn>
11+
<!-- Rules not compatible with netstandard 2.0: -->
12+
<!-- IDE0090 New expression can be simplified -->
13+
<NoWarn>$(NoWarn);IDE0090</NoWarn>
14+
<!-- Collection initialization can be simplified -->
15+
<NoWarn>$(NoWarn);IDE0028;IDE0300;IDE0301;IDE0305</NoWarn>
16+
<!-- IDE0290 Use primary constructor -->
17+
<NoWarn>$(NoWarn);IDE0290</NoWarn>
18+
<!-- IDE0083 Use pattern matching -->
19+
<NoWarn>$(NoWarn);IDE0083</NoWarn>
20+
<!-- IDE0074 Use compound assignment -->
21+
<NoWarn>$(NoWarn);IDE0074</NoWarn>
22+
<!-- IDE0057 Substring can be simplified -->
23+
<NoWarn>$(NoWarn);IDE0057</NoWarn>
24+
<!-- IDE0056 Indexing can be simplified -->
25+
<NoWarn>$(NoWarn);IDE0056</NoWarn>
26+
<!-- IDE0063 Using can be simplified -->
27+
<NoWarn>$(NoWarn);IDE0063</NoWarn>
28+
<!-- IDE0066 Use switch expression -->
29+
<NoWarn>$(NoWarn);IDE0066</NoWarn>
30+
<!-- CA1510 Use ArgumentNullException.ThrowIfNull -->
31+
<NoWarn>$(NoWarn);CA1510</NoWarn>
32+
<!-- RCS1187 Use constant instead of field -->
33+
<NoWarn>$(NoWarn);RCS1187</NoWarn>
34+
</PropertyGroup>
35+
36+
<!-- Restore options -->
37+
<PropertyGroup>
538
<RestoreConfigFile>$(MSBuildThisFileDirectory)NuGet.Config</RestoreConfigFile>
639
<RestoreIgnoreFailedSources>true</RestoreIgnoreFailedSources>
40+
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
41+
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
42+
<RestoreLockedMode Condition="'$(ContinuousIntegrationBuild)' == 'true'">true</RestoreLockedMode>
43+
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>
44+
</PropertyGroup>
45+
46+
<!-- Build management -->
47+
<ItemGroup>
48+
<SourceRoot Include="$(MSBuildProjectDirectory)/" />
49+
</ItemGroup>
50+
51+
<PropertyGroup Condition="'$(Platform)'=='AnyCPU'">
52+
<PlatformTarget>AnyCPU</PlatformTarget>
53+
</PropertyGroup>
54+
55+
<PropertyGroup Condition="'$(IsTestProject)'!='true'">
56+
<Deterministic>true</Deterministic>
57+
</PropertyGroup>
58+
59+
<PropertyGroup>
60+
<Deterministic>true</Deterministic>
61+
<DeterministicSourcePaths>true</DeterministicSourcePaths>
62+
<PathMap>$(MSBuildThisFileDirectory)=./</PathMap>
763
<GenerateDocumentationFile>true</GenerateDocumentationFile>
864
<DisableSystemTextJsonSourceGenerator>true</DisableSystemTextJsonSourceGenerator>
9-
<TreatWarningsAsErrors Condition=" '$(ContinuousIntegrationBuild)' == 'true' ">true</TreatWarningsAsErrors>
10-
<NoWarn>NU1801</NoWarn>
11-
<NoWarn>NU1601</NoWarn>
1265
</PropertyGroup>
66+
67+
<!-- Additional info options -->
68+
<PropertyGroup>
69+
<AppDesignerFolder>Properties</AppDesignerFolder>
70+
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
71+
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
72+
<NeutralLanguage>en</NeutralLanguage>
73+
<NeutralResourcesLanguage>en</NeutralResourcesLanguage>
74+
</PropertyGroup>
75+
76+
<!-- No packing for test projects -->
77+
<PropertyGroup Condition="'$(IsTestProject)'=='true'">
78+
<IsPackable>false</IsPackable>
79+
<IsPublishable>false</IsPublishable>
80+
</PropertyGroup>
81+
82+
<!-- Packing options -->
83+
<PropertyGroup>
84+
<ContentTargetFolders>content</ContentTargetFolders>
85+
</PropertyGroup>
86+
1387
<ItemGroup>
1488
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118">
1589
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
1690
<PrivateAssets>all</PrivateAssets>
1791
</PackageReference>
1892
<AdditionalFiles Include="$(MSBuildThisFileDirectory).stylecop\stylecop.json" Visible="false" />
93+
<PackageReference Include="Roslynator.Analyzers" Version="4.14.1">
94+
<PrivateAssets>all</PrivateAssets>
95+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
96+
</PackageReference>
1997
<None Include="$(MSBuildProjectDirectory)\packages.lock.json" Visible="false" />
98+
<!-- Newer version helps better resolving common dll dependencies -->
99+
<PackageReference Include="Microsoft.NETCore.Platforms" Version="7.0.4" Condition="'$(IsTestProject)' != 'true'" />
20100
</ItemGroup>
21-
</Project>
101+
</Project>

TeamTools.Linter.CommandLine.sln

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,38 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 16
4-
VisualStudioVersion = 16.0.33529.622
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.14.36109.1
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TeamTools.Common.Linting", ".\TeamTools.TSQL.Common\TeamTools.Common.Linting.csproj", "{F5EFD6E9-B19C-4230-B7C1-8AA1E37FFF63}"
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TeamTools.Common.Linting", "TeamTools.TSQL.Common\TeamTools.Common.Linting.csproj", "{F5EFD6E9-B19C-4230-B7C1-8AA1E37FFF63}"
77
EndProject
8-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TeamTools.TSQL.Linter.CommandLine", ".\TeamTools.TSQL.Linter.CommandLine\TeamTools.TSQL.Linter.CommandLine.csproj", "{1843A7A7-94A2-4146-B6D5-DDCFB9F42C5D}"
8+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TeamTools.Linter.CommandLine", "TeamTools.Linter.CommandLine\TeamTools.Linter.CommandLine.csproj", "{1843A7A7-94A2-4146-B6D5-DDCFB9F42C5D}"
99
EndProject
10-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TeamTools.TSQL.Linter.CommandLineTests", ".\TeamTools.TSQL.Linter.CommandLineTests\TeamTools.TSQL.Linter.CommandLineTests.csproj", "{A617E267-3D43-499D-9B6B-5B08B266ACB9}"
10+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TeamTools.Linter.CommandLineTests", "TeamTools.Linter.CommandLineTests\TeamTools.Linter.CommandLineTests.csproj", "{A617E267-3D43-499D-9B6B-5B08B266ACB9}"
11+
EndProject
12+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{8EC462FD-D22E-90A8-E5CE-7E832BA40C5D}"
13+
ProjectSection(SolutionItems) = preProject
14+
LICENSE = LICENSE
15+
readme.md = readme.md
16+
EndProjectSection
1117
EndProject
1218
Global
1319
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1420
Debug|Any CPU = Debug|Any CPU
1521
Release|Any CPU = Release|Any CPU
16-
Test|Any CPU = Test|Any CPU
1722
EndGlobalSection
1823
GlobalSection(ProjectConfigurationPlatforms) = postSolution
1924
{F5EFD6E9-B19C-4230-B7C1-8AA1E37FFF63}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
2025
{F5EFD6E9-B19C-4230-B7C1-8AA1E37FFF63}.Debug|Any CPU.Build.0 = Debug|Any CPU
2126
{F5EFD6E9-B19C-4230-B7C1-8AA1E37FFF63}.Release|Any CPU.ActiveCfg = Release|Any CPU
2227
{F5EFD6E9-B19C-4230-B7C1-8AA1E37FFF63}.Release|Any CPU.Build.0 = Release|Any CPU
23-
{F5EFD6E9-B19C-4230-B7C1-8AA1E37FFF63}.Test|Any CPU.ActiveCfg = Test|Any CPU
24-
{F5EFD6E9-B19C-4230-B7C1-8AA1E37FFF63}.Test|Any CPU.Build.0 = Test|Any CPU
2528
{1843A7A7-94A2-4146-B6D5-DDCFB9F42C5D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
2629
{1843A7A7-94A2-4146-B6D5-DDCFB9F42C5D}.Debug|Any CPU.Build.0 = Debug|Any CPU
2730
{1843A7A7-94A2-4146-B6D5-DDCFB9F42C5D}.Release|Any CPU.ActiveCfg = Release|Any CPU
2831
{1843A7A7-94A2-4146-B6D5-DDCFB9F42C5D}.Release|Any CPU.Build.0 = Release|Any CPU
29-
{1843A7A7-94A2-4146-B6D5-DDCFB9F42C5D}.Test|Any CPU.ActiveCfg = Test|Any CPU
30-
{1843A7A7-94A2-4146-B6D5-DDCFB9F42C5D}.Test|Any CPU.Build.0 = Test|Any CPU
3132
{A617E267-3D43-499D-9B6B-5B08B266ACB9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
3233
{A617E267-3D43-499D-9B6B-5B08B266ACB9}.Debug|Any CPU.Build.0 = Debug|Any CPU
3334
{A617E267-3D43-499D-9B6B-5B08B266ACB9}.Release|Any CPU.ActiveCfg = Release|Any CPU
3435
{A617E267-3D43-499D-9B6B-5B08B266ACB9}.Release|Any CPU.Build.0 = Release|Any CPU
35-
{A617E267-3D43-499D-9B6B-5B08B266ACB9}.Test|Any CPU.ActiveCfg = Test|Any CPU
36-
{A617E267-3D43-499D-9B6B-5B08B266ACB9}.Test|Any CPU.Build.0 = Test|Any CPU
3736
EndGlobalSection
3837
GlobalSection(SolutionProperties) = preSolution
3938
HideSolutionNode = FALSE

0 commit comments

Comments
 (0)