sharplinter-msbuild
0.2.1
dotnet add package sharplinter-msbuild --version 0.2.1
NuGet\Install-Package sharplinter-msbuild -Version 0.2.1
<PackageReference Include="sharplinter-msbuild" Version="0.2.1" />
paket add sharplinter-msbuild --version 0.2.1
#r "nuget: sharplinter-msbuild, 0.2.1"
// Install sharplinter-msbuild as a Cake Addin
#addin nuget:?package=sharplinter-msbuild&version=0.2.1
// Install sharplinter-msbuild as a Cake Tool
#tool nuget:?package=sharplinter-msbuild&version=0.2.1
Enables MSBuild integration for the SharpLinter tool written by James Treworgy
The package includes the most recent SharpLinter binaries and JSHint 2.5.6 and provides an MSBuild target for running SharpLinter as a part of the build process.
In addition, the package enforces Visual Studio-compatible formatting for JSHint warning so that they are correctly shown in the Errors tab in Visual Studio.
This is a first release with quite a limited functionality. Please refer to the Release Notes for known limitations.
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 HISTORY
------------------------
0.2.1:
1) Updated sharplinter.conf with a complete set of supported JSHint options
2) Removed "alert", "confirm" and "jQuery" from known global variables as these are made known to JSHint via specialized options.
0.2.0:
Initial public release with basic functions working
IMPORTANT
------------------------
1) Requires the SolutionDir MSBuild property to be defined so once this package has been added to a project, the project can no longer be built with MSBuild without the enclosing solution unless you provide the correct value of the SolutionDir property in command line arguments.
2) It is assumed that the SharpLinter configuration file is named "sharplinter.conf" and is located in the project root folder. A boilerplate configuration file will be added to the project upon installing the NuGet package. The SharpLinter configuration file location can be overridden by defining the "SharpLinterConfigFile" MSBuild property in the Visual Studio project file.
KNOWN LIMITATIONS
------------------------
1) JSHint warnings are always reported as warnings in Visual Studio but an error will be reported if at least one warning was found by JSHint. There currently is no configuration option to change that.
2) Tested only with Visual Studio 2012