Skip to content

Commit 30bcbce

Browse files
committed
add .jsx, .tsx files
1 parent f9cb8b9 commit 30bcbce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ func addLicense(path string, fmode os.FileMode, typ string, data *copyrightData)
118118
return nil
119119
case ".c", ".h":
120120
lic, err = prefix(typ, data, "/*", " * ", " */")
121-
case ".js", ".css", ".tf":
121+
case ".js", ".jsx", ".tsx", ".css", ".tf":
122122
lic, err = prefix(typ, data, "/**", " * ", " */")
123123
case ".cc", ".cpp", ".cs", ".go", ".hh", ".hpp", ".java", ".m", ".mm", ".proto", ".rs", ".scala", ".swift", ".dart":
124124
lic, err = prefix(typ, data, "", "// ", "")

0 commit comments

Comments
 (0)