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
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.jsorstyles.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