Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Commit

Permalink
[#268] Make extends tslint.json easier by adding "rulesDirectory": "./".
Browse files Browse the repository at this point in the history
closes #268
  • Loading branch information
HamletDRC committed Sep 30, 2016
1 parent de81f63 commit f8b0576
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'});
});

Expand Down

0 comments on commit f8b0576

Please sign in to comment.