ember-template-lint / eslint-plugin-hbs

Plugin for eslint which checks inline hbs templates
ISC License
18 stars 8 forks source link

expect `filePath` to be a string, got `undefined` hbs/check-hbs-template-literals #44

Open amk221 opened 3 years ago

amk221 commented 3 years ago

I'm afraid I don't have any more info yet, other than it started after upgrading ember-template-lint to v3

jelhan commented 2 years ago

I'm seeing the same error when running ember-template-lint . after adding ember-template-lint-plugin-prettier. I don't see the error when running eslint .. But I'm also not using eslint-plugin-hbs. I just came across this bug report, which seems to be related, when googling the error.

jelhan commented 2 years ago

I was able to fix the error by removing ember-cli-template-lint and adding ember-template-lint to the project instead. By doing so I implicitly upgraded ember-template-lint from 1.3.0 to 3.14.0.