oxsecurity / megalinter

🦙 MegaLinter analyzes 50 languages, 22 formats, 21 tooling formats, excessive copy-pastes, spelling mistakes and security issues in your repository sources with a GitHub Action, other CI tools or locally.
https://megalinter.io
GNU Affero General Public License v3.0
1.8k stars 215 forks source link

Add conftest integration #3656

Open csullivannet opened 2 weeks ago

csullivannet commented 2 weeks ago

Is your feature request related to a problem? Please describe. Yes, the general problem that megalinter aims to solve, by making it more convenient to run and integrate code quality analysis tools.

Describe the solution you'd like Integration with conftest.dev.

Describe alternatives you've considered I can always just run conftest outside of megalinter, but that would be less convenient.

Additional context I'm not sure whether this would really qualify as a "linter" per se. It does however have an option to output TAP files which should allow it to integrate.

I don't know what the level of effort to integrate a new linter typically is, but I'm willing to give it a shot.

nvuillam commented 1 week ago

@csullivannet maybe you could start by creating a MegaLinter plugin, so we can see how it works , and if the adoption is here we can embed it in native MegaLinter ? :)

https://megalinter.io/latest/plugins/