Skip to content

Enforce explicit visibility modifiers#1005

Merged
ecraig12345 merged 2 commits intomicrosoft:masterfrom
ecraig12345:explicit-visibility
Feb 7, 2026
Merged

Enforce explicit visibility modifiers#1005
ecraig12345 merged 2 commits intomicrosoft:masterfrom
ecraig12345:explicit-visibility

Conversation

@ecraig12345
Copy link
Member

@ecraig12345 ecraig12345 commented Feb 3, 2026

Enforce explicit visibility modifiers for classes. Yes, technically public is redundant, but being explicit about the intent of ALL members/methods is much better for maintainability. In theory we could enforce # for private, but that would require more changes and is riskier short-term.

Also update the e2e-tests Monorepo fixture to extend from the monorepo-fixture one, since most logic is the same. This required changing a bunch of methods to async and updating usage in the e2e tests.

@ecraig12345 ecraig12345 force-pushed the explicit-visibility branch 6 times, most recently from f40d91d to aa45029 Compare February 7, 2026 07:05
@ecraig12345 ecraig12345 merged commit 0278741 into microsoft:master Feb 7, 2026
10 checks passed
@ecraig12345 ecraig12345 deleted the explicit-visibility branch February 7, 2026 07:26
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