@@ -14,7 +14,7 @@ build-type: Simple
14
14
cabal-version : >= 2.0
15
15
16
16
flag pedantic
17
- Description : Enable -Werror -Wwarn=unused-imports
17
+ Description : Enable -Werror
18
18
Default : False
19
19
20
20
library
@@ -102,7 +102,7 @@ library
102
102
103
103
ghc-options : -Wall -Wredundant-constraints
104
104
if flag(pedantic)
105
- ghc-options : -Werror -Wwarn=unused-imports
105
+ ghc-options : -Werror
106
106
default-language : Haskell2010
107
107
108
108
executable hie
@@ -121,7 +121,7 @@ executable hie
121
121
ghc-options : -threaded -rtsopts -with-rtsopts=-N -Wall -Wredundant-constraints
122
122
-with-rtsopts=-T
123
123
if flag(pedantic)
124
- ghc-options : -Werror -Wwarn=unused-imports
124
+ ghc-options : -Werror
125
125
default-language : Haskell2010
126
126
127
127
@@ -142,7 +142,7 @@ executable hie-wrapper
142
142
ghc-options : -threaded -rtsopts -with-rtsopts=-N -Wall -Wredundant-constraints
143
143
-with-rtsopts=-T
144
144
if flag(pedantic)
145
- ghc-options : -Werror -Wwarn=unused-imports
145
+ ghc-options : -Werror
146
146
default-language : Haskell2010
147
147
148
148
library hie-test-utils
@@ -168,7 +168,7 @@ library hie-test-utils
168
168
, yaml
169
169
ghc-options : -Wall -Wredundant-constraints
170
170
if flag(pedantic)
171
- ghc-options : -Werror -Wwarn=unused-imports
171
+ ghc-options : -Werror
172
172
default-language : Haskell2010
173
173
174
174
test-suite unit-test
@@ -212,7 +212,7 @@ test-suite unit-test
212
212
213
213
ghc-options : -Wall -Wredundant-constraints
214
214
if flag(pedantic)
215
- ghc-options : -Werror -Wwarn=unused-imports
215
+ ghc-options : -Werror
216
216
default-language : Haskell2010
217
217
218
218
test-suite dispatcher-test
@@ -236,7 +236,7 @@ test-suite dispatcher-test
236
236
237
237
ghc-options : -threaded -rtsopts -with-rtsopts=-N -Wall -Wredundant-constraints
238
238
if flag(pedantic)
239
- ghc-options : -Werror -Wwarn=unused-imports
239
+ ghc-options : -Werror
240
240
default-language : Haskell2010
241
241
build-tool-depends : hspec-discover :hspec-discover
242
242
@@ -256,7 +256,7 @@ test-suite plugin-dispatcher-test
256
256
257
257
ghc-options : -threaded -rtsopts -with-rtsopts=-N -Wall -Wredundant-constraints
258
258
if flag(pedantic)
259
- ghc-options : -Werror -Wwarn=unused-imports
259
+ ghc-options : -Werror
260
260
default-language : Haskell2010
261
261
262
262
test-suite func-test
@@ -301,7 +301,7 @@ test-suite func-test
301
301
, containers
302
302
ghc-options : -threaded -rtsopts -with-rtsopts=-N -Wall -Wredundant-constraints
303
303
if flag(pedantic)
304
- ghc-options : -Werror -Wwarn=unused-imports
304
+ ghc-options : -Werror
305
305
default-language : Haskell2010
306
306
build-tool-depends : hspec-discover :hspec-discover
307
307
, haskell-ide-engine :hie
@@ -320,7 +320,7 @@ test-suite wrapper-test
320
320
, hie-plugin-api
321
321
ghc-options : -threaded -rtsopts -with-rtsopts=-N -Wall -Wredundant-constraints
322
322
if flag(pedantic)
323
- ghc-options : -Werror -Wwarn=unused-imports
323
+ ghc-options : -Werror
324
324
default-language : Haskell2010
325
325
326
326
0 commit comments