Comprehensive extension to manage Adblock Syntax in VSCode: syntax highlighter, linter and much more. Available on the VSCode Marketplace.
74
stars
8
forks
source link
Add JSON schema for AGLint config files #136
Open
scripthunter7 opened 3 months ago
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 exportzod
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