@@ -2,7 +2,9 @@ cabal-version: 2.2
2
2
name : hls-hlint-plugin
3
3
version : 1.0.0.1
4
4
synopsis : Hlint integration plugin with Haskell Language Server
5
- description : Please see Haskell Language Server Readme (https://github.com/haskell/haskell-language-server#readme)
5
+ description :
6
+ Please see Haskell Language Server Readme (https://github.com/haskell/haskell-language-server#readme)
7
+
6
8
license : Apache-2.0
7
9
license-file : LICENSE
8
10
author : The Haskell IDE Team
@@ -23,51 +25,55 @@ flag ghc-lib
23
25
Force dependency on ghc-lib-parser even if GHC API in the ghc package is supported
24
26
25
27
library
26
- exposed-modules : Ide.Plugin.Hlint
27
- hs-source-dirs : src
28
+ exposed-modules : Ide.Plugin.Hlint
29
+ hs-source-dirs : src
28
30
build-depends :
29
31
, aeson
30
- , apply-refact >= 0.9
31
- , base >= 4.12 && < 5
32
+ , apply-refact >= 0.9
33
+ , base >= 4.12 && < 5
32
34
, binary
33
35
, bytestring
34
36
, containers
35
37
, data-default
36
38
, deepseq
37
- , Diff
39
+ , Diff ^ >= 0.4.0
38
40
, directory
39
41
, extra
40
42
, filepath
41
- , ghc-exactprint >= 0.6.3.4
42
- , ghcide ^>= 1.1.0.0
43
+ , ghc-exactprint >= 0.6.3.4
44
+ , ghcide ^>= 1.1.0.0
43
45
, hashable
44
- , lsp
45
- , hlint >= 3.2
46
- , hls-plugin-api >= 1.0 && < 1.2
46
+ , hlint >= 3.2
47
+ , hls-plugin-api >= 1.0 && < 1.2
47
48
, hslogger
48
49
, lens
50
+ , lsp
49
51
, regex-tdfa
50
52
, shake
51
53
, temporary
52
54
, text
53
55
, transformers
54
56
, unordered-containers
55
57
56
- if (!flag(ghc-lib) && impl(ghc >= 8.10.1 ) && impl(ghc < 9.0.0 ))
57
- build-depends : ghc ^>= 8.10
58
+ if (( !flag(ghc-lib) && impl(ghc >= 8.10.1 ) ) && impl(ghc < 9.0.0 ))
59
+ build-depends : ghc ^>= 8.10
58
60
59
61
else
60
62
build-depends :
61
63
, ghc
62
- , ghc-lib ^>= 8.10.4.20210206
63
- , ghc-lib-parser-ex ^>= 8.10
64
+ , ghc-lib ^>= 8.10.4.20210206
65
+ , ghc-lib-parser-ex ^>= 8.10
64
66
65
67
cpp-options : -DHLINT_ON_GHC_LIB
66
68
67
- ghc-options : -Wall -Wredundant-constraints -Wno-name-shadowing -Wno-unticked-promoted-constructors
69
+ ghc-options :
70
+ -Wall -Wredundant-constraints -Wno-name-shadowing
71
+ -Wno-unticked-promoted-constructors
68
72
69
73
if flag(pedantic)
70
74
ghc-options : -Werror
71
75
72
- default-language : Haskell2010
73
- default-extensions : DataKinds, TypeOperators
76
+ default-language : Haskell2010
77
+ default-extensions :
78
+ DataKinds
79
+ TypeOperators
0 commit comments