You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Want to contribute? Lets you know you are interested! We will assign you to the issue to prevent several people to work on the same issue. Don't worry, we can unassign you later if you are no longer interested in the issue! Read our contributing guide and analyzer contributing guide.
Important
We will skip most of the options implemented by ESLint
I propose to implement a single option accessibility taking a value among:
explicit: requires an accessibility modifier for every member that allows that (a safe fix will add public).
none: forbid all accessibility modifiers (public, protecetd, public).
noPublic: forbid the use of public (a safe fix will remove it).
In contrast to the ESLint rule, I think we should use noPublic as the default because the omission of public1 is more common than its explicit use.
Note that we should always ignore parameter properties in constructors.
Description
Implement explicit-member-accessibility
Want to contribute? Lets you know you are interested! We will assign you to the issue to prevent several people to work on the same issue. Don't worry, we can unassign you later if you are no longer interested in the issue! Read our contributing guide and analyzer contributing guide.
Important
We will skip most of the options implemented by ESLint
I propose to implement a single option
accessibilitytaking a value among:explicit: requires an accessibility modifier for every member that allows that (a safe fix will addpublic).none: forbid all accessibility modifiers (public,protecetd,public).noPublic: forbid the use ofpublic(a safe fix will remove it).In contrast to the ESLint rule, I think we should use
noPublicas the default because the omission ofpublic1 is more common than its explicit use.Note that we should always ignore parameter properties in constructors.