File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -433,9 +433,10 @@ library hls-explicit-imports-plugin
433433 import : defaults, pedantic, warnings
434434 exposed-modules : Ide.Plugin.ExplicitImports
435435 hs-source-dirs : plugins/hls-explicit-imports-plugin/src
436- ghc-options :
437- --See Note [unused-packages]
438- -Wwarn=unused-packages
436+ if flag(pedantic)
437+ ghc-options :
438+ --See Note [unused-packages]
439+ -Wwarn=unused-packages
439440 build-depends :
440441 , aeson
441442 , base >= 4.12 && < 5
@@ -816,9 +817,10 @@ library hls-splice-plugin
816817 exposed-modules :
817818 Ide.Plugin.Splice
818819 Ide.Plugin.Splice.Types
819- ghc-options :
820- --See Note [unused-packages]
821- -Wwarn=unused-packages
820+ if flag(pedantic)
821+ ghc-options :
822+ --See Note [unused-packages]
823+ -Wwarn=unused-packages
822824
823825 hs-source-dirs : plugins/hls-splice-plugin/src
824826 build-depends :
@@ -1379,9 +1381,10 @@ test-suite hls-ormolu-plugin-tests
13791381 type : exitcode-stdio-1.0
13801382 hs-source-dirs : plugins/hls-ormolu-plugin/test
13811383 main-is : Main.hs
1382- ghc-options :
1383- -- See Note [unused-packages]
1384- -Wwarn=unused-packages
1384+ if flag(pedantic)
1385+ ghc-options :
1386+ --See Note [unused-packages]
1387+ -Wwarn=unused-packages
13851388 build-tool-depends :
13861389 ormolu :ormolu
13871390 build-depends :
You can’t perform that action at this time.
0 commit comments