You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the config validator throws an error if the config is invalid. However, we can enhance it by assigning exact locations to the errors and linking these locations to specific error messages. This would enable the VSCode extension to highlight configuration issues directly in the editor. Reference: AdguardTeam/VscodeAdblockSyntax#146
Currently, the config validator throws an error if the config is invalid. However, we can enhance it by assigning exact locations to the errors and linking these locations to specific error messages. This would enable the VSCode extension to highlight configuration issues directly in the editor. Reference: AdguardTeam/VscodeAdblockSyntax#146
For this, it may be necessary to replace the YAML parser with the following one: https://www.npmjs.com/package/yaml.
For parsing JSON with locations, we should take a look at https://www.npmjs.com/package/@humanwhocodes/momoa or https://www.npmjs.com/package/json-to-ast
The text was updated successfully, but these errors were encountered: