Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ repos:
additional_dependencies:
- "[email protected]"
- "[email protected]"
- "svelte@4.2.19"
- "svelte@5.16.0"
- id: stylelint
name: stylelint
language: node
Expand Down
1 change: 1 addition & 0 deletions frontend/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ async function runBuild(dev: boolean) {
format: "esm",
bundle: true,
outfile: "../src/fava/static/app.js",
conditions: dev ? ["development"] : ["production"],
external: ["fs", "path"], // for web-tree-sitter
loader: {
".wasm": "file",
Expand Down
13 changes: 0 additions & 13 deletions frontend/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -71,21 +71,8 @@ export default tseslint.config(
parser: tseslint.parser,
},
},
settings: {
svelte: {
// These need to be disabled in the templates as these are not fully typed.
ignoreWarnings: [
"@typescript-eslint/no-unsafe-argument",
"@typescript-eslint/no-unsafe-assignment",
"@typescript-eslint/no-unsafe-member-access",
],
},
},
rules: {
"svelte/button-has-type": ON,
// Has some false positives in Svelte files were we have if()
// checks to trigger re-computations:
"@typescript-eslint/no-unnecessary-condition": OFF,
},
},
);
126 changes: 57 additions & 69 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"d3-shape": "^3.0.0",
"d3-time": "^3.0.0",
"d3-time-format": "^4.1.0",
"svelte": "^4.0.0",
"svelte": "^5.11.3",
"web-tree-sitter": "^0.24.2"
}
}
Loading
Loading