Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add syntax highlighting to Yarn lockfiles #4761

Merged
merged 5 commits into from
Mar 10, 2020
Merged
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
1 change: 1 addition & 0 deletions lib/linguist/languages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6100,6 +6100,7 @@ YAML:
- ".clang-tidy"
- ".gemrc"
- glide.lock
- yarn.lock
ace_mode: yaml
codemirror_mode: yaml
codemirror_mime_type: text/x-yaml
Expand Down
30 changes: 30 additions & 0 deletions samples/YAML/filenames/yarn.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This file is generated by running "yarn install" inside your project.
# Manual changes might be lost - proceed with caution!

__metadata:
version: 4

"@algolia/cache-browser-local-storage@npm:4.0.1":
version: 4.0.1
resolution: "@algolia/cache-browser-local-storage@npm:4.0.1"
dependencies:
"@algolia/cache-common": 4.0.1
checksum: 2/bc61ab01a2723fe319eb41271f196b208f04d52db75526a87dd5189824be2b8dc1c7f0bdc93d958eb80192c20ba467709a87a227d8bc29f69549e28a5e8b0c66
languageName: node
linkType: hard

"@algolia/cache-common@npm:4.0.1":
version: 4.0.1
resolution: "@algolia/cache-common@npm:4.0.1"
checksum: 2/4016b1e91e91eb1cd11d452c807579d679daee3ddb605e083bd3f1ffc2426af4bc5b831316c67cf4d10c8d9e042e70b835fbcc6e14be59556f3b3d2f113c9774
languageName: node
linkType: hard

"@algolia/cache-in-memory@npm:4.0.1":
version: 4.0.1
resolution: "@algolia/cache-in-memory@npm:4.0.1"
dependencies:
"@algolia/cache-common": 4.0.1
checksum: 2/04118bbf8e4d491b32fc8575a9f1b5b3393782c0237f93486d3408600865da56902a1c0c077fc9844127789927bc44192032a79cac442e74735853f85e4fef60
languageName: node
linkType: hard