Closed yarrouye closed 7 years ago
Cool, thanks for working on this. Could you also add a few test-cases please?
I had a quick look re: tests, and:
Let me know how to run tests and I can see what I can do.
You can run a test e.g. as follows:
python -m closure_linter.full_test
(I just saw that the jsdoc test is failing :/ so never mind this one)
Probably adding an example template string in closure_linter/testdata/tokenizer.js
is enough. The test should fail without your patch and pass with yours.
Thanks!
Alright, test added as a regression test.
Thanks again, much appreciated!
Anytime, especially if it gets in the way of me submitting code in Chromium :).
Hi,
As I was working on some changes in Chromium, I kept being tripped by the presubmit complaining about a missing semicolon at the end of line in a template string.
Chromium uses gjslint, so I thought I would give a try at adding recognition of these strings so that the Chromium presubmits eventually stop complaining about valid code. This is my attempt at doing so.
Cheers, YA