Skip to content

[HOLD for payment 2023-10-02] [$1000] Create a lint rule for unused styles and translation keys #22212

Description

@luacmartins

Problem

We often add new styles to styles.js or copy to en.js and es.js, but when we remove the last instance using them in App, sometimes we forget to also remove their definition from en.js, es.js or styles.js.

Why is this important

Keeps the codebase clean

Solution

Add a lint rule to eslint-config-expensify to catch unused styles and translation keys so we can remove them appropriately.

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0140cfa1480a9e4861
  • Upwork Job ID: 1676651464070823936
  • Last Price Increase: 2023-07-05

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionDailyKSv2ExternalAdded to denote the issue can be worked on by a contributorNewFeatureSomething to build that is a new item.

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