From f8b057615332046dcd52cf6e6e5ca4357fd592f3 Mon Sep 17 00:00:00 2001 From: HamletDRC Date: Fri, 30 Sep 2016 11:21:03 +0200 Subject: [PATCH] [#268] Make extends tslint.json easier by adding "rulesDirectory": "./". closes #268 --- Gruntfile.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Gruntfile.js b/Gruntfile.js index fef2fe0c4..b6c53fd78 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -413,6 +413,7 @@ module.exports = function(grunt) { grunt.registerTask('generate-default-tslint-json', 'A task that converts recommended_ruleset.js to ./dist/build/tslint.json', function () { const data = require('./recommended_ruleset.js'); + data['rulesDirectory'] = './'; grunt.file.write('./dist/build/tslint.json', JSON.stringify(data, null, 2), {encoding: 'UTF-8'}); });