Skip to content

Commit 1554860

Browse files
committed
Fix -Wunused-packages in hls-alternate-number-format-plugin
1 parent db8efbe commit 1554860

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

plugins/hls-alternate-number-format-plugin/hls-alternate-number-format-plugin.cabal

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,28 +21,28 @@ source-repository head
2121
type: git
2222
location: https://github.com/haskell/haskell-language-server.git
2323

24+
common warnings
25+
ghc-options: -Wall -Wunused-packages
26+
2427
library
28+
import: warnings
2529
exposed-modules: Ide.Plugin.AlternateNumberFormat, Ide.Plugin.Conversion
2630
other-modules: Ide.Plugin.Literals
2731
hs-source-dirs: src
28-
ghc-options: -Wall
2932
build-depends:
30-
aeson
3133
, base >=4.12 && < 5
3234
, containers
3335
, extra
3436
, ghcide == 2.6.0.0
3537
, ghc-boot-th
3638
, hls-graph
3739
, hls-plugin-api == 2.6.0.0
38-
, hie-compat
3940
, lens
4041
, lsp ^>=2.3.0.0
4142
, mtl
4243
, regex-tdfa
4344
, syb
4445
, text
45-
, unordered-containers
4646

4747
default-language: Haskell2010
4848
default-extensions:
@@ -52,6 +52,7 @@ library
5252
RecordWildCards
5353

5454
test-suite tests
55+
import: warnings
5556
type: exitcode-stdio-1.0
5657
default-language: Haskell2010
5758
hs-source-dirs: test
@@ -64,7 +65,6 @@ test-suite tests
6465
, hls-alternate-number-format-plugin
6566
, hls-test-utils == 2.6.0.0
6667
, lsp
67-
, QuickCheck
6868
, regex-tdfa
6969
, tasty-quickcheck
7070
, text

0 commit comments

Comments
 (0)