diffplug / spotless

Keep your code spotless
Apache License 2.0
4.57k stars 458 forks source link

Redocly Lint Support #2176

Open TSFenwick opened 5 months ago

TSFenwick commented 5 months ago

Hi i would like to create support for redocly cli as a linter for openapi. I'm more than happy to take this work on if someone can point me in the correct direction or mentor me for this. I'm keen on adding this here as i'm already using spotless and don't want to create a one off gradle plugin and need to manage npm installs.

TSFenwick commented 3 months ago

@Goooler is there anyone i can reach out to for some quick instructions on this, any general approaches, or code that should be similar to making this change?

nedtwigg commented 3 months ago

Linting has not made it into main yet, it is in this PR:

The API in that PR is quite firm, especially: StepHarness expectLintsOf, which is the API you would use for testing your integration.