HLint Changelog

What's new in HLint 1.9.21

May 27, 2015
  • #130, ignore a BOM if it exists
  • #128, don't find files starting with . when searching directories
  • Suggest concat even if the [] is written ""

New in HLint 1.9.20 (Apr 25, 2015)

  • #122, fix the zipWith/repeat hint

New in HLint 1.9.19 (Mar 27, 2015)

  • #119, don't remove RecursiveDo if they use the rec statement
  • Add a suggestion concatMap/map ==> concatMap

New in HLint 1.9.18 (Mar 18, 2015)

  • More GHC 7.10 warnings and build support

New in HLint 1.9.17 (Feb 26, 2015)

  • #116, support hscolour-1.21

New in HLint 1.9.16 (Jan 10, 2015)

  • 108, make "hlint ." work again

New in HLint 1.9.15 (Jan 5, 2015)

  • #106, avoid warnings with GHC 7.10
  • #105, build with GHC 7.10

New in HLint 1.9.14 (Dec 27, 2014)

  • #649, don't suggest const for values using RecordWildCards

New in HLint 1.9.13 (Dec 3, 2014)

  • #97, remove the encoding bits of the API
  • #98, add an HLint3 prototype API
  • 93, make the --quickcheck tests work on GHC 7.8
  • Added --tempdir flag to the test mode

New in HLint 1.9.12 (Nov 10, 2014)

  • CHANGES:
  • #96, fix the --utf8 flag
  • Make Encoding an alias for TextEncoding
  • Default to UTF8 encoding

New in HLint 1.9.11 (Nov 8, 2014)

  • Changes:
  • #95, don't suggest camel case for names containing digits
  • Add a dependency on the extra package
  • #92, use a new way for determining the color default
  • Add a dependency on ansi-terminal

New in HLint 1.9.10 (Oct 20, 2014)

  • Spot unsafePerformIO without NOINLINE

New in HLint 1.9.9 (Oct 16, 2014)

  • #89, fix compiling the executable with --flag=-gpl

New in HLint 1.9.7 (Oct 3, 2014)

  • #86, don't use color unless $TERM claims to support it.

New in HLint 1.9.6 (Oct 2, 2014)

  • #85, fix the free variable matching check for lambda
  • #84, suggest fmap for Either
  • Make --json put each hint on a different line
  • Support -X for extensions to the hse mode

New in HLint 1.9.5 (Sep 16, 2014)

  • Remove support for GHC 7.2
  • Upgrade to haskell-src-exts-1.16

New in HLint 1.9.4 (Aug 28, 2014)

  • #81, fixes for GHC 7.9
  • #78, add hints for list patterns

New in HLint 1.9.3 (Jul 29, 2014)

  • #73, fix multithreading and exceptions

New in HLint 1.9.2 (Jul 29, 2014)

  • #68, add --no-summary

New in HLint 1.9.1 (Jul 22, 2014)

  • #65, add flip (>>=) ==> ( = < < ) and the reverse
  • #61, add --json flag

New in HLint 1.9 (Jul 1, 2014)

  • Remove not (isControl x) ==> isPrint (not true for '\173')
  • #57, warn on invalid pragmas
  • Make the API pass and require comments
  • #59, make sure qualified operators match properly
  • Rename notTypeSafe annotation to noTypeCheck
  • Remove an invalid rule suggesting tanh
  • #13, add a --quickcheck flag to test the hints
  • Add --typecheck flag to test mode to type check the hints
  • Remove incorrect for intercalate to unlines
  • #37, remove incorrect hint for isAlphaNum
  • #45, add mapMaybe id ==> catMaybes
  • #42, add some repeat hints

New in HLint 1.8.61 (Apr 15, 2014)

  • #40, allow haskell-src-exts-1.15

New in HLint 1.8.60 (Apr 3, 2014)

  • #33, add --cpp-file to preinclude a file
  • #34, add back --quiet flag
  • #639, don't suggest evaluate, because not all Monad's are IO
  • #31, delete the elem/notElem hints
  • #30, remove weird "free module" matching
  • #15, add prototype grep mode
  • Change to make test a separate mode
  • #12, more list based suggestions
  • #637, turn off QuasiQuotes by default

New in HLint 1.8.59 (Mar 14, 2014)

  • #27, fix up directory file searching.

New in HLint 1.8.58 (Mar 13, 2014)

  • Move the API to Language.Haskell.HLint2
  • #638, ensure $! doesn't break strictness with strict fields
  • #24, don't remove DeriveFunctor even when only on a newtype
  • #22, turn off UnboxedTuples by default
  • #21, strip /* C style */ comments
  • #635 and #18, require cpphs-1.18.1
  • Switch to CmdArgs for command line parsing
  • Remove -x as a synonym for --cross

New in HLint 1.8.57 (Feb 4, 2014)

  • add a preview of an API.
  • improve parse error locations for literate Haskell.

New in HLint 1.8.56 (Feb 1, 2014)

  • Remove support for GHC 6.12 and below
  • tone down the void hint
  • match not . not (and reverse . reverse etc)
  • Suggest instead of fmap f $ ...
  • Tweak some priorities, make >=> a warn and void an error
  • make top of the file ANN pragmas work
  • add a suggestion to use unlines
  • add a few hints about characters
  • add CHANGES.txt to the Cabal package

New in HLint 1.8.55 (Dec 2, 2013)

  • Fix the UnboxedTuples extension warning.

New in HLint 1.8.54 (Nov 29, 2013)

  • Fix a bug when suggesting const.

New in HLint 1.8.53 (Nov 29, 2013)

  • Fix some corner cases when suggesting foldr etc.

New in HLint 1.8.52 (Nov 29, 2013)

  • Generic is not newtype derivable

New in HLint 1.8.51 (Nov 29, 2013)

  • Upgrade to haskell-src-exts-1.14