Module
Whine
- Package
- purescript-whine-core
- Repository
- collegevine/purescript-whine
#runRules Source
runRules :: forall m e. MonadEffect m => RangeOf e => RuleSet -> Module e -> WhineM (WithRule + ()) { logLevel :: LogSeverity } m UnitGiven a parsed PS module, runs all the rules on it. The rules report violations via Writer side-effects.
#checkModule Source
checkModule :: forall m. MonadEffect m => RuleSet -> { path :: FilePath, text :: String } -> WhineM (WithRule + WithMuted + WithFile + ()) { logLevel :: LogSeverity } m UnitGiven full text of a PureScript module, parses it and runs all the rules on
it, then amends the rules with the muted :: Boolean flag based on the
muting directives in the file itself as well as include/exclude globs in
each rule's config. If reading the file or parsing it fails, those
conditions are reported as linter violations, rather than a big loud crash.
- 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. CommaFirst 
- Whine.Core. CommaFirstArrays 
- Whine.Core. CommaFirstRecords 
- Whine.Core. UndesirableFunctions 
- 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.Test 
- Whine.Types 
- WhineM