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.
- Modules
- Vscode.
Client - Vscode.
Client. Configuration - Vscode.
Client. Executable - Vscode.
Client. FileSystemWatcher - Vscode.
Client. Workspace - Vscode.
Context - Vscode.
Events - Vscode.
Server. Capabilities - Vscode.
Server. Connection - Vscode.
Server. Diagnostic - Vscode.
Server. TextDocuments - Whine
- Whine.
Core. CaseBranchIndentation - Whine.
Core. CommaFirstArrays - Whine.
Core. UndesirableModules - Whine.
Core. WhineRules - Whine.
Log - Whine.
Muting - Whine.
Prelude - Whine.
Print - Whine.
Runner - Whine.
Runner. Cli - Whine.
Runner. Config - Whine.
Runner. FS - Whine.
Runner. Glob - Whine.
Runner. LanguageServer - Whine.
Runner. PackageVersion - Whine.
Runner. Prelude - Whine.
Runner. Yaml - Whine.
Types - WhineM