Skip to content

[SPARK-50586][BUILD] Use CommonJS format for ESLint configuration file#49198

Closed
sarutak wants to merge 1 commit intoapache:masterfrom
sarutak:eslint-js
Closed

[SPARK-50586][BUILD] Use CommonJS format for ESLint configuration file#49198
sarutak wants to merge 1 commit intoapache:masterfrom
sarutak:eslint-js

Conversation

@sarutak
Copy link
Copy Markdown
Member

@sarutak sarutak commented Dec 16, 2024

What changes were proposed in this pull request?

This PR proposes to use CommonJS format for ESLint configuration file instead of JSON format.

Why are the changes needed?

CommonJS format is just plain JavaScript so we can add comments to the configuration file.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Temporarily modified some .js files and ran dev/lint-js, then the linter detected violations.

Was this patch authored or co-authored using generative AI tooling?

No.

@github-actions github-actions bot added the BUILD label Dec 16, 2024
@sarutak
Copy link
Copy Markdown
Member Author

sarutak commented Dec 16, 2024

I don't think the CI failure is relevant to this change.

@MaxGekk
Copy link
Copy Markdown
Member

MaxGekk commented Dec 19, 2024

+1, LGTM. Merging to master.
Thank you, @sarutak and @HyukjinKwon for review.

@MaxGekk MaxGekk closed this in f9aaeb4 Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants