Skip to content

Commit 28f9e74

Browse files
authored
Merge pull request Expensify#70121 from Expensify/vit-fixLint090925
[NoQA] Fix lint on main
2 parents e4ca04f + b2f84a6 commit 28f9e74

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/ROUTES.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1850,10 +1850,14 @@ const ROUTES = {
18501850
},
18511851
WORKSPACE_OWNER_CHANGE_SUCCESS: {
18521852
route: 'workspaces/:policyID/change-owner/:accountID/success',
1853+
1854+
// eslint-disable-next-line no-restricted-syntax -- Legacy route generation
18531855
getRoute: (policyID: string, accountID: number, backTo?: string) => getUrlWithBackToParam(`workspaces/${policyID}/change-owner/${accountID}/success` as const, backTo),
18541856
},
18551857
WORKSPACE_OWNER_CHANGE_ERROR: {
18561858
route: 'workspaces/:policyID/change-owner/:accountID/failure',
1859+
1860+
// eslint-disable-next-line no-restricted-syntax -- Legacy route generation
18571861
getRoute: (policyID: string, accountID: number, backTo?: string) => getUrlWithBackToParam(`workspaces/${policyID}/change-owner/${accountID}/failure` as const, backTo),
18581862
},
18591863
WORKSPACE_OWNER_CHANGE_CHECK: {
@@ -1862,6 +1866,8 @@ const ROUTES = {
18621866
if (!policyID) {
18631867
Log.warn('Invalid policyID is used to build the WORKSPACE_OWNER_CHANGE_CHECK route');
18641868
}
1869+
1870+
// eslint-disable-next-line no-restricted-syntax -- Legacy route generation
18651871
return getUrlWithBackToParam(`workspaces/${policyID}/change-owner/${accountID}/${error as string}` as const, backTo);
18661872
},
18671873
},

0 commit comments

Comments
 (0)