Skip to content

Commit

Permalink
Merge pull request #6 from rchl/origin/master
Browse files Browse the repository at this point in the history
Enable for javascriptnext syntax
  • Loading branch information
groteworld committed Jun 26, 2015
2 parents c6a168b + 260a49d commit 7c2e6d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class GJSLint(Linter):

"""Provides an interface to the gjslint executable."""

syntax = ('javascript', 'html')
syntax = ('javascript', 'javascriptnext', 'html')
cmd = 'gjslint --nobeep --nosummary'
regex = r'^Line (?P<line>\d+), (?:(?P<error>E)|(?P<warning>W)):\d+: (?P<message>[^"]+(?P<near>"[^"]+")?.*$)'
comment_re = r'\s*/[/*]'
Expand Down

0 comments on commit 7c2e6d4

Please sign in to comment.