Skip to content
This repository has been archived by the owner on Dec 18, 2018. It is now read-only.

Commit

Permalink
fixup! lint for usage of console.*
Browse files Browse the repository at this point in the history
  • Loading branch information
sideshowbarker committed Jul 9, 2015
1 parent c9a0913 commit 0a4f1c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lint/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class Webidl2Regexp(Regexp):
error = "WEBIDL2.JS"

class ConsoleRegexp(Regexp):
pattern = "console\.[a-zA-Z]+\(.*\)"
pattern = "console\.[a-zA-Z]+\s*\("
error = "CONSOLE"
file_extensions = [".html", ".htm", ".js", ".xht", ".html", ".svg"]

Expand Down

0 comments on commit 0a4f1c6

Please sign in to comment.