Module
Whine.Core.CommaFirstArrays
- Package
- purescript-whine-core
- Repository
- collegevine/purescript-whine
Checks that array literals are written comma-first style, with elements aligned vertically, one space to the right of the commas.
Single-line arrays are ok.
Several elements on the same line are ok, as long as the first one of them is aligned correctly.
-- Good:
[ 1
, 2
, 3
]
-- Good:
[ 1, 2, 3 ]
-- Good:
[ 1, 2
, 3
, 4, 5
, 6
]
-- Bad:
[ 1
, 2
, 3
]
-- Bad:
[ 1
, 2
, 3
]
-- Bad:
[
1,
2,
3
]
-- Bad:
[ 1, 2,
3, 4 ]
- 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