spotless icon indicating copy to clipboard operation
spotless copied to clipboard

Redocly Lint Support

Open TSFenwick opened this issue 1 year ago • 2 comments

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 avatar Jun 17 '24 18:06 TSFenwick

@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?

TSFenwick avatar Aug 15 '24 17:08 TSFenwick

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

  • https://github.com/diffplug/spotless/pull/2149

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

nedtwigg avatar Aug 15 '24 17:08 nedtwigg