AdguardTeam / AdguardTeam/VscodeAdblockSyntax

Add JSON schema for AGLint config files

Đang mở
#136 0 bình luận 0 reaction 1 người được giao Được @maximtop nhận Xem trên GitHub
Priority: P4
Ngôn ngữ chính
TypeScript
Star
88
Fork
8
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.