Map .jsx and .tsx to JS matcher

This commit is contained in:
Rijnard van Tonder 2019-06-17 17:06:53 -04:00 committed by GitHub
parent 672dd57172
commit 3704ede05a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -510,7 +510,7 @@ let select_with_extension extension : (module Types.Matcher.S) =
| ".go" -> (module Go)
| ".java" -> (module Java)
| ".jl" -> (module Julia)
| ".js" | ".ts" -> (module Javascript)
| ".js" | ".ts" | ".jsx" | ".tsx" -> (module Javascript)
| ".json" -> (module Json)
| ".ml" | ".mli" -> (module OCaml)
| ".paren" -> (module Paren)