-
Notifications
You must be signed in to change notification settings - Fork 536
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(eslint-config): Update constructor access modifier eslint rule to require explicit modifiers #13134
feat(eslint-config): Update constructor access modifier eslint rule to require explicit modifiers #13134
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me other than the single comment below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aw yeah
Waiting on ongoing discussion about major version changes in this and other individually published packages. Update: PR pre-emptively major-bumping the eslint config for this and other breaking changes: #13218 Update 2: Above PR merged. This is ready to go. |
Updates rule to match discussion outcome in this discussion.
Rule documentation: https://typescript-eslint.io/rules/explicit-member-accessibility/
Also fixes violations in packages using the
strict
configBreaking Change
Note that this is a breaking change with respect to the above rule. We are changing error-level enforcement of the policy to the opposite rule, so code changes will be required. This PR pre-fixes the violations existing at this point in time, but any changes between now and when the new package is published and adopted will need to be fixed.