Skip to content

Commit

Permalink
Pass in rulesDirectory to lint options
Browse files Browse the repository at this point in the history
This is needed when we use rulesDirectory, right now it doesn't pass that value to tslint, adding this makes it correct.
  • Loading branch information
mohamedmansour committed Oct 9, 2018
1 parent bb510b1 commit bec3ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function lint(webpackInstance, input, options) {
fix: options.fix,
formatter: options.formatter,
formattersDirectory: options.formattersDirectory,
rulesDirectory: ''
rulesDirectory: options.rulesDirectory
};
var bailEnabled = (webpackInstance.options && webpackInstance.options.bail === true);

Expand Down

0 comments on commit bec3ef9

Please sign in to comment.