[PR #469] [MERGED] 🚨 enabling no-unused-vars eslint rule #3159

Closed
opened 2026-02-28 20:37:21 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/469
Author: @MatissJanis
Created: 1/15/2023
Status: Merged
Merged: 1/18/2023
Merged by: @MatissJanis

Base: masterHead: matiss/no-unused-vars


📝 Commits (3)

  • 4b0c105 🚨 enabling no-unused-vars eslint rule
  • ca2caa2 Merge branch 'master' into matiss/no-unused-vars
  • 0fe159b fix more lint issues

📊 Changes

15 files changed (+35 additions, -63 deletions)

View changed files

📝 .eslintrc.js (+8 -1)
📝 packages/desktop-client/src/components/MobileWebMessage.js (+0 -7)
📝 packages/desktop-client/src/components/SyncRefresh.js (+1 -1)
📝 packages/desktop-client/src/components/Titlebar.js (+1 -1)
📝 packages/desktop-client/src/components/accounts/MobileAccount.js (+1 -0)
📝 packages/desktop-client/src/components/accounts/MobileAccounts.js (+7 -15)
📝 packages/desktop-client/src/components/accounts/MobileTransaction.js (+4 -13)
📝 packages/desktop-client/src/components/budget/MobileBudget.js (+1 -2)
📝 packages/desktop-client/src/components/budget/MobileBudgetTable.js (+9 -7)
📝 packages/desktop-client/src/components/reports/graphs/NetWorthGraph.js (+1 -2)
📝 packages/desktop-client/src/components/settings/UI.js (+0 -1)
📝 packages/loot-core/src/platform/exceptions/index.web.js (+0 -2)
📝 packages/loot-design/src/components/common.js (+1 -1)
📝 packages/loot-design/src/components/sidebar.js (+1 -7)
📝 packages/loot-design/src/setupTests.js (+0 -3)

📄 Description

Just fixing some final no-unused-vars issues and enabling the rule. It matches the eslint-config-react-app standard we use with the addition of varsIgnorePattern: '^_'


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/469 **Author:** [@MatissJanis](https://github.com/MatissJanis) **Created:** 1/15/2023 **Status:** ✅ Merged **Merged:** 1/18/2023 **Merged by:** [@MatissJanis](https://github.com/MatissJanis) **Base:** `master` ← **Head:** `matiss/no-unused-vars` --- ### 📝 Commits (3) - [`4b0c105`](https://github.com/actualbudget/actual/commit/4b0c1050a5ef541d8b84f06f7c777099a41429d5) :rotating_light: enabling no-unused-vars eslint rule - [`ca2caa2`](https://github.com/actualbudget/actual/commit/ca2caa23fe9e90c55b7c919f40626fabb50dde2b) Merge branch 'master' into matiss/no-unused-vars - [`0fe159b`](https://github.com/actualbudget/actual/commit/0fe159ba3d67343103dd8d52906181132ce3dd13) fix more lint issues ### 📊 Changes **15 files changed** (+35 additions, -63 deletions) <details> <summary>View changed files</summary> 📝 `.eslintrc.js` (+8 -1) 📝 `packages/desktop-client/src/components/MobileWebMessage.js` (+0 -7) 📝 `packages/desktop-client/src/components/SyncRefresh.js` (+1 -1) 📝 `packages/desktop-client/src/components/Titlebar.js` (+1 -1) 📝 `packages/desktop-client/src/components/accounts/MobileAccount.js` (+1 -0) 📝 `packages/desktop-client/src/components/accounts/MobileAccounts.js` (+7 -15) 📝 `packages/desktop-client/src/components/accounts/MobileTransaction.js` (+4 -13) 📝 `packages/desktop-client/src/components/budget/MobileBudget.js` (+1 -2) 📝 `packages/desktop-client/src/components/budget/MobileBudgetTable.js` (+9 -7) 📝 `packages/desktop-client/src/components/reports/graphs/NetWorthGraph.js` (+1 -2) 📝 `packages/desktop-client/src/components/settings/UI.js` (+0 -1) 📝 `packages/loot-core/src/platform/exceptions/index.web.js` (+0 -2) 📝 `packages/loot-design/src/components/common.js` (+1 -1) 📝 `packages/loot-design/src/components/sidebar.js` (+1 -7) 📝 `packages/loot-design/src/setupTests.js` (+0 -3) </details> ### 📄 Description Just fixing some final `no-unused-vars` issues and enabling the rule. It matches the `eslint-config-react-app` standard we use with the addition of `varsIgnorePattern: '^_'` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-02-28 20:37:21 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#3159