Skip to content

test/eslint: enable rule: comma-dangle#1692

Open
alxndrsn wants to merge 1 commit intogetodk:nextfrom
alxndrsn:eslint-comma-dangle
Open

test/eslint: enable rule: comma-dangle#1692
alxndrsn wants to merge 1 commit intogetodk:nextfrom
alxndrsn:eslint-comma-dangle

Conversation

@alxndrsn
Copy link
Contributor

@alxndrsn alxndrsn commented Mar 15, 2026

Including trailing commas in multiline arrays simplifies git diffs over time, which eases understanding of changes & code history.

This commit also resolves existing violations.

What has been done to verify that this works as intended?

  • ran locally
  • CI

Why is this the best possible solution? Were any other approaches considered?

Including trailing commas in multiline arrays simplifies git diffs over time, which eases understanding of changes & code history.

An alternative might be to add eslint-ignore directives to existing violations, but these are noisy in their own way.

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

Does this change require updates to documentation? If so, please file an issue here and include the link below.

Before submitting this PR, please make sure you have:

  • branched off and targeted the next branch OR only changed documentation/infrastructure (master is stable and used in production)
  • verified that any code or assets from external sources are properly credited in comments or that everything is internally sourced

Including trailing commas in multiline arrays simplifies git diffs over time, which eases understanding of changes & code history.

This commit also resolves existing violations.
@alxndrsn alxndrsn marked this pull request as ready for review March 15, 2026 06:29
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