Skip to content

[Due for payment 2025-02-25] [HOLD for payment 2025-02-xx] Allow "private_" prefix lint rule for variable naming #54822

Description

@srikarparsi

Problem

Our current lint does not allow private_isArchived as a variable name because the current naming conventions only allow for camelCase, UPPER_CASE, and PascalCase. This causes us to have to manually ignore eslint whenever we are using this variable.

Solution

Update our ESLint rules to allow for variables prefixed by private_. The expected behavior is that anything after the private_ prefix should be camelCase. A sample PR that starts on this is here.

Issue OwnerCurrent Issue Owner: @abekkala

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.ExternalAdded to denote the issue can be worked on by a contributorWeeklyKSv2

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions