Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions lib/linguist/generated.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ def generated?
gradle_wrapper? ||
maven_wrapper? ||
mise_lock? ||
secrets_baseline? ||
julia_manifest? ||
generated_go? ||
generated_protocol_buffer_from_go? ||
Expand Down Expand Up @@ -591,6 +592,13 @@ def mise_lock?
!!name.match(/(?:^|\/)mise(?:\.[^\/]+)?\.lock$/)
end

# Internal: Is the blob a detect-secrets baseline file?
#
# Returns true or false.
def secrets_baseline?
!!name.match(/(?:^|\/)\.secrets\.baseline$/)
end

# Internal: Is the blob a Julia Manifest.toml file?
#
# Returns true or false.
Expand Down
1 change: 1 addition & 0 deletions lib/linguist/languages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3574,6 +3574,7 @@ JSON:
- ".htmlhintrc"
- ".imgbotconfig"
- ".nycrc"
- ".secrets.baseline"
- ".tern-config"
- ".tern-project"
- ".watchmanconfig"
Expand Down