Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

Commit

Permalink
allow disallowMultipleVarDecl to be false as to override preset
Browse files Browse the repository at this point in the history
I inherit from the preset "google", but I want to allow multiple vars. Unless I'm missing something I think it would be best to remove that assertion otherwise you cannot override the extended preset.
  • Loading branch information
doug committed Sep 4, 2014
1 parent 7bd0438 commit bb57558
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/rules/disallow-multiple-var-decl.js
Expand Up @@ -9,10 +9,6 @@ module.exports.prototype = {
typeof disallowMultipleVarDecl === 'boolean',
'disallowMultipleVarDecl option requires boolean value'
);
assert(
disallowMultipleVarDecl === true,
'disallowMultipleVarDecl option requires true value or should be removed'
);
},

getOptionName: function() {
Expand Down

0 comments on commit bb57558

Please sign in to comment.