{"categories":[{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance/3"}],"enrichment":{"capability":"Automatically formats Gherkin feature files to enforce consistent style and indentation, available as a command-line tool or pre-commit hook.","skillfed_tags":["bdd-testing","code-formatter","pre-commit-hook"],"use_cases":["Enforce consistent Gherkin formatting across a team's BDD test suite before commits via pre-commit hooks.","Reformat legacy feature files to a standard style when adopting a new BDD framework or coding standard.","Validate feature file formatting in CI/CD pipelines using the --check flag to catch style violations.","Adjust indentation and keyword alignment in bulk across many feature files with a single command.","Standardize line endings (LF vs. CRLF) across feature files in multi-platform development teams."],"what_it_does":"Reformat-gherkin is a command-line formatter for Gherkin feature files used in behavior-driven development (BDD) testing. It reads .feature files and applies consistent formatting rules\u2014controlling keyword alignment, indentation width, line endings, and tag layout\u2014so that teams maintain a uniform style regardless of who wrote the file. The tool wraps gherkin-official for parsing and uses click for CLI handling.\n\nIt operates as a standalone command-line utility or integrates into pre-commit workflows. You can run it on individual files, directories, or stdin/stdout; use --check to validate without modifying; and configure defaults via a .reformat-gherkin.yaml file in your project. The tool follows Unix conventions: exits 0 on success, 1 if --check finds differences, and 123 on internal errors.","worth_installing":"Yes, if you maintain Gherkin feature files and want automated, consistent formatting. The package is lightweight, actively maintained, has no known vulnerabilities, and integrates cleanly with pre-commit workflows. The only caveat is that the last release was over 3 years ago; verify that it handles your specific Gherkin syntax and framework before relying on it in production pipelines."},"id":"reformat-gherkin","links":{"html":"https://skillfed.io/packages/reformat-gherkin","md":"https://skillfed.io/packages/reformat-gherkin.md","pypi":"https://pypi.org/project/reformat-gherkin/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2022-10-04","license_spdx":null,"license_treatment":"permissive","name":"reformat-gherkin","python_support":"supports_current","summary":"Formatter for Gherkin language"},"popularity":{"monthly_downloads":170452,"position":10393,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.0.1"}
