Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add T_BACKTICK to JS tokenizer #2594

Closed
rebeccahum opened this issue Aug 26, 2019 · 2 comments
Closed

Add T_BACKTICK to JS tokenizer #2594

rebeccahum opened this issue Aug 26, 2019 · 2 comments

Comments

@rebeccahum
Copy link

It would be nice if we can add T_BACKTICK in the JS tokenizer since template literals use backticks.

@rebeccahum rebeccahum changed the title Add T_BACKTICK to JS tokens Add T_BACKTICK to JS tokenizer Aug 26, 2019
@gsherwood
Copy link
Member

I'm planning on removing support for JS and CSS tokenizing in version 4, so I'm not making any changes to the existing feature set. I suggest looking into dedicated JS linting tools like eslint.

@michelgokan
Copy link

@gsherwood one can simply add <exclude-pattern>*\.(inc|css|js)</exclude-pattern> in the rulesets, but then Generic.Debug.ESLint will not be effective on js files anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants