Closed gronke closed 8 years ago
Use the outputReport option to pass the tslint results to a Grunt configuration setting that can be referenced from other tasks like in this example:
outputReport
grunt.initConfig({ tslint: { options: { formatter: 'json', outputReport: 'tslint.report', force: true }, files: { src: [ '{,**/}*.ts' ] } } } grunt.registerTask('print', function() { console.log(grunt.config('tslint.report')); }); grunt.registerTask('default', ['tslint', 'print']);
It also introduces the force option, because the print task would not execute without.
force
Branch is rebased. Quite a few changes already found their way into master, so that the changes became a lot simpler 😺
Use the
outputReport
option to pass the tslint results to a Grunt configuration setting that can be referenced from other tasks like in this example:It also introduces the
force
option, because the print task would not execute without.