Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

msbuild formatter does not output errors to 'error list'-tab in visual studio enterprise 2015 #83

Open
luukgruijs opened this issue Oct 19, 2016 · 4 comments

Comments

@luukgruijs
Copy link

gulp-tslint version: ^6.1.2
tslint version: ^3.15.1
Operating system: Windows

gulp configuration:

/// <binding BeforeBuild='lint' />
var gulp            = require('gulp');
var tslint          = require('gulp-tslint');

// ts lint
gulp.task('lint', function () {
    gulp.src('App/**/*.ts')
        .pipe(tslint({
            formatter: 'msbuild'
        }))
        .pipe(tslint.report({
            emitError: false
        }));
});

console output:
console-taskrunner

Errorlist output has no warnings
errorlist

can anyone tell me if i do something wrong or that there maybe is an issue?

Thanks in advance.

@unional
Copy link

unional commented Nov 21, 2016

May relate to this:
#95

@panuhorsmalahti
Copy link
Owner

Not that it should matter, but you might give gulp-tslint 7 / tslint 4 a go. It's the latest version in any case.

@JyrkiHei
Copy link

Hi! Having the same problem. Is it even supposed directly? I'm running the gulp-task in Task Runner Explorer /w Visual Studio 2015 Enterprise Update 3.

// Task slightly modified
gulp.task("tslint", () =>
gulp.src(['Helpers.ts'])
.pipe(tslint({ formatter: "msbuild" }))
.pipe(tslint.report({
emitError: false
}))
);

Package.json
"gulp-tslint": "^7.0.1",
"tslint": "^4.3.1",

@304NotModified
Copy link

304NotModified commented Jun 27, 2017

Also for me I can't get it working. It shows only the errors in the task runner explorer.

  • VS2017 pro (VS2017.2)
  • "gulp-tslint": "^8.1.1",
  • "tslint": "^5.4.3",
  • "typescript": "^2.3.4",

Got anyone it working? Or is this not supported?

#95 doesn't seem related

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants