Skip to content

request: support defining packageFilters for commands in yaml file #865

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

Open
2 tasks done
josh-burton opened this issue Feb 12, 2025 · 1 comment
Open
2 tasks done

Comments

@josh-burton
Copy link

josh-burton commented Feb 12, 2025

Is there an existing feature request for this?

  • I have searched the existing issues.

Command

format

Description

I'd like to be able to specify package filters for a command in the yaml file, so I don't need to pass these filters each time I run the command.

command:
  format:
    lineLength: 120
    packageFilters:
      ignore:
        - "packages/api"
        - "."

Other

  • I'm interested in working on a PR for this.
@spydon
Copy link
Collaborator

spydon commented Feb 12, 2025

This is already supported for scripts: https://melos.invertase.dev/configuration/scripts#packagefilters

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants