AdguardTeam / AdguardTeam/VscodeAdblockSyntax

Add JSON schema for AGLint config files

Open
#136 0 comments 0 reactions 1 assignee Claimed by @maximtop View on GitHub
Priority: P4
Dominant language
TypeScript
Stars
88
Forks
8
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.