Skip to content

Add line breaks in between processing groups for fix#561

Merged
John-David Dalton (jdalton) merged 1 commit intomainfrom
jdalton/more-newline-fix
May 18, 2025
Merged

Add line breaks in between processing groups for fix#561
John-David Dalton (jdalton) merged 1 commit intomainfrom
jdalton/more-newline-fix

Conversation

@jdalton
Copy link
Copy Markdown
Contributor

No description provided.

@jdalton John-David Dalton (jdalton) merged commit a6ad248 into main May 18, 2025
4 checks passed
@jdalton John-David Dalton (jdalton) deleted the jdalton/more-newline-fix branch May 18, 2025 14:01
Comment on lines +141 to +144
let i = 0, { length } = sortedInfoEntries;
i < length;
i += 1
) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Consider separating the variable declarations for better readability. The current statement let i = 0, { length } = sortedInfoEntries; combines multiple declarations in a single line. Following standard practice, each variable should be declared separately:

let i = 0;
const { length } = sortedInfoEntries;

This makes the code more maintainable and follows common JavaScript style guidelines.

Suggested change
let i = 0, { length } = sortedInfoEntries;
i < length;
i += 1
) {
let i = 0, { length } = sortedInfoEntries;
i < length;
i += 1
) {

Spotted by Diamond (based on custom rules)

Is this helpful? React 👍 or 👎 to let us know.

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.

1 participant