-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Support baseURL compiler option #167
Comments
Its possible your import statement is the problem as inheritance should be supported: MeirionHughes@7f941b9 |
That could be it: I'm not importing with a relative path. I have updated my original post to show how I import |
Yes, that's it. I think you'll need to use relative paths. Unless I'm mistaken "src/components/toggle" means |
Using relative paths isn't a good option for my project. In this case the module path I'm importing from matches what I passed to config.reflectionOpts.sourceFileGlob = "src/**/*.ts"; I can understand that following complex module resolution logic is a bit out of scope for a template linter. But perhaps it might be a useful feature to try to resolve non-relative imports that match the |
resolution:
original:
Not very common, but sometimes I have something like:
src/components/my-widget.ts:
src/components/toggle.ts:
src/components/my-widget.html:
In which case the linter should not report
WARNING: cannot find 'toggle' in type 'MyWidget' Ln 2 Col 3 my-widget.html
or
WARNING: cannot find 'toggled' in type 'MyWidget' Ln 3 Col 3 my-widget.html
.The text was updated successfully, but these errors were encountered: