From 26a9e662c9ab35d058c38cb74c1911ce84f354ca Mon Sep 17 00:00:00 2001 From: Stefan VanBuren Date: Wed, 8 Apr 2026 12:49:28 -0400 Subject: [PATCH 1/2] Handle buf.lock as YAML * Associate with yaml filetype * Add JSONSchema link --- package.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/package.json b/package.json index 8a331e6..89556b6 100644 --- a/package.json +++ b/package.json @@ -161,6 +161,10 @@ } ], "languages": [ + { + "id": "yaml", + "filenames": ["buf.lock"] + }, { "id": "proto", "extensions": [ @@ -178,6 +182,10 @@ } ], "yamlValidation": [ + { + "fileMatch": "buf.lock", + "url": "https://www.schemastore.org/buf.lock.json" + }, { "fileMatch": "buf.yaml", "url": "https://www.schemastore.org/buf.json" From e913c18ec95c75eea41fae8d6adf5b44658dab90 Mon Sep 17 00:00:00 2001 From: Stefan VanBuren Date: Wed, 8 Apr 2026 12:51:10 -0400 Subject: [PATCH 2/2] Run `npm run format` --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 89556b6..002a565 100644 --- a/package.json +++ b/package.json @@ -163,7 +163,9 @@ "languages": [ { "id": "yaml", - "filenames": ["buf.lock"] + "filenames": [ + "buf.lock" + ] }, { "id": "proto",