Cake.Issues.EsLint 5.0.1

dotnet add package Cake.Issues.EsLint --version 5.0.1                
NuGet\Install-Package Cake.Issues.EsLint -Version 5.0.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Cake.Issues.EsLint" Version="5.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Cake.Issues.EsLint --version 5.0.1                
#r "nuget: Cake.Issues.EsLint, 5.0.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Cake.Issues.EsLint&version=5.0.1                

ESLint support for the Cake.Issues addin for Cake Build Automation System

NOTE: This is the version of the addin compatible with Cake .NET Tool. For addin compatible with Cake Frosting see Cake.Frosting.Issues.EsLint.

The EsLint support for the Cake.Issues addin for Cake allows you to read issues logged by ESLint.

Cake.Issues redefines issue management within the Cake build system by offering a comprehensive, universal, and extensible solution. The unique capabilities of the addins empower development teams to enforce coding standards, generate insightful reports, seamlessly incorporate various linting tools, and streamlining the integration with pull requests. With its modular architecture and extensive set of aliases, Cake.Issues provides a future-proof infrastructure for issue management in Cake builds, fostering a more efficient and adaptable development process.

For more information and extensive documentation see the Cake.Issues website. For general information about the Cake build automation system see the Cake website.

How to use

Integrating Cake.Issues into your Cake build is straightforward. With minimal setup, teams can enjoy the benefits of enhanced code quality management seamlessly integrated into their existing build pipeline.

After adding the addin the log file of an EsLint run can be parsed:

Task("Build-Documentation").Does(() =>
{
    var logPath = @"c:\build\eslint.log";
    var repoRootPath = @"c:\repo";
    var docRootPath = @"docs";

    // Run ESLint using Cake.ESLint addin.
    ESLint(
        x => {
            x.AddDirectory("src");
            x.WorkingDirectory = repoRootPath;
            x.Output = logPath;
            x.OutputFormat = ESLintOutputFormat.Json;
            x.ContinueOnErrors = true;
        });

    // Read issues.
    var issues =
        ReadIssues(
            EsLintIssuesFromFilePath(logPath, EsLintJsonFormat()),
            repoRootPath);

    Information("{0} issues are found.", issues.Count());
});

Support & Discussion

For questions and to discuss ideas & feature requests, use the GitHub discussions on the Cake GitHub repository, under the Extension Q&A category.

Contributing

Contributions are welcome. See Contribution Guidelines.

License

MIT License - Copyright © Cake Issues contributors

Binary distributions for some addins contain third-party code which is licensed under its own respective license. See LICENSE for details.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
5.0.1 214 12/17/2024
5.0.0 606 12/2/2024
5.0.0-beta0002 130 11/23/2024
5.0.0-beta0001 268 11/18/2024
4.12.0 553 11/5/2024
4.11.0 552 10/6/2024
4.10.1 598 8/20/2024
4.10.0 206 7/30/2024
4.9.0 212 7/25/2024
4.8.1 194 7/19/2024
4.8.0 153 7/19/2024
4.7.2 172 7/18/2024
4.7.1 241 7/17/2024
4.7.0 160 7/16/2024
4.6.0 354 6/24/2024
4.5.1 314 5/24/2024
4.5.0 229 5/23/2024
4.4.0 335 5/18/2024
4.3.1 790 4/25/2024
4.3.0 333 4/20/2024
4.2.1 250 4/16/2024
4.2.0 656 4/14/2024
4.1.0 15,060 2/21/2024
4.0.0 32,821 12/23/2023
4.0.0-beta0001 5,520 12/11/2023
3.0.0 34,329 7/13/2023
3.0.0-beta0001 4,598 6/14/2023
2.0.0 21,213 12/4/2022
2.0.0-beta0002 577 11/30/2022
2.0.0-beta0001 6,142 7/25/2022
1.0.1 76,303 7/30/2021
1.0.0 774 7/27/2021
1.0.0-beta0001 332 2/26/2021
0.9.0 14,880 8/22/2020
0.9.0-beta0002 414 8/4/2020
0.9.0-beta0001 425 7/14/2020
0.8.0 613 7/12/2020
0.8.0-beta0001 1,467 10/12/2019
0.7.0 2,588 5/30/2019
0.7.0-beta0001 466 5/27/2019
0.6.0 2,600 8/24/2018
0.6.0-beta0002 736 8/20/2018
0.6.0-beta0001 725 8/19/2018
0.5.0 917 8/17/2018
0.5.0-beta0001 728 8/6/2018
0.4.0 958 7/28/2018
0.4.0-beta0002 686 7/27/2018
0.4.0-beta0001 712 7/24/2018
0.3.0 1,330 6/4/2018
0.3.0-beta0001 774 6/3/2018
0.2.0 961 5/24/2018
0.2.0-beta0001 916 1/1/2018
0.1.0 1,623 9/16/2017
0.1.0-beta0002 774 9/13/2017
0.1.0-beta0001 870 9/9/2017