Closed
Description
Describe the feature request
Make cabal check reject packages when source distribution contains files with invalid names on any operating system. For example aux
is not valid on Windows (and Windows file systems are case insensitive)., so e.g. module Foo.Aux.Helpers
or Language.Con
, Foreign.Nul
are a bad idea.
Additional context
I think calling explicitly, System.FilePath.Posix.isValid
and System.FilePath.Windows.isValid
would be enough.