summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorBen Gamari <ben@well-typed.com>2022-03-01 16:26:23 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-03-11 19:57:03 -0500
commit62caaa9b381b07208c8a2fae20fb7fee9e951004 (patch)
treeac90f58f4c605b95c0f340b0fbb7c6983bd00ce4 /libraries
parent24b6af26e2e03c93e274ba15c6ead897d884fdd4 (diff)
downloadhaskell-62caaa9b381b07208c8a2fae20fb7fee9e951004.tar.gz
gitlab-ci: Use the linters image in hlint job
As the `hlint` executable is only available in the linters image. Fixes #21146.
Diffstat (limited to 'libraries')
-rw-r--r--libraries/base/.hlint.yaml6
-rw-r--r--libraries/base/Data/Typeable/Internal.hs1
2 files changed, 3 insertions, 4 deletions
diff --git a/libraries/base/.hlint.yaml b/libraries/base/.hlint.yaml
index 55cd9f3fa1..b52817954e 100644
--- a/libraries/base/.hlint.yaml
+++ b/libraries/base/.hlint.yaml
@@ -23,7 +23,7 @@
# lints that we otherwise want applied elsewhere. Such exceptions are listed
# below.
-- ignore: {name: Unused LANGUAGE pragma, within: [GHC.IO.Encoding.CodePage, GHC.IO.Handle.Lock.Windows, GHC.Event.KQueue]}
+- ignore: {name: Unused LANGUAGE pragma, within: [GHC.IO.Encoding.CodePage, GHC.IO.Handle.Lock.Windows, GHC.Event.KQueue, GHC.Generics]}
- ignore: {name: Redundant do, within: [GHC.IO.Handle.Text.commitBuffer]}
-- ignore: {name: Use fewer imports, within: [GHC.Windows]}
-- ignore: {name: Use fewer imports, within: [GHC.Event.Control]}
+- ignore: {name: Use fewer imports, within: [GHC.Windows, GHC.Event.Control]}
+- ignore: {name: Use fewer LANGUAGE pragmas, within: [GHC.IO.Handle.Lock.LinuxOFD]}
diff --git a/libraries/base/Data/Typeable/Internal.hs b/libraries/base/Data/Typeable/Internal.hs
index e9cb1a1937..da786bd6d3 100644
--- a/libraries/base/Data/Typeable/Internal.hs
+++ b/libraries/base/Data/Typeable/Internal.hs
@@ -15,7 +15,6 @@
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE PolyKinds #-}
{-# LANGUAGE ScopedTypeVariables #-}
-{-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE UndecidableInstances #-}
{-# LANGUAGE TypeApplications #-}
{-# LANGUAGE TypeFamilies #-}