简体   繁体   中英

Eslint in Visual studio code not working with .hbs files?

Ive got eslint installed in visual studio code and it works for .js files but with Ember's .hbs files no errors are shown in the code editor. I have it all enabled along with eslint packages installed. I am running Version 1.29.0 on Mac os.

eslint works with .js files. For .hbs files, I recommend ember-template-lint.

https://github.com/ember-template-lint/ember-template-lint

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM