Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Gherkin formatting plugin #928

Closed
wants to merge 3 commits into from

Commits on Sep 7, 2021

  1. Add a Gherkin formatter

    As part of diffplug#907, we want to be able to format our Gherkin source files
    automagically.
    
    To do this, we can utilise the upstream gherkin-formatter project to do
    the heavy lifting, and add a few test cases within this project to make
    sure that functionality looks correct.
    
    We're calling this a `simple` formatter as it doesn't allow much to be
    configured other than the indentation size in spaces.
    jamietanna committed Sep 7, 2021
    Configuration menu
    Copy the full SHA
    2322641 View commit details
    Browse the repository at this point in the history
  2. Add Gradle bindings for Gherkin formatter

    As we've created a Gherkin formatter as part of diffplug#907, we should make it
    possible to use it natively in Gradle, which requires we add it as a new
    supported type in `SpotlessExtension`.
    jamietanna committed Sep 7, 2021
    Configuration menu
    Copy the full SHA
    184aa5e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6f0a35c View commit details
    Browse the repository at this point in the history