Skip to content
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

Support linting multi-destination targets #5441

Merged
merged 1 commit into from
Sep 29, 2023

Conversation

kwridan
Copy link
Collaborator

@kwridan kwridan commented Sep 25, 2023

Short description 📝

  • Updated the GraphLinter to account for multi-destination (multi-platform) targets
  • Lint issues are now flagged only if there are no valid source and destination platform combination based on the existing rules rather than only using the legacyPlatform (single platform) to base the rules on
example

How to test the changes locally 🧐

  • Existing unit tests should continue to pass
  • New cases for valid and invalid combinations were addeed

Notes 📝

Contributor checklist ✅

  • The code has been linted using run ./fourier lint tuist --fix
  • The change is tested via unit testing or acceptance testing, or both
  • The title of the PR is formulated in a way that is usable as a changelog entry
  • In case the PR introduces changes that affect users, the documentation has been updated

Reviewer checklist ✅

  • The code architecture and patterns are consistent with the rest of the codebase
  • Reviewer has checked that, if needed, the PR includes the label changelog:added, changelog:fixed, or changelog:changed, and the title is usable as a changelog entry

- Updated the `GraphLinter` to account for multi-destination (multi-platform) targets
- Lint issues are now flagged only if there are no valid source and destination platform combination based on the existing rules rather than only using the `legacyPlatform` (single platform) to base the rules on

Test Plan:

- Existing unit tests should continue to pass
- New cases for valid and invalid combinations were addeed

Notes:

- This is a pre-requiste for #5381 which adds the public API for multi-desintations
@pepicrft pepicrft force-pushed the update/graph-linter-multi-destinations branch from eefa59c to 3b96ade Compare September 28, 2023 11:31
@pepicrft pepicrft added the changelog:added PR will be listed in the Added section of CHANGELOG label Sep 28, 2023
@pepicrft pepicrft merged commit c7960bd into main Sep 29, 2023
19 of 34 checks passed
@pepicrft pepicrft deleted the update/graph-linter-multi-destinations branch September 29, 2023 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:added PR will be listed in the Added section of CHANGELOG
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants