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

MC7000: Fix code style issue in pad buttons handler for 2.3 #4757

Merged
merged 1 commit into from
May 12, 2022

Conversation

fwcd
Copy link
Member

@fwcd fwcd commented May 12, 2022

This branch fixes a code style issue in the MC7000 mapping that caused the pre-commit hook to fail on the 2.3 branch, namely a bunch of empty if-branches that are replaced with a comment detailing which modes are to be implemented.

More style issues (like const/let) will be fixed in #4754, these aren't backwards compatible though and therefore in a separate PR.

The linter doesn't like the empty branches, therefore we remove them and
add a comment detailing which modes are not implemented yet.
@fwcd fwcd changed the title MC7000: Fix code style issues with the 2.3 linter configuration MC7000: Fix code style issue in pad buttons handler for 2.3 May 12, 2022
@fwcd
Copy link
Member Author

fwcd commented May 12, 2022

Hm, the CI failure looks unrelated

Copy link
Member

@Swiftb0y Swiftb0y left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. CI failure was sporadic. LGTM

@Swiftb0y Swiftb0y merged commit 839bf4b into mixxxdj:2.3 May 12, 2022
@fwcd fwcd deleted the fix-mc7000-2.3-style-issues branch May 12, 2022 19:58
@Swiftb0y
Copy link
Member

Now that this PR has been merged, please rebase the two PRs that depended on this onto 2.3

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

Successfully merging this pull request may close these issues.

2 participants