Skip to content

Commit

Permalink
add .jsx, .tsx files
Browse files Browse the repository at this point in the history
  • Loading branch information
benma committed Jul 30, 2018
1 parent f9cb8b9 commit 30bcbce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func addLicense(path string, fmode os.FileMode, typ string, data *copyrightData)
return nil
case ".c", ".h":
lic, err = prefix(typ, data, "/*", " * ", " */")
case ".js", ".css", ".tf":
case ".js", ".jsx", ".tsx", ".css", ".tf":
lic, err = prefix(typ, data, "/**", " * ", " */")
case ".cc", ".cpp", ".cs", ".go", ".hh", ".hpp", ".java", ".m", ".mm", ".proto", ".rs", ".scala", ".swift", ".dart":
lic, err = prefix(typ, data, "", "// ", "")
Expand Down

0 comments on commit 30bcbce

Please sign in to comment.