mirror of
https://github.com/github/semantic.git
synced 2024-12-26 00:12:29 +03:00
Merge pull request #1173 from github/standardize-language-features
Standardize language features
This commit is contained in:
commit
60fbcdad21
1
HLint.hs
1
HLint.hs
@ -3,6 +3,7 @@ import "hint" HLint.Dollar
|
|||||||
import "hint" HLint.Generalise
|
import "hint" HLint.Generalise
|
||||||
|
|
||||||
ignore "Use mappend"
|
ignore "Use mappend"
|
||||||
|
ignore "Redundant do"
|
||||||
error "generalize ++" = (++) ==> (<>)
|
error "generalize ++" = (++) ==> (<>)
|
||||||
-- AMP fallout
|
-- AMP fallout
|
||||||
error "generalize mapM" = mapM ==> traverse
|
error "generalize mapM" = mapM ==> traverse
|
||||||
|
@ -17,6 +17,7 @@ library
|
|||||||
build-depends: base >= 4.7 && < 5
|
build-depends: base >= 4.7 && < 5
|
||||||
, haskell-tree-sitter
|
, haskell-tree-sitter
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
|
default-extensions: FlexibleInstances, OverloadedStrings, NoImplicitPrelude, RecordWildCards
|
||||||
c-sources: vendor/tree-sitter-c/src/parser.c
|
c-sources: vendor/tree-sitter-c/src/parser.c
|
||||||
|
|
||||||
source-repository head
|
source-repository head
|
||||||
|
@ -17,6 +17,7 @@ library
|
|||||||
build-depends: base >= 4.7 && < 5
|
build-depends: base >= 4.7 && < 5
|
||||||
, haskell-tree-sitter
|
, haskell-tree-sitter
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
|
default-extensions: FlexibleInstances, OverloadedStrings, NoImplicitPrelude, RecordWildCards
|
||||||
c-sources: vendor/tree-sitter-go/src/parser.c
|
c-sources: vendor/tree-sitter-go/src/parser.c
|
||||||
|
|
||||||
source-repository head
|
source-repository head
|
||||||
|
@ -17,6 +17,7 @@ library
|
|||||||
build-depends: base >= 4.7 && < 5
|
build-depends: base >= 4.7 && < 5
|
||||||
, haskell-tree-sitter
|
, haskell-tree-sitter
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
|
default-extensions: FlexibleInstances, OverloadedStrings, NoImplicitPrelude, RecordWildCards
|
||||||
c-sources: vendor/tree-sitter-python/src/parser.c
|
c-sources: vendor/tree-sitter-python/src/parser.c
|
||||||
, vendor/tree-sitter-python/src/scanner.cc
|
, vendor/tree-sitter-python/src/scanner.cc
|
||||||
extra-libraries: stdc++
|
extra-libraries: stdc++
|
||||||
|
@ -17,6 +17,7 @@ library
|
|||||||
build-depends: base >= 4.7 && < 5
|
build-depends: base >= 4.7 && < 5
|
||||||
, haskell-tree-sitter
|
, haskell-tree-sitter
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
|
default-extensions: FlexibleInstances, OverloadedStrings, NoImplicitPrelude, RecordWildCards
|
||||||
c-sources: vendor/tree-sitter-ruby/src/parser.c
|
c-sources: vendor/tree-sitter-ruby/src/parser.c
|
||||||
, vendor/tree-sitter-ruby/src/scanner.cc
|
, vendor/tree-sitter-ruby/src/scanner.cc
|
||||||
extra-libraries: stdc++
|
extra-libraries: stdc++
|
||||||
|
@ -17,6 +17,7 @@ library
|
|||||||
build-depends: base >= 4.7 && < 5
|
build-depends: base >= 4.7 && < 5
|
||||||
, haskell-tree-sitter
|
, haskell-tree-sitter
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
|
default-extensions: FlexibleInstances, OverloadedStrings, NoImplicitPrelude, RecordWildCards
|
||||||
c-sources: vendor/tree-sitter-typescript/src/parser.c
|
c-sources: vendor/tree-sitter-typescript/src/parser.c
|
||||||
, vendor/tree-sitter-typescript/src/scanner.c
|
, vendor/tree-sitter-typescript/src/scanner.c
|
||||||
cc-options: -std=c99 -Os
|
cc-options: -std=c99 -Os
|
||||||
|
2
vendor/haskell-tree-sitter
vendored
2
vendor/haskell-tree-sitter
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 43246764221504a3bb97c7b410fbb92b6e330ec2
|
Subproject commit 60b991ee82df7c360f0e1783467ef9b4f6b28467
|
Loading…
Reference in New Issue
Block a user