Skip to content

[Feature Request] Additional <exclude> on a per-step basis #1607

Closed

Description

@blacelle

In some cases, one need to exclude some step for some files. It happens in project requiring faulty code to remain faulty.

For instance :

This need is especially useful with new steps enabling linting (cleanthat, eclipse cleanup, etc), which is more opinionated than formatting.

  • I believe it would be bad that each step implement implement its own exclusion mechanism, which it could be one way to go (through FilterByFileFormatterStep).
  • Is there any existing mechanism to achieve this ?
  • Is this was introduced as a new-feature, what would be the recommended design?

Activity

  1. nedtwigg commented on Mar 7, 2023

    @nedtwigg
    Member

    There is no existing mechanism to achieve this. I would probably name it skipStep. Something like

    skipStep('cleanthat').forFiles('Blah.java')

    It is blocked on #1096. I try very hard not to be a blocker for things that people want to get merged, but there's a couple structural things that are piling up while I remain responsive on minor issues. I'm going to go dark on issues and PR's for the rest of this week until I am able to get a few of these blockers completed and merged.

  2. nedtwigg commented on Oct 24, 2024

    @nedtwigg
    Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions