Open ctcpip opened 4 years ago
A few questions for ya:
yarn why ember-template-lint
/ npm ls ember-template-lint
show you (are there multiple versions)?eslint-plugin-hbs
?$ npm ls ember-template-lint my-app └─┬ ember-cli-template-lint@2.0.2 └── ember-template-lint@2.9.1
not using eslint-plugin-hbs
as far as I know. it's certainly not in package.json
anyway
I could try to do a repro soon
@ctcpip - Do you get the same error when you run npm run lint:hbs
?
looks like no.. only when run as part of test suite (or in VS Code)
@ctcpip could you mention Unstable Ember Language Server
VSCode extension if used?
@ctcpip could you mention
Unstable Ember Language Server
VSCode extension if used?
not used
The issue is that ember-cli-template-lint
does not provide the correct file path for us to discover the .editorconfig
file. This is one reason why the default new application blueprint dropped ember-cli-template-lint
in favor of ember-template-lint
.
I'm getting this linting error:
The
.editorconfig
file is present in the root of the ember project directory, alongside.template-lintrc.js
, etc. and does contain the expected config: