Skip to content

Commit

Permalink
fix(scope): Add console to whitelist.
Browse files Browse the repository at this point in the history
Closes #101.
  • Loading branch information
cartant committed Jun 19, 2019
1 parent 80873c5 commit 8dec947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/rules/rxjsNoUnsafeScopeRule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
isWithinParameterDeclaration
} from "../support/util";

const knownGlobalRegExp = /^(Array|BigInt|Date|Intl|JSON|Math|Number|Object|Promise|Proxy|Reflect|String|Symbol)$/;
const knownGlobalRegExp = /^(Array|BigInt|Date|Intl|JSON|Math|Number|Object|Promise|Proxy|Reflect|String|Symbol|console)$/;

export class Rule extends Lint.Rules.TypedRule {
public static metadata: Lint.IRuleMetadata = {
Expand Down

0 comments on commit 8dec947

Please sign in to comment.