git.iko.soy/typeable/pandoc
on lowmem help sign in
typeable/pandoc/.hlint.yaml
114 lines 2.7 kB history raw
1# HLint configuration file
2# https://github.com/ndmitchell/hlint
3##########################
5# Specify additional command line arguments
6#
7- arguments: [--color=auto, --cpp-ansi]
9# Ignore some builtin hints
11- ignore: {name: "Avoid lambda"}
12- ignore: {name: "Eta reduce"}
13- ignore: {name: "Evaluate"}
14- ignore: {name: "Reduce duplication"} # TODO: could be more fine-grained
15- ignore: {name: "Use &&&"}
16- ignore: {name: "Use String"}
17- ignore: {name: "Use camelCase"}
18- ignore: {name: "Use fmap"} # specific for GHC 7.8 compat
19- ignore: {name: "Use isDigit"}
21- ignore:
22 name: "Monad law, left identity"
23 within: Text.Pandoc.App.OutputSettings
25- ignore:
26 name: "Move brackets to avoid $"
27 within: Text.Pandoc.Writers.CslJson
29- ignore:
30 name: "Redundant <$>"
31 within:
32 - Text.Pandoc.Readers.Docx.Parse
33 - Text.Pandoc.Writers.MediaWiki
34 - Text.Pandoc.Writers.OpenDocument
35 - Text.Pandoc.Writers.Powerpoint.Output
36 - Text.Pandoc.Writers.Powerpoint.Presentation
38- ignore:
39 name: "Redundant return"
40 within: Text.Pandoc.Citeproc.BibTeX
42# TODO: check
43- ignore:
44 name: "Redundant bracket"
45 within:
46 - Text.Pandoc.Citeproc
47 - Text.Pandoc.Citeproc.BibTeX
48 - Text.Pandoc.Citeproc.MetaValue
50- ignore:
51 name: "Use <$>"
52 within:
53 - Text.Pandoc.Readers.LaTeX
54 - Text.Pandoc.Readers.Markdown
56- ignore:
57 name: "Use camelCase"
58 within:
59 - Tests.Writers.Docbook
60 - Tests.Writers.Native
61 - Text.Pandoc.Citeproc
62 - Text.Pandoc.Extensions
63 - Text.Pandoc.Lua.Marshaling.Version
64 - Text.Pandoc.Lua.Module.Pandoc
65 - Text.Pandoc.Lua.Module.Utils
66 - Text.Pandoc.Readers.Odt.ContentReader
67 - Text.Pandoc.Readers.Odt.Namespaces
69- ignore:
70 name: "Use forM_"
71 within:
72 - Text.Pandoc.Readers.DocBook
74- ignore:
75 name: "Use Just"
76 within:
77 - Text.Pandoc.Citeproc.MetaValue
78 - Text.Pandoc.Readers.Odt.ContentReader
79 - Text.Pandoc.Writers.Roff
81- ignore:
82 name: "Use list comprehension"
83 within: Text.Pandoc.Citeproc.BibTeX
85- ignore:
86 name: "Use list literal pattern"
87 within: Text.Pandoc.Citeproc.MetaValue
89# TODO: check
90- ignore:
91 name: "Use second"
92 within:
93 - Text.Pandoc.Citeproc.BibTeX
94 - Text.Pandoc.Citeproc.Locator
96# TODO: check
97- ignore:
98 name: "Use sortOn"
99 within: Text.Pandoc.Writers.OpenDocument
101- ignore:
102 name: "Use tuple-section"
103 within:
104 - Text.Pandoc.Readers.EPUB
105 - Text.Pandoc.ImageSize
106 - Text.Pandoc.Readers.Markdown
107 - Text.Pandoc.Readers.RST
109# fromRight is only in base >= 4.10
110- ignore:
111 name: "Use fromRight"
113# Define some custom infix operators
114# - fixity: infixr 3 ~^#^~