pantajoe / vscode-elixir-credo

VSCode support for Elixir Linter 'Credo'.
https://marketplace.visualstudio.com/items?itemName=pantajoe.vscode-elixir-credo
MIT License
29 stars 8 forks source link

Use `zod` to verify the JSON output of any Credo command #470

Open pantajoe opened 4 months ago

pantajoe commented 4 months ago

Right now, we use JSON.parse in conjunction with as in TypeScript which is very unsafe. I'd be better to use the package zod for proper JSON schema valiation.