[Git][ghc/ghc][master] Linting corrections

Marge Bot gitlab at gitlab.haskell.org
Sun Oct 18 02:04:47 UTC 2020



 Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
d858a3ae by Hécate at 2020-10-17T22:04:38-04:00
Linting corrections

* Bring back LANGUAGE pragmas in GHC.IO.Handle.Lock.Windows
* Exclude some modules that are wrongfully reported

- - - - -


1 changed file:

- libraries/base/.hlint.yaml


Changes:

=====================================
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]}
+- ignore: {name: Unused LANGUAGE pragma, within: [GHC.IO.Encoding.CodePage, GHC.IO.Handle.Lock.Windows, GHC.Event.KQueue]}
 - 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]}



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/d858a3aebee5adc447556b668b65b6e46370d8c0

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/d858a3aebee5adc447556b668b65b6e46370d8c0
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20201017/aab2549d/attachment.html>


More information about the ghc-commits mailing list