AdguardTeam / AdguardTeam/VscodeAdblockSyntax
Add JSON schema for AGLint config files
Offen
Priority: P4
- Vorherrschende Sprache
- TypeScript
- Sterne
- 88
- Forks
- 8
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.