From 659bd06d9e151565fd3f721512bafbdd0f2780b4 Mon Sep 17 00:00:00 2001 From: VickyStash Date: Wed, 18 Dec 2024 11:43:14 +0100 Subject: [PATCH 1/4] Add more files to the exception list --- .eslintrc.changed.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc.changed.js b/.eslintrc.changed.js index a72dd6a9250a..3f7276c44a58 100644 --- a/.eslintrc.changed.js +++ b/.eslintrc.changed.js @@ -10,7 +10,7 @@ module.exports = { }, overrides: [ { - files: ['src/libs/ReportUtils.ts', 'src/libs/actions/IOU.ts', 'src/libs/actions/Report.ts', 'src/libs/actions/Task.ts'], + files: ['src/libs/ReportUtils.ts', 'src/libs/actions/IOU.ts', 'src/libs/actions/Report.ts', 'src/libs/actions/Task.ts', 'src/libs/OptionsListUtils.ts', 'src/libs/ReportActionsUtils.ts', 'src/libs/TransactionUtils/index.ts'], rules: { 'rulesdir/no-default-id-values': 'off', }, From 0e1f3b186ad287754d30c0f5dff6ffc526a63c2c Mon Sep 17 00:00:00 2001 From: VickyStash Date: Wed, 18 Dec 2024 12:25:48 +0100 Subject: [PATCH 2/4] Add ReportScreen to ignored files cause it updates caused tests failing --- .eslintrc.changed.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc.changed.js b/.eslintrc.changed.js index 3f7276c44a58..23923364e35e 100644 --- a/.eslintrc.changed.js +++ b/.eslintrc.changed.js @@ -10,7 +10,7 @@ module.exports = { }, overrides: [ { - files: ['src/libs/ReportUtils.ts', 'src/libs/actions/IOU.ts', 'src/libs/actions/Report.ts', 'src/libs/actions/Task.ts', 'src/libs/OptionsListUtils.ts', 'src/libs/ReportActionsUtils.ts', 'src/libs/TransactionUtils/index.ts'], + files: ['src/libs/ReportUtils.ts', 'src/libs/actions/IOU.ts', 'src/libs/actions/Report.ts', 'src/libs/actions/Task.ts', 'src/libs/OptionsListUtils.ts', 'src/libs/ReportActionsUtils.ts', 'src/libs/TransactionUtils/index.ts', 'src/pages/home/ReportScreen.tsx'], rules: { 'rulesdir/no-default-id-values': 'off', }, From 3906aee4d9c78c7d885ecf2a078d980014f647bb Mon Sep 17 00:00:00 2001 From: VickyStash Date: Wed, 18 Dec 2024 12:35:48 +0100 Subject: [PATCH 3/4] Fix prettier --- .eslintrc.changed.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.eslintrc.changed.js b/.eslintrc.changed.js index 23923364e35e..b391c083f152 100644 --- a/.eslintrc.changed.js +++ b/.eslintrc.changed.js @@ -10,7 +10,16 @@ module.exports = { }, overrides: [ { - files: ['src/libs/ReportUtils.ts', 'src/libs/actions/IOU.ts', 'src/libs/actions/Report.ts', 'src/libs/actions/Task.ts', 'src/libs/OptionsListUtils.ts', 'src/libs/ReportActionsUtils.ts', 'src/libs/TransactionUtils/index.ts', 'src/pages/home/ReportScreen.tsx'], + files: [ + 'src/libs/ReportUtils.ts', + 'src/libs/actions/IOU.ts', + 'src/libs/actions/Report.ts', + 'src/libs/actions/Task.ts', + 'src/libs/OptionsListUtils.ts', + 'src/libs/ReportActionsUtils.ts', + 'src/libs/TransactionUtils/index.ts', + 'src/pages/home/ReportScreen.tsx', + ], rules: { 'rulesdir/no-default-id-values': 'off', }, From f1070d36e392f9241a464715e504fb13401fbf29 Mon Sep 17 00:00:00 2001 From: VickyStash Date: Thu, 19 Dec 2024 15:22:38 +0100 Subject: [PATCH 4/4] Add WorkspaceInitialPage file --- .eslintrc.changed.js | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.changed.js b/.eslintrc.changed.js index b391c083f152..a1c2c452273e 100644 --- a/.eslintrc.changed.js +++ b/.eslintrc.changed.js @@ -19,6 +19,7 @@ module.exports = { 'src/libs/ReportActionsUtils.ts', 'src/libs/TransactionUtils/index.ts', 'src/pages/home/ReportScreen.tsx', + 'src/pages/workspace/WorkspaceInitialPage.tsx', ], rules: { 'rulesdir/no-default-id-values': 'off',