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

feat: chordpro & chords over words compatibility #1004

Conversation

martijnversluis
Copy link
Owner

No description provided.

return [...emptyLines, ...lines, trailingLine];
}

function pairChordsWithLyrics(chordsLine, lyricsLine) {
Copy link

Choose a reason for hiding this comment

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

Function pairChordsWithLyrics has a Cognitive Complexity of 12 (exceeds 5 allowed). Consider refactoring.

}

// eslint-disable-next-line no-unused-vars, @typescript-eslint/no-unused-vars
function arrangeChordSheetLines(chordSheetLines: any[]) {
Copy link

Choose a reason for hiding this comment

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

Function arrangeChordSheetLines has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring.

return [...emptyLines, ...lines, trailingLine];
}

function pairChordsWithLyrics(chordsLine, lyricsLine) {
Copy link

Choose a reason for hiding this comment

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

Function pairChordsWithLyrics has 30 lines of code (exceeds 25 allowed). Consider refactoring.

@martijnversluis martijnversluis force-pushed the gh-307-chordpro-to-chords-over-words branch from 6569abb to d582eb6 Compare September 19, 2023 08:47
@codeclimate
Copy link

codeclimate bot commented Sep 19, 2023

Code Climate has analyzed commit d582eb6 and detected 0 issues on this pull request.

View more on Code Climate.

@martijnversluis martijnversluis merged commit 67ca0e1 into martijnversluis:master Sep 19, 2023
4 checks passed
@martijnversluis martijnversluis deleted the gh-307-chordpro-to-chords-over-words branch September 19, 2023 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants