trolie / spec

Transmission Ratings and Operating Limits Information Exchange
https://trolie.energy/
Other
2 stars 2 forks source link

setup static scanning #21

Closed caindy closed 6 months ago

caindy commented 6 months ago

@getorymckeag this is rebased on #20. It enables linting/scanning with redocly, spectral (OWASP top 10), and 42crunch locally in VS Code. It also includes GH action jobs for the redocly and spectral scan; 42crunch GH action is blocked in #16.

I'm drafting this PR until #20 is merged and I've eliminated all the warnings that pop up in VS Code now on this branch. I will push those en masse soon, and I wanted to give you a heads up that I will probably touch every single OAS file in _data, as there are hundreds of warnings. It's minor stuff for the most part, but I wanted to give you a heads up to avoid a merge headache if possible.