Closed owzzz closed 11 months ago
@owzzz interesting, why would this to do anything with ESLint in your app? Note that .ts extension was added deliberately, for some more info see https://github.com/embroider-build/addon-blueprint/pull/160
CI is not happy 😬
TBH I think this is wrong thing to change as .ts extension only affects authoring format (required by rollup) and should not affect publishing format.
@owzzz may I ask you to create a simple repro repository so I can dig into the problem?
Hey Serge, only just returning to this. Will do. I'll take a look this week and provide a more detailed write up.
Hey, @owzzz were you able to get ESLint/tsc to ignore your node_modules
?
otherwise, you may need to enable the following TS options:
"allowImportingTsExtensions": true
we have v4.0.0 out and believe this is not an issue with addon but rather an issue with ESLint on this particular case which should not lint node_modules
folder
In trying out the
4.0.0-beta.0
release I noticed eslint was complaining about the file extension being used on the import path.The error was:
This PR removes the file extensions completely where applicable.