Module

Whine.Core.UndesirableModules

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

Takes a list of modules that "shouldn't" be used in code (because they're bad/dangerous somehow), with an optional message to e.g. explain why the module shouldn't be used or propose alternatives.

Configuration should look like this:

{
  "Unsafe.Module": "Don't use this module, it's unsafe",
  "Another.Module": "Use Better.Alternative instead",
  ...
}

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