Skip to content

Commit 1162a97

Browse files
committed
Added prettier commit to git blame ignore revs.
1 parent 529b9b3 commit 1162a97

File tree

7 files changed

+34
-33
lines changed

7 files changed

+34
-33
lines changed

.git-blame-ignore-revs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
# PyUpgrade
2-
d7fdc2e24eec7e5b58585ea2a82509ffd3283ad0
2+
d7fdc2e24eec7e5b58585ea2a82509ffd3283ad0
3+
# Prettier formatting
4+
529b9b303b06db32f724b6b72bdc43dfe2913853

.github/workflows/javascript.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
2121
strategy:
2222
matrix:
23-
node-version: [22]
23+
node-version: ["22.20.0"]
2424
steps:
2525
- name: Checkout code
2626
uses: actions/checkout@v4

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4040
- Ruff now had the UP checks enabled to enforce modern python syntax.
4141
- Unified coverart components in the frontend, we now use common styling for external and internal coverart.
4242
- Moved inbox metadata fetching into the library api routes.
43+
- Prettier style is now enforced in the frontend via an eslint plugin.
4344

4445
### Dependencies
4546

frontend/eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ export default defineConfig(
140140
'react-hooks/exhaustive-deps': 'warn',
141141
},
142142
languageOptions: {
143-
...react.configs.flat.recommended.languageOptions,
143+
//...react.configs.flat.recommended.languageOptions,
144144
ecmaVersion: "latest",
145145
},
146146
},

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"@eslint/js": "^9.39.1",
4141
"@tanstack/eslint-plugin-query": "^5.91.2",
4242
"@tanstack/router-vite-plugin": "^1.139.14",
43-
"@types/node": "^24.10.1",
43+
"@types/node": "^24.10.2",
4444
"@types/react": "^19.2.7",
4545
"@types/react-dom": "^19.2.3",
4646
"@typescript-eslint/eslint-plugin": "^8.48.1",

frontend/pnpm-lock.yaml

Lines changed: 25 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/src/components/common/hooks/useQueryParamsState.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,10 @@ export default function useQueryParamsState(
2525
// initialize on mount to current url, or passed init state
2626
const [value, setValue] = useState<string | null>(() => {
2727
// Parse query parameter value from the URL
28-
const searchParams = new URLSearchParams(location.search);
28+
const searchParams:URLSearchParams = new URLSearchParams(location.search);
2929
const paramValue = searchParams.get(param);
3030

31-
return paramValue !== null
32-
? decodeURIComponent(paramValue)
33-
: initialState;
31+
return paramValue !== null ? decodeURIComponent(paramValue) : initialState;
3432
});
3533

3634
// write to navbar, using navigate when the value changes

0 commit comments

Comments
 (0)