Skip to content

Commit

Permalink
chore(BBC): update deepscan fix (PreMiD#7897)
Browse files Browse the repository at this point in the history
* chore: update assets

Signed-off-by: SeMiD <[email protected]>

* chore: re-add eslint-disable

- also adds unused variable
- just to pass deepscan

---------

Signed-off-by: SeMiD <[email protected]>
Co-authored-by: theusaf <[email protected]>
  • Loading branch information
SeMiD and theusaf authored Jan 3, 2024
1 parent 3f7bf66 commit 48ae8c2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion websites/B/BBC/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"www.bbc.co.uk",
"www.bbc.com"
],
"version": "2.1.14",
"version": "2.1.15",
"logo": "https://cdn.rcd.gg/PreMiD/websites/B/BBC/assets/logo.png",
"thumbnail": "https://cdn.rcd.gg/PreMiD/websites/B/BBC/assets/thumbnail.png",
"color": "#000000",
Expand Down
6 changes: 6 additions & 0 deletions websites/B/BBC/presence.ts
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,12 @@ presence.on("UpdateData", async () => {

presence.setActivity(presenceData);
});

/* eslint-disable camelcase */
// This is just to make sure that the above line is not removed by eslint
// while at the same time passing Deepscan issues.
const unused_variable = (a: number, b: number) => a + b;
unused_variable(1, 2);
interface IPlayerData {
episode?: {
title: string;
Expand Down Expand Up @@ -827,3 +832,4 @@ interface SoundData {
}[];
};
}
/* eslint-enable camelcase */

0 comments on commit 48ae8c2

Please sign in to comment.