biomejs / biome

A toolchain for web projects, aimed to provide functionalities to maintain them. Biome offers formatter and linter, usable via CLI and LSP.
https://biomejs.dev
Apache License 2.0
13.94k stars 421 forks source link

📎 Implement `nursery/useConsistentMemberAccessibility` - `explicit-member-accessibility` #3271

Closed Conaclos closed 1 week ago

Conaclos commented 2 months ago

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 accessibility taking a value among:

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.

seitarof commented 2 months ago

@Conaclos Hi. Can I work on this issue?

Conaclos commented 2 months ago

All yours :)