You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 27, 2022. It is now read-only.
I get linter errors in my project that uses kotlin-js.
On external and the js functions exposed.
Is this on my end or do we need to update something in this package?
I'd be willing to submit a PR, if I can get a pointer 👍
I guess setting the executable to be kotlinc-js fixes it for me.
But we probably want to be able to detect that, and use the proper executable for the project.
The text was updated successfully, but these errors were encountered:
The error is from the compiler (kotlinc) itself. As you've found out, it looks like some special support is required to be able to compile a class with the external modifier. For example in gradle, the kotlin-platform-js plugin has to be applied.
If you think you can work on this, then please go ahead and open a pull request when you have something working.
This does seem to require a bit more thought than I thought initially.
The kotlinc-js command does not take the same arguments as kotlinc.
Is there a reason that something like ktlint isn't used?
I get linter errors in my project that uses
kotlin-js
.On
external
and thejs
functions exposed.Is this on my end or do we need to update something in this package?
I'd be willing to submit a PR, if I can get a pointer 👍
I guess setting the executable to be
kotlinc-js
fixes it for me.But we probably want to be able to detect that, and use the proper executable for the project.
The text was updated successfully, but these errors were encountered: