Skip to content

Commit

Permalink
Merge pull request #159 from bgriffith/hotfix/incorrect-defaults-betw…
Browse files Browse the repository at this point in the history
…een-assertions

Hotfix develop - Fix custom options overwriting defaults between assertions
  • Loading branch information
DanPurdy committed Sep 12, 2015
2 parents ded9b90 + 955d2b9 commit c2457ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ module.exports = function (config) {

options = typeof fullRule === 'object' ? fullRule[1] : {};

options = merge.recursive(loadRule.defaults, options);
options = merge.recursive(true, loadRule.defaults, options);

handlers.push({
'rule': loadRule,
Expand Down

0 comments on commit c2457ad

Please sign in to comment.