Closed
Description
openedon Sep 12, 2016
A "nice" difference between *nix
and windows systems is that unix treats duplicate slashes in paths /User/ben////my////path///
As one slash /User/ben/my/path/
.
Windows however does not. This means that on windows, the module loader will be unable to find paths that are okeyed by the linter, for example:
// fine on unix, bad on windows...
import workflow from './/workflow';
Is there a way we could add a platform specific check? or maybe just disallow duplicate slashes, as they will be removed automatically on unix?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment