Parsing PackageConfig for AllPackages and Specific #11
Annotations
1 error and 4 warnings
hlint
HLint failed with status: 1. Suggestion (3)
|
hlint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: haskell/actions/hlint-setup@v2, haskell/actions/hlint-run@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
hlint:
cabal-install/src/Distribution/Client/ProjectConfig/Parsec.hs#L141
Suggestion in parseSection in module Distribution.Client.ProjectConfig.Parsec: Move brackets to avoid $ ▫︎ Found: "spcs <> (MapMappend $ Map.singleton packageName pkgCfg)" ▫︎ Perhaps: "spcs <> MapMappend (Map.singleton packageName pkgCfg)"
|
hlint:
cabal-install/src/Distribution/Client/ProjectConfig/Parsec.hs#L181
Suggestion in parseProgramArgs in module Distribution.Client.ProjectConfig.Parsec: Move brackets to avoid $ ▫︎ Found: "accum <> (MapMappend $ Map.singleton program args)" ▫︎ Perhaps: "accum <> MapMappend (Map.singleton program args)"
|
hlint:
cabal-install/src/Distribution/Client/ProjectConfig/Parsec.hs#L192
Suggestion in parseProgramPaths in module Distribution.Client.ProjectConfig.Parsec: Move brackets to avoid $ ▫︎ Found: "accum <> (MapLast $ Map.singleton program fp)" ▫︎ Perhaps: "accum <> MapLast (Map.singleton program fp)"
|