Skip to content

Commit 3e5996e

Browse files
authored
update ESLint and other deps, tweaks and fixes related to new warnings (#63)
1 parent 6b9fe73 commit 3e5996e

File tree

6 files changed

+953
-1054
lines changed

6 files changed

+953
-1054
lines changed

.github/workflow-scripts/notifyDiscord.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ async function sendMessageToDiscord(webHook, message) {
3030
// Handle the response
3131
if (response.ok) {
3232
console.log('Successfully sent message to Discord');
33-
return;
3433
} else {
3534
const errorText = await response.text();
3635
console.error(

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,22 @@
1515
},
1616
"repository": "github:react-native-community/nightly-tests",
1717
"devDependencies": {
18-
"@babel/core": "^7.28.6",
19-
"@eslint/js": "^9.39.2",
20-
"@eslint/json": "^0.14.0",
18+
"@babel/core": "^7.29.0",
19+
"@eslint/js": "^10.0.1",
20+
"@eslint/json": "^1.0.1",
2121
"@eslint/markdown": "^7.5.1",
2222
"babel-jest": "^30.2.0",
2323
"babel-preset-env": "^1.7.0",
24-
"eslint": "^9.39.2",
24+
"eslint": "^10.0.0",
2525
"eslint-config-prettier": "^10.1.8",
2626
"eslint-plugin-import": "^2.32.0",
27-
"eslint-plugin-jest": "^29.12.1",
27+
"eslint-plugin-jest": "^29.13.0",
2828
"eslint-plugin-prettier": "^5.5.5",
29-
"globals": "^17.2.0",
29+
"globals": "^17.3.0",
3030
"jest": "^30.2.0",
3131
"prettier": "^3.8.1",
3232
"typescript": "^5.9.3",
33-
"typescript-eslint": "^8.54.0"
33+
"typescript-eslint": "^8.55.0"
3434
},
3535
"scripts": {
3636
"lint": "eslint",

website/components/Table.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ import { EntryNotes } from '~/components/EntryNotes';
1515
import { GitHubRepoLink } from '~/components/GitHubRepoLink';
1616
import { useSearch } from '~/context/SearchContext';
1717
import data from '~/public/data.json';
18-
import { type LibraryType } from '~/types/data-types';
18+
import { type LibraryType, PlatformStatus } from '~/types/data-types';
1919
import getCleanPackageName from '~/utils/getCleanPackageName';
2020

2121
import Tooltip from './Tooltip';
2222

2323
const columnHelper = createColumnHelper<LibraryType>();
2424

25-
function formatStatus(info: CellContext<LibraryType, any>) {
25+
function formatStatus(info: CellContext<LibraryType, PlatformStatus>) {
2626
switch (info.getValue()) {
2727
case 'success':
2828
return <span className="select-none">🟢</span>;

website/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@
2525
"@next/eslint-plugin-next": "16.1.6",
2626
"@svgr/webpack": "^8.1.0",
2727
"@tailwindcss/postcss": "^4.1.18",
28-
"@types/node": "^22.18.13",
29-
"@types/react": "^19.2.10",
28+
"@types/node": "^22.19.11",
29+
"@types/react": "^19.2.14",
3030
"@types/react-dom": "^19.2.3",
3131
"babel-plugin-react-compiler": "^1.0.0",
32-
"dotenv": "^17.2.3",
32+
"dotenv": "^17.2.4",
3333
"eslint-plugin-react": "^7.37.5",
3434
"eslint-plugin-svgo": "^0.11.3",
35-
"firebase-admin": "^13.6.0",
35+
"firebase-admin": "^13.6.1",
3636
"tailwindcss": "^4.1.18"
3737
}
3838
}

website/types/data-types.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@ export type LibraryType = {
66
results: Record<
77
string,
88
{
9-
android?: 'success' | 'failure';
10-
ios?: 'success' | 'failure';
9+
android: PlatformStatus;
10+
ios: PlatformStatus;
1111
runUrl?: string;
1212
}
1313
>;
1414
};
15+
16+
export type PlatformStatus = 'success' | 'failure' | undefined;

0 commit comments

Comments
 (0)