Skip to content

Commit

Permalink
style(prettier): update spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
casserni committed Dec 4, 2018
1 parent 3019614 commit 253f43a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,10 +269,7 @@ export class Spectral {
internalRuleStore[ruleIndex].rule.enabled = r;
} else if (typeof r === 'object' && !Array.isArray(r)) {
// rule definition
internalRuleStore[ruleIndex] = this._parseRuleDefinition(
{ name: ruleName, rule: r, format },
functionStore
);
internalRuleStore[ruleIndex] = this._parseRuleDefinition({ name: ruleName, rule: r, format }, functionStore);
} else {
throw new Error(`Unknown rule definition format: ${r}`);
}
Expand Down

0 comments on commit 253f43a

Please sign in to comment.