Skip to content

feat: support eslint config comments#332

Merged
mdjermanovic merged 2 commits intoeslint:mainfrom
lumirlumir:feat-support-apply-inline-config
Apr 6, 2025
Merged

feat: support eslint config comments#332
mdjermanovic merged 2 commits intoeslint:mainfrom
lumirlumir:feat-support-apply-inline-config

Conversation

@lumirlumir
Copy link
Copy Markdown
Member

Hello,

I've finished implementing the applyInlineConfig method.

For both source code and tests, I referenced JSON and CSS.

I also updated the configCommentStart regex to correctly recognize inline configs.

resolves: #330

Comment thread tests/language/markdown-source-code.test.js
@lumirlumir lumirlumir marked this pull request as draft April 1, 2025 14:39
@lumirlumir lumirlumir marked this pull request as ready for review April 3, 2025 08:11
@lumirlumir lumirlumir requested a review from nzakas April 3, 2025 08:11
@fasttime fasttime added this to Triage Apr 3, 2025
@github-project-automation github-project-automation Bot moved this to Needs Triage in Triage Apr 3, 2025
Copy link
Copy Markdown
Member

@nzakas nzakas left a comment

Choose a reason for hiding this comment

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

LGTM, nice work! Would like @mdjermanovic to review before merging.

@nzakas nzakas moved this from Needs Triage to Second Review Needed in Triage Apr 4, 2025
Copy link
Copy Markdown
Member

@mdjermanovic mdjermanovic left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@mdjermanovic mdjermanovic changed the title feat: support applyInlineConfig feat: support eslint config comments Apr 6, 2025
@mdjermanovic mdjermanovic merged commit f697540 into eslint:main Apr 6, 2025
15 checks passed
@github-project-automation github-project-automation Bot moved this from Second Review Needed to Complete in Triage Apr 6, 2025
@lumirlumir lumirlumir deleted the feat-support-apply-inline-config branch April 7, 2025 02:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Complete

Development

Successfully merging this pull request may close these issues.

Change Request: Support applyInlineConfig

4 participants