]> gitweb.michael.orlitzky.com - email-validator.git/commitdiff
email-validator.cabal: enable more compiler warnings.
authorMichael Orlitzky <michael@orlitzky.com>
Fri, 8 Mar 2019 21:44:09 +0000 (16:44 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Fri, 8 Mar 2019 21:44:09 +0000 (16:44 -0500)
email-validator.cabal

index a3bcae4364536ebfc1c0d988ea2f97651034f82b..451a09bd11436986a03a83492749bae04a030d91 100644 (file)
@@ -74,16 +74,11 @@ executable email-validator
     Paths_email_validator
 
   ghc-options:
-    -Wall
-    -fwarn-hi-shadowing
-    -fwarn-missing-signatures
-    -fwarn-name-shadowing
-    -fwarn-orphans
-    -fwarn-type-defaults
-    -fwarn-tabs
-    -fwarn-incomplete-record-updates
-    -fwarn-monomorphism-restriction
-    -fwarn-unused-do-bind
+    -Weverything
+    -Wno-implicit-prelude
+    -Wno-safe
+    -Wno-unsafe
+    -Wno-all-missed-specialisations
     -rtsopts
     -threaded
     -optc-O3
@@ -114,16 +109,11 @@ test-suite testsuite
 
   -- It's not entirely clear to me why I have to reproduce all of this.
   ghc-options:
-    -Wall
-    -fwarn-hi-shadowing
-    -fwarn-missing-signatures
-    -fwarn-name-shadowing
-    -fwarn-orphans
-    -fwarn-type-defaults
-    -fwarn-tabs
-    -fwarn-incomplete-record-updates
-    -fwarn-monomorphism-restriction
-    -fwarn-unused-do-bind
+    -Weverything
+    -Wno-implicit-prelude
+    -Wno-safe
+    -Wno-unsafe
+    -Wno-all-missed-specialisations
     -rtsopts
     -threaded
     -optc-O3