Skip to content

Document checking scalacOptions in withConfiguration - #2481

Merged
bjaglin merged 2 commits into
scalacenter:mainfrom
chris-huang-s:docs/withConfiguration-scalacOptions
Jul 22, 2026
Merged

Document checking scalacOptions in withConfiguration#2481
bjaglin merged 2 commits into
scalacenter:mainfrom
chris-huang-s:docs/withConfiguration-scalacOptions

Conversation

@chris-huang-s

Copy link
Copy Markdown
Contributor

Documents how to check scalacOptions inside withConfiguration.

References #1454

chris-huang-s and others added 2 commits July 20, 2026 13:27
Explain that rules can validate required compiler flags via Configuration.scalacOptions and fail fast with Configured.error. Refs scalacenter#1454
Clarify that Configuration exposes scalacOptions and that rules should
validate required compiler flags in withConfiguration (scalacenter#1454).

Co-authored-by: Cursor <cursoragent@cursor.com>
@bjaglin
bjaglin force-pushed the docs/withConfiguration-scalacOptions branch from 5a08aea to a95ddc6 Compare July 22, 2026 09:54
@bjaglin

bjaglin commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

forced-pushed after running ./bin/scalafmt

@bjaglin bjaglin left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks!

@bjaglin
bjaglin merged commit f57ebd5 into scalacenter:main Jul 22, 2026
9 checks passed
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