Skip to content

Commit

Permalink
Merge pull request #13 from benma/master
Browse files Browse the repository at this point in the history
add .jsx, .tsx files
  • Loading branch information
x1ddos committed Jul 30, 2018
2 parents f9cb8b9 + 30bcbce commit 486fb58
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 486fb58

Please sign in to comment.