git.iko.soy/typeable/pandoc
on relude help sign in
typeable/pandoc/.hlint.yaml
117 lines 2.8 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"}
20- ignore: {name: "Use unwords"}
22- ignore:
23 name: "Monad law, left identity"
24 within: Text.Pandoc.App.OutputSettings
26- ignore:
27 name: "Move brackets to avoid $"
28 within: Text.Pandoc.Writers.CslJson
30- ignore:
31 name: "Redundant <$>"
32 within:
33 - Text.Pandoc.Readers.Docx.Parse
34 - Text.Pandoc.Writers.MediaWiki
35 - Text.Pandoc.Writers.OpenDocument
36 - Text.Pandoc.Writers.Powerpoint.Output
37 - Text.Pandoc.Writers.Powerpoint.Presentation
39- ignore:
40 name: "Redundant return"
41 within: Text.Pandoc.Citeproc.BibTeX
43# TODO: check
44- ignore:
45 name: "Redundant bracket"
46 within:
47 - Text.Pandoc.Citeproc
48 - Text.Pandoc.Citeproc.BibTeX
49 - Text.Pandoc.Citeproc.MetaValue
51- ignore:
52 name: "Use <$>"
53 within:
54 - Text.Pandoc.Readers.LaTeX
55 - Text.Pandoc.Readers.Markdown
57- ignore:
58 name: "Use camelCase"
59 within:
60 - Tests.Writers.Docbook
61 - Tests.Writers.Native
62 - Text.Pandoc.Citeproc
63 - Text.Pandoc.Extensions
64 - Text.Pandoc.Lua.Marshaling.Version
65 - Text.Pandoc.Lua.Module.Pandoc
66 - Text.Pandoc.Lua.Module.Utils
67 - Text.Pandoc.Readers.Odt.ContentReader
68 - Text.Pandoc.Readers.Odt.Namespaces
70- ignore:
71 name: "Use forM_"
72 within:
73 - Text.Pandoc.Readers.DocBook
75- ignore:
76 name: "Use Just"
77 within:
78 - Text.Pandoc.Citeproc.MetaValue
79 - Text.Pandoc.Readers.Odt.ContentReader
80 - Text.Pandoc.Writers.Roff
82- ignore:
83 name: "Use list comprehension"
84 within: Text.Pandoc.Citeproc.BibTeX
86- ignore:
87 name: "Use list literal pattern"
88 within: Text.Pandoc.Citeproc.MetaValue
90# TODO: check
91- ignore:
92 name: "Use second"
93 within:
94 - Text.Pandoc.Citeproc.BibTeX
95 - Text.Pandoc.Citeproc.Locator
97# TODO: check
98- ignore:
99 name: "Use sortOn"
100 within: Text.Pandoc.Writers.OpenDocument
102- ignore:
103 name: "Use tuple-section"
104 within:
105 - Text.Pandoc.Readers.EPUB
106 - Text.Pandoc.ImageSize
107 - Text.Pandoc.Readers.Markdown
108 - Text.Pandoc.Readers.RST
110# fromRight is only in base >= 4.10
111- ignore:
112 name: "Use fromRight"
114# Define some custom infix operators
115# - fixity: infixr 3 ~^#^~