Open a14n opened 8 years ago
I haven't seen yet an embedder that expose both of these library.
For the context I got an issue reported on a package (https://github.com/a14n/dart-js-wrapping/issues/8#issuecomment-215124967) where the issue was caused by an import of a server-side library in a web endpoint. There should be something to avoid this mistake.
I can't claim that I understand what's going on here https://groups.google.com/a/dartlang.org/forum/#!topic/reviews/-HJKjoBqz44, just remembered seeing it.
Is the request here just to report a diagnostics when a library imports both dart:io
and dart:html
directly? Or something more about indirect imports?
Moving to the linter repo as I think this would have false positives and should be opt-in.
Isn't that supported now on server-side code?
dart:io
on browser code doesn't make sense of course.