AdguardTeam / AdguardTeam/VscodeAdblockSyntax

Add JSON schema for AGLint config files

未關閉
#136 0 則留言 0 個 reaction 已指派 1 人 已被 @maximtop 認領 在 GitHub 檢視
Priority: P4
主要語言
TypeScript
星號
88
分支
8
PR 合併指標
30 天內沒有已合併 PR

描述

AGLint config files can be validated in the VSCode editor if the following field is filled in the `package.json` file of the extension:

https://code.visualstudio.com/api/references/contribution-points#contributes.jsonValidation

If we switch to `zod`, we can export `zod` schema easily during AGLint build via https://www.npmjs.com/package/zod-to-json-schema (so ​​no need to maintain a redundant JSON file)

Idea from: https://github.com/AdguardTeam/AGLint/issues/210

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。