diff --git a/linter.py b/linter.py index f301571..391fc2a 100644 --- a/linter.py +++ b/linter.py @@ -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\d+), (?:(?PE)|(?PW)):\d+: (?P[^"]+(?P"[^"]+")?.*$)' comment_re = r'\s*/[/*]'