add deno.lock to default exclusions (#1740)

* add deno.lock to default exclusions

* Update config.go
This commit is contained in:
Jan-Otto Kröpke authored and GitHub committed 2025-01-31 09:32:41 -06:00
1 parent 3188ad6005
commit d71d95d65e
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -77,7 +77,7 @@ func CreateGlobalConfig() config.Config {
// ----------- JavaScript files -----------
// Dependencies and lock files.
regexp.MustCompile(`(?:^|/)node_modules(?:/.*)?$`),
regexp.MustCompile(`(?:^|/)(?:npm-shrinkwrap\.json|package-lock\.json|pnpm-lock\.yaml|yarn\.lock)$`),
regexp.MustCompile(`(?:^|/)(?:deno\.lock|npm-shrinkwrap\.json|package-lock\.json|pnpm-lock\.yaml|yarn\.lock)$`),
regexp.MustCompile(`(?:^|/)bower_components(?:/.*)?$`),
// TODO: Add more common static assets, such as swagger-ui.
regexp.MustCompile(`(?:^|/)(?:angular|bootstrap|jquery(?:-?ui)?|plotly|swagger-?ui)[a-zA-Z0-9.-]*(?:\.min)?\.js(?:\.map)?$`),