tslint-msbuild-path

0.9.3 • Public • Published

tslint-msbuild-path

TsLint formatter that outputs errors in a format msbuild expects so they can be navigatable in visual studio.

The errors reported by tslint in visual studio cannot be quickly navigated to. This formatter outputs the format that msbuild expects so you can navigate to them through the error list and by clicking F8 to jump to the next error.

grunt-tslint

Basic example that includes all .ts files and excludes any d.ts files.

grunt.initConfig({
    tslint: {
        options: {
            formatter: "tslint-msbuild-path"
        },
        files: {
            ["**/*.ts", "!**.*.d.ts"]
        }
    }
});

Project.csproj

To get grunt to run as part of your visual studio build, you can add the following to your .csproj file

 
  <Target Name="GruntBuild" AfterTargets="AfterBuild">
    <Exec Command="npm install" />
    <Exec Command="grunt tslint" />
  </Target>

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.9.3
    41
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.9.3
    41
  • 0.9.2
    0
  • 0.9.1
    0
  • 0.9.0
    0

Package Sidebar

Install

npm i tslint-msbuild-path

Weekly Downloads

37

Version

0.9.3

License

MIT

Last publish

Collaborators

  • belav