From fa45507a090f09836e5c10bc33ed7484fde1a32e Mon Sep 17 00:00:00 2001 From: Shunsuke Suzuki Date: Sat, 14 Dec 2024 12:30:20 +0900 Subject: [PATCH] feat(policy): add a code comment for JSON Schema of policy files --- pkg/controller/initpolicy/init.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/controller/initpolicy/init.go b/pkg/controller/initpolicy/init.go index be5db7b8e..bc625787d 100644 --- a/pkg/controller/initpolicy/init.go +++ b/pkg/controller/initpolicy/init.go @@ -10,6 +10,7 @@ import ( ) const configTemplate = `--- +# yaml-language-server: $schema=https://raw.githubusercontent.com/aquaproj/aqua/main/json-schema/policy.json # aqua Policy # https://aquaproj.github.io/ registries: