mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 04:04:25 +01:00
ignore package-lock.json (#1076)
* ignore package-lock.json `package-lock.json` is automatically generated by npm * add package-lock.json to global allowlist
This commit is contained in:
1 parent
0060ab636a
commit
46b79c148b
2 files changed
+3
-1
No files matched your search
@@ -17,6 +17,7 @@ paths = [
|
||||
'''(.*?)(jpg|gif|doc|docx|zip|xls|pdf|bin|svg|socket)$''',
|
||||
'''(go.mod|go.sum)$''',
|
||||
'''node_modules''',
|
||||
'''package-lock.json''',
|
||||
'''vendor''',
|
||||
]
|
||||
|
||||
@@ -57,4 +58,4 @@ keywords = [
|
||||
{{ range $j, $keyword := $rule.Keywords }}"{{$keyword}}",{{end}}
|
||||
]
|
||||
|
||||
{{end}}{{end}}
|
||||
{{end}}{{end}}
|
||||
@@ -17,6 +17,7 @@ paths = [
|
||||
'''(.*?)(jpg|gif|doc|docx|zip|xls|pdf|bin|svg|socket)$''',
|
||||
'''(go.mod|go.sum)$''',
|
||||
'''node_modules''',
|
||||
'''package-lock.json''',
|
||||
'''vendor''',
|
||||
]
|
||||
|
||||
|
||||
Reference in new issue
Block a user