Skip to content

Commit

Permalink
fix: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
reiniiriarios committed Apr 27, 2024
1 parent e556878 commit 29891b3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ export default tseslint.config(
extraFileExtensions: [".svelte"],
},
},
rules: customRules.tsRules,
rules: {
...customRules.tsRules,
"svelte/no-at-html-tags": "off",
},
},
{
files: ["frontend/**/*.ts"],
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/Edit.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
book.tags = tags.split(",").map((t) => t.trim());
}
function handleBookImageDropped(e: CustomEvent) {
function handleBookImageDropped(_: CustomEvent) {
book.cache.image = imagePath;
}
Expand Down

0 comments on commit 29891b3

Please sign in to comment.