haskell / haskell/haskell-language-server

HLint config in subfolder not picked up

Open
#1,260 4 comments 0 reactions 0 assignees View on GitHub
can-workaround component: hls-hlint-plugin type: bug
Dominant language
Haskell
Stars
3k
Forks
455
Avg merge
3d 21h
Merged PRs (30d)
13

Description

haskell-language-server version: 0.8.0.0 (GHC: 8.10.2) (PATH: /home/gthomas/.cabal/bin/haskell-language-server)
Tool versions found on the $PATH
cabal: 3.2.0.0
stack: Not found
ghc: 8.10.2
VScode

My workspace folder has a `haskell` subfolder, but `.hlint.yaml` is only picked up if I move it to the very top level of the project, which is inconvenient. Everything else works fine.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue in VSCode with a workspace containing a haskell subfolder and a .hlint.yaml file there, using the Haskell Language Server and HLint. Compare behavior with the configuration at the workspace root; done means the subfolder configuration is discovered without moving it.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.