diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2020-02-07 10:15:57 +0100 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2020-02-07 10:17:24 +0100 |
commit | 6cd77d4c638012be63d66882403804aa28feb6ed (patch) | |
tree | ea1841989db394ae931780fbbca3305fe0f021c8 /src/Text/Pandoc/Readers/Docx | |
parent | 60a3158bf9b6f4d16bb5fc6cac61b5c305ad40e3 (diff) | |
download | pandoc-6cd77d4c638012be63d66882403804aa28feb6ed.tar.gz |
Resolve HLint warnings
All warnings are either fixed or, if more appropriate, HLint is
configured to ignore them. HLint suggestions remain.
* Ignore "Use camelCase" warnings in Lua and legacy code
* Fix or ignore remaining HLint warnings
* Remove redundant brackets
* Remove redundant `return`s
* Remove redundant as-pattern
* Fuse mapM_/map
* Use `.` to shorten code
* Remove redundant `fmap`
* Remove unused LANGUAGE pragmas
* Hoist `not` in Text.Pandoc.App
* Use fewer imports for `Text.DocTemplates`
* Remove redundant `do`s
* Remove redundant `$`s
* Jira reader: remove unnecessary parentheses
Diffstat (limited to 'src/Text/Pandoc/Readers/Docx')
-rw-r--r-- | src/Text/Pandoc/Readers/Docx/Combine.hs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Docx/Combine.hs b/src/Text/Pandoc/Readers/Docx/Combine.hs index 82791d669..cf7b6051d 100644 --- a/src/Text/Pandoc/Readers/Docx/Combine.hs +++ b/src/Text/Pandoc/Readers/Docx/Combine.hs @@ -1,7 +1,6 @@ {-# LANGUAGE NoImplicitPrelude #-} {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE PatternGuards #-} -{-# LANGUAGE TypeSynonymInstances #-} {-# LANGUAGE OverloadedStrings #-} {- | Module : Text.Pandoc.Readers.Docx.Combine |