Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JSON schema for AGLint config files #136

Open
scripthunter7 opened this issue Jun 25, 2024 · 0 comments
Open

Add JSON schema for AGLint config files #136

scripthunter7 opened this issue Jun 25, 2024 · 0 comments
Assignees

Comments

@scripthunter7
Copy link
Member

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: AdguardTeam/AGLint#210

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants