Skip to content

Appropriately deal with files that don't end with a line terminator #8709

Appropriately deal with files that don't end with a line terminator

Appropriately deal with files that don't end with a line terminator #8709

Triggered via pull request September 9, 2026 11:06
@Aster89Aster89
synchronize #5058
Aster89:win
Status Success
Total duration 39s
Artifacts

hlint.yml

on: pull_request
Hlint check run
36s
Hlint check run
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
Hlint check run
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: haskell-actions/hlint-run@v2, haskell-actions/hlint-setup@v2. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Hlint check run: ghcide-test/data/TH/THC.hs#L1
Warning in module THC: Use module export list ▫︎ Found: "module THC where" ▫︎ Perhaps: "module THC (\n module THC\n ) where" ▫︎ Note: an explicit list is usually better
Hlint check run: ghcide-test/data/TH/THB.hs#L1
Warning in module THB: Use module export list ▫︎ Found: "module THB where" ▫︎ Perhaps: "module THB (\n module THB\n ) where" ▫︎ Note: an explicit list is usually better
Hlint check run: ghcide-test/data/TH/THA.hs#L1
Warning in module THA: Use module export list ▫︎ Found: "module THA where" ▫︎ Perhaps: "module THA (\n module THA\n ) where" ▫︎ Note: an explicit list is usually better
Hlint check run: ghcide/src/Text/Fuzzy/Levenshtein.hs#L1
Warning in module Text.Fuzzy.Levenshtein: Use module export list ▫︎ Found: "module Text.Fuzzy.Levenshtein where" ▫︎ Perhaps: "module Text.Fuzzy.Levenshtein (\n module Text.Fuzzy.Levenshtein\n ) where" ▫︎ Note: an explicit list is usually better
Hlint check run: ghcide/src/Development/IDE/Import/FindImports.hs#L214
Suggestion in locateModule in module Development.IDE.Import.FindImports: Use <$ ▫︎ Found: "const realName <$> modName" ▫︎ Perhaps: "realName <$ modName"
Hlint check run: ghcide/session-loader/Development/IDE/Session/OrderedSet.hs#L1
Warning in module Development.IDE.Session.OrderedSet: Use module export list ▫︎ Found: "module Development.IDE.Session.OrderedSet where" ▫︎ Perhaps: "module Development.IDE.Session.OrderedSet (\n module Development.IDE.Session.OrderedSet\n ) where" ▫︎ Note: an explicit list is usually better
Hlint check run: ghcide/session-loader/Development/IDE/Session/Ghc.hs#L1
Warning in module Development.IDE.Session.Ghc: Use module export list ▫︎ Found: "module Development.IDE.Session.Ghc where" ▫︎ Perhaps: "module Development.IDE.Session.Ghc (\n module Development.IDE.Session.Ghc\n ) where" ▫︎ Note: an explicit list is usually better
Hlint check run: ghcide/session-loader/Development/IDE/Session/Diagnostics.hs#L1
Warning in module Development.IDE.Session.Diagnostics: Use module export list ▫︎ Found: "module Development.IDE.Session.Diagnostics where" ▫︎ Perhaps: "module Development.IDE.Session.Diagnostics (\n module Development.IDE.Session.Diagnostics\n ) where" ▫︎ Note: an explicit list is usually better
Hlint check run: ghcide/session-loader/Development/IDE/Session/Dependency.hs#L1
Warning in module Development.IDE.Session.Dependency: Use module export list ▫︎ Found: "module Development.IDE.Session.Dependency where" ▫︎ Perhaps: "module Development.IDE.Session.Dependency (\n module Development.IDE.Session.Dependency\n ) where" ▫︎ Note: an explicit list is usually better
Hlint check run: exe/Wrapper.hs#L1
Warning in module Main: Use module export list ▫︎ Found: "module Main where" ▫︎ Perhaps: "module Main (\n module Main\n ) where" ▫︎ Note: an explicit list is usually better