Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
Tool: gitpod/catfood.gitpod.cloud
  • Loading branch information
filiptronicek committed Feb 22, 2025
1 parent fd455d6 commit 1c964bb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 15 deletions.
16 changes: 4 additions & 12 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -75,4 +67,4 @@
],
"react/jsx-sort-props": "error"
}
}
}
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const nextJest = require('next/jest')
const nextJest = require('next/jest');

const createJestConfig = nextJest({
dir: './',
Expand Down
2 changes: 1 addition & 1 deletion public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
"purpose": "maskable"
}
]
}
}
4 changes: 3 additions & 1 deletion src/pages/about.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1c964bb

Please sign in to comment.