Skip to content

Feature Request: Add Customizable Output Directory for Linting Results #5

@grasmarcussanti129

Description

@grasmarcussanti129

Problem

Currently, the linting output is displayed in the terminal, but there's no option to save the results to a specified directory or file. This can be cumbersome if users want to keep a record of the linting results or integrate them into their CI/CD pipeline.

Proposed Solution

Introduce an option in the Action to specify an output directory or file path where the linting results can be saved. This could be added as an optional parameter, for example output_file, and allow users to save the results in a format of their choice (e.g., JSON, Stylish, etc.).

Example Usage:

      - name: gherkin-lint
        uses: nhatthm/gherkin-lint-action@v1
        with:
          feature_files: features/*
          output_file: lint-results.json

With this improvement, users can easily manage and review their linting outcomes, enhancing the usability of the action.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions