charlierudolph / cucumber_lint

A linter and formatter for cucumber features
MIT License
8 stars 4 forks source link

cucumber_lint

Gem Version Circle CI Dependency Status Code Climate

A command line linter and formatter for cucumber features

Installation

gem install cucumber_lint

Usage

cucumber_lint        # Lints (exits with status 1 on failure, 0 on success)
cucumber_lint --fix  # Fixes all lint errors

Configuration

Create a cucumber_lint.yml file in the same folder that contains your features directory. Override the default config to disable a rule or change the enforced style.

Rules

consistent_empty_lines
consistent_table_headers
consistent_table_whitespace
no_empty_features
no_repeating_keywords