Skip to content
This repository was archived by the owner on Dec 25, 2023. It is now read-only.

Commit 38c0366

Browse files
committed
Merge branch 'release/4.0.0'
2 parents c1c047e + fcf99bd commit 38c0366

12 files changed

Lines changed: 49 additions & 66 deletions

File tree

.appveyor.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ install:
1111
- ps: mkdir $env:DOTNET_INSTALL_DIR -Force | Out-Null
1212
- ps: Invoke-WebRequest -Uri "https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.ps1" -OutFile "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1"
1313
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 5.0.408 -InstallDir $env:DOTNET_INSTALL_DIR'
14-
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 6.0.405 -InstallDir $env:DOTNET_INSTALL_DIR'
15-
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 7.0.102 -InstallDir $env:DOTNET_INSTALL_DIR'
14+
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 6.0.417 -InstallDir $env:DOTNET_INSTALL_DIR'
15+
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 7.0.404 -InstallDir $env:DOTNET_INSTALL_DIR'
16+
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 8.0.100 -InstallDir $env:DOTNET_INSTALL_DIR'
1617
- ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
1718
- ps: dotnet --info
1819

.github/dependabot.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/renovate.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"github>cake-contrib/renovate-presets:cake-issues"
5+
]
6+
}

azure-pipelines.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,9 @@ jobs:
2727
inputs:
2828
version: '7.x'
2929
displayName: 'Install .NET 7'
30+
- task: UseDotNet@2
31+
inputs:
32+
version: '8.x'
33+
displayName: 'Install .NET 8'
3034
- powershell: ./build.ps1
3135
displayName: 'Cake Build'

global.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"sdk": {
3+
"allowPrerelease": true,
4+
"version": "8.0.100",
5+
"rollForward": "latestFeature"
6+
}
7+
}

nuspec/nuget/Cake.Issues.EsLint.nuspec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ See the Project Site for an overview of the whole ecosystem of addins for workin
2424
<repository type="git" url="https://github.com/cake-contrib/Cake.Issues.EsLint.git"/>
2525
<copyright>Copyright © BBT Software AG and contributors</copyright>
2626
<tags>cake cake-addin cake-issues cake-issueprovider code-analysis javascript linting eslint</tags>
27-
<releaseNotes>https://github.com/cake-contrib/Cake.Issues.ESLint/releases/tag/3.0.0</releaseNotes>
27+
<releaseNotes>https://github.com/cake-contrib/Cake.Issues.ESLint/releases/tag/4.0.0</releaseNotes>
2828
</metadata>
2929
<files>
3030
<file src="..\..\..\..\nuspec\nuget\icon.png" target="" />
@@ -34,5 +34,8 @@ See the Project Site for an overview of the whole ecosystem of addins for workin
3434
<file src="net7.0\Cake.Issues.EsLint.dll" target="lib\net7.0" />
3535
<file src="net7.0\Cake.Issues.EsLint.pdb" target="lib\net7.0" />
3636
<file src="net7.0\Cake.Issues.EsLint.xml" target="lib\net7.0" />
37+
<file src="net8.0\Cake.Issues.EsLint.dll" target="lib\net8.0" />
38+
<file src="net8.0\Cake.Issues.EsLint.pdb" target="lib\net8.0" />
39+
<file src="net8.0\Cake.Issues.EsLint.xml" target="lib\net8.0" />
3740
</files>
3841
</package>

recipe.cake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#load nuget:https://pkgs.dev.azure.com/cake-contrib/Home/_packaging/addins/nuget/v3/index.json?package=Cake.Recipe&version=3.0.0-beta0001-0007&prerelease
1+
#load nuget:?package=Cake.Recipe&version=3.1.1
22

33
//*************************************************************************************************
44
// Settings

src/Cake.Issues.EsLint.Tests/Cake.Issues.EsLint.Tests.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727
</ItemGroup>
2828

2929
<ItemGroup>
30-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.2" />
31-
<PackageReference Include="Cake.Testing" Version="3.0.0" />
32-
<PackageReference Include="Cake.Issues.Testing" Version="3.0.0" />
30+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
31+
<PackageReference Include="Cake.Testing" Version="4.0.0" />
32+
<PackageReference Include="Cake.Issues.Testing" Version="4.0.0" />
3333
<PackageReference Include="Shouldly" Version="4.2.1" />
3434
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118" />
35-
<PackageReference Include="xunit" Version="2.4.2" />
36-
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5" />
35+
<PackageReference Include="xunit" Version="2.6.3" />
36+
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.5" />
3737
</ItemGroup>
3838

3939
<ItemGroup>

src/Cake.Issues.EsLint/Cake.Issues.EsLint.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
4+
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
55
<Description>EsLint support for the Cake.Issues Addin for Cake Build Automation System</Description>
66
<Authors>BBT Software AG</Authors>
77
<Company>BBT Software AG</Company>
@@ -19,9 +19,9 @@
1919
</PropertyGroup>
2020

2121
<ItemGroup>
22-
<PackageReference Include="Cake.Core" Version="3.0.0" PrivateAssets="All" />
23-
<PackageReference Include="Cake.Issues" Version="3.0.0" />
24-
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="7.0.1">
22+
<PackageReference Include="Cake.Core" Version="4.0.0" PrivateAssets="All" />
23+
<PackageReference Include="Cake.Issues" Version="4.0.0" />
24+
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="8.0.0">
2525
<PrivateAssets>all</PrivateAssets>
2626
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2727
</PackageReference>

src/Cake.Issues.EsLint/EsLintIssuesProvider.cs

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,17 @@
55
/// <summary>
66
/// Provider for issues reported by ESLint.
77
/// </summary>
8-
public class EsLintIssuesProvider : BaseMultiFormatIssueProvider<EsLintIssuesSettings, EsLintIssuesProvider>
8+
/// <param name="log">The Cake log context.</param>
9+
/// <param name="settings">Settings for reading the log file.</param>
10+
public class EsLintIssuesProvider(ICakeLog log, EsLintIssuesSettings settings)
11+
: BaseMultiFormatIssueProvider<EsLintIssuesSettings, EsLintIssuesProvider>(log, settings)
912
{
10-
/// <summary>
11-
/// Initializes a new instance of the <see cref="EsLintIssuesProvider"/> class.
12-
/// </summary>
13-
/// <param name="log">The Cake log context.</param>
14-
/// <param name="settings">Settings for reading the log file.</param>
15-
public EsLintIssuesProvider(ICakeLog log, EsLintIssuesSettings settings)
16-
: base(log, settings)
17-
{
18-
}
19-
2013
/// <summary>
2114
/// Gets the name of the ESLint issue provider.
2215
/// This name can be used to identify issues based on the <see cref="IIssue.ProviderType"/> property.
2316
/// </summary>
2417
public static string ProviderTypeName => typeof(EsLintIssuesProvider).FullName;
25-
18+
2619
/// <inheritdoc />
2720
public override string ProviderName => "ESLint";
2821
}

0 commit comments

Comments
 (0)