diff --git a/HLint.hs b/HLint.hs index 24c631b6e..f6fdb6372 100644 --- a/HLint.hs +++ b/HLint.hs @@ -3,6 +3,7 @@ import "hint" HLint.Dollar import "hint" HLint.Generalise ignore "Use mappend" +ignore "Redundant do" error "generalize ++" = (++) ==> (<>) -- AMP fallout error "generalize mapM" = mapM ==> traverse diff --git a/languages/c/c.cabal b/languages/c/c.cabal index cda8b6b69..ed02cdbf0 100644 --- a/languages/c/c.cabal +++ b/languages/c/c.cabal @@ -17,6 +17,7 @@ library build-depends: base >= 4.7 && < 5 , haskell-tree-sitter default-language: Haskell2010 + default-extensions: FlexibleInstances, OverloadedStrings, NoImplicitPrelude, RecordWildCards c-sources: vendor/tree-sitter-c/src/parser.c source-repository head diff --git a/languages/go/go.cabal b/languages/go/go.cabal index f600acfdc..7ccba0bc1 100644 --- a/languages/go/go.cabal +++ b/languages/go/go.cabal @@ -17,6 +17,7 @@ library build-depends: base >= 4.7 && < 5 , haskell-tree-sitter default-language: Haskell2010 + default-extensions: FlexibleInstances, OverloadedStrings, NoImplicitPrelude, RecordWildCards c-sources: vendor/tree-sitter-go/src/parser.c source-repository head diff --git a/languages/python/python.cabal b/languages/python/python.cabal index 345cea22f..6a6dc08b1 100644 --- a/languages/python/python.cabal +++ b/languages/python/python.cabal @@ -17,6 +17,7 @@ library build-depends: base >= 4.7 && < 5 , haskell-tree-sitter default-language: Haskell2010 + default-extensions: FlexibleInstances, OverloadedStrings, NoImplicitPrelude, RecordWildCards c-sources: vendor/tree-sitter-python/src/parser.c , vendor/tree-sitter-python/src/scanner.cc extra-libraries: stdc++ diff --git a/languages/ruby/ruby.cabal b/languages/ruby/ruby.cabal index 5f99d16f1..dc0524572 100644 --- a/languages/ruby/ruby.cabal +++ b/languages/ruby/ruby.cabal @@ -17,6 +17,7 @@ library build-depends: base >= 4.7 && < 5 , haskell-tree-sitter default-language: Haskell2010 + default-extensions: FlexibleInstances, OverloadedStrings, NoImplicitPrelude, RecordWildCards c-sources: vendor/tree-sitter-ruby/src/parser.c , vendor/tree-sitter-ruby/src/scanner.cc extra-libraries: stdc++ diff --git a/languages/typescript/typescript.cabal b/languages/typescript/typescript.cabal index 27424dba1..c28eff377 100644 --- a/languages/typescript/typescript.cabal +++ b/languages/typescript/typescript.cabal @@ -17,6 +17,7 @@ library build-depends: base >= 4.7 && < 5 , haskell-tree-sitter default-language: Haskell2010 + default-extensions: FlexibleInstances, OverloadedStrings, NoImplicitPrelude, RecordWildCards c-sources: vendor/tree-sitter-typescript/src/parser.c , vendor/tree-sitter-typescript/src/scanner.c cc-options: -std=c99 -Os diff --git a/vendor/haskell-tree-sitter b/vendor/haskell-tree-sitter index 432467642..60b991ee8 160000 --- a/vendor/haskell-tree-sitter +++ b/vendor/haskell-tree-sitter @@ -1 +1 @@ -Subproject commit 43246764221504a3bb97c7b410fbb92b6e330ec2 +Subproject commit 60b991ee82df7c360f0e1783467ef9b4f6b28467