From 1c964bb273dbcaab3dc0d4ff81a314f0cd28bc2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Tron=C3=AD=C4=8Dek?= Date: Sat, 22 Feb 2025 14:45:31 +0000 Subject: [PATCH] format Tool: gitpod/catfood.gitpod.cloud --- .eslintrc.json | 16 ++++------------ jest.config.js | 2 +- public/manifest.json | 2 +- src/pages/about.tsx | 4 +++- 4 files changed, 9 insertions(+), 15 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 03086a33..988ec5ee 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -14,18 +14,10 @@ ], "rules": { "react/display-name": "off", - "comma-dangle": [ - "off", - "always" - ], - "prettier/prettier": [ - "error" - ], + "comma-dangle": ["off", "always"], + "prettier/prettier": ["error"], "react/prop-types": "off", - "semi": [ - 2, - "always" - ], + "semi": [2, "always"], "quotes": [ "error", "single", @@ -75,4 +67,4 @@ ], "react/jsx-sort-props": "error" } -} \ No newline at end of file +} diff --git a/jest.config.js b/jest.config.js index 2484711b..c3c9a0f6 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,4 +1,4 @@ -const nextJest = require('next/jest') +const nextJest = require('next/jest'); const createJestConfig = nextJest({ dir: './', diff --git a/public/manifest.json b/public/manifest.json index c4e09592..fbf9e3a9 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -33,4 +33,4 @@ "purpose": "maskable" } ] -} \ No newline at end of file +} diff --git a/src/pages/about.tsx b/src/pages/about.tsx index e7413306..24075010 100644 --- a/src/pages/about.tsx +++ b/src/pages/about.tsx @@ -101,7 +101,9 @@ export async function getStaticProps(): Promise< const sizeEndpoint = 'https://interclip.app/includes/size.json'; const response = await fetch(sizeEndpoint).catch(() => null); - const sizeData: SizeResponse = response ? await response.json() : { count: 0, bytes: 0 }; + const sizeData: SizeResponse = response + ? await response.json() + : { count: 0, bytes: 0 }; // Get current version