-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #234 from typechecker/hlint/default-ignores
Generate hlint default configuration
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Warnings currently triggered by your code | ||
- ignore: {name: "Avoid lambda"} # 1 hint | ||
- ignore: {name: "Eta reduce"} # 12 hints | ||
- ignore: {name: "Fuse foldr/map"} # 1 hint | ||
- ignore: {name: "Move brackets to avoid $"} # 6 hints | ||
- ignore: {name: "Redundant $"} # 32 hints | ||
- ignore: {name: "Redundant <$>"} # 17 hints | ||
- ignore: {name: "Redundant bracket"} # 12 hints | ||
- ignore: {name: "Replace case with fromMaybe"} # 3 hints | ||
- ignore: {name: "Unused LANGUAGE pragma"} # 16 hints | ||
- ignore: {name: "Use $>"} # 2 hints | ||
- ignore: {name: "Use <&>"} # 1 hint | ||
- ignore: {name: "Use >=>"} # 1 hint | ||
- ignore: {name: "Use asks"} # 5 hints | ||
- ignore: {name: "Use camelCase"} # 2 hints | ||
- ignore: {name: "Use const"} # 4 hints | ||
- ignore: {name: "Use evalState"} # 2 hints | ||
- ignore: {name: "Use fold"} # 1 hint | ||
- ignore: {name: "Use for"} # 1 hint | ||
- ignore: {name: "Use fromMaybe"} # 1 hint | ||
- ignore: {name: "Use id"} # 6 hints | ||
- ignore: {name: "Use newtype instead of data"} # 3 hints | ||
- ignore: {name: "Use record patterns"} # 4 hints | ||
- ignore: {name: "Use tuple-section"} # 2 hints | ||
- ignore: {name: "Use uncurry"} # 2 hints | ||
- ignore: {name: "Use unless"} # 3 hints | ||
- ignore: {name: "Use unwords"} # 1 hint | ||
- ignore: {name: "Use void"} # 5 hints | ||
- ignore: {name: "Use when"} # 2 hints |