panuhorsmalahti / gulp-tslint

TypeScript linter plugin for Gulp
MIT License
118 stars 44 forks source link

gulp-tslint does not pass on rulesDirectory to TSLint #3

Closed rogierschouten closed 10 years ago

rogierschouten commented 10 years ago

It seems that the gulp plugin does not pass the rules directory setting on to lint, given your code (index.js)

 var options = {
                formatter: 'json',
                configuration: fileopts,
                rulesDirectory: pluginOptions.formatter || null,
                formattersDirectory: pluginOptions.formatter || null
            };
panuhorsmalahti commented 10 years ago

Thanks for reporting, fixed the issue and released 1.2.0. Also removed formattersDirectory, reporters can be used for that.

rogierschouten commented 10 years ago

@panuhorsmalahti thanks for the quick response!