Module

Whine.Core.ModuleQualifiers

Package
purescript-whine-core
Repository
collegevine/purescript-whine

Takes a list of modules and their preferred qualifiers, and checks that those modules are always imported with those qualifiers.

Configuration should look like this:

{
  "Important.Types": ["IT", "ImpTypes"],
  "Prelude": ["P", ""], # empty string means unqualified import is allowed
  ...
}

There is no "default" configuration. If this rule is not configured, it will not emit any warnings.