Skip to content

Commit 7f6484a

Browse files
committed
chore: Ignore and fix new lint errors
1 parent d30c043 commit 7f6484a

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

.eslintrc.cjs

+4
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ module.exports = {
4646
/* Performance and byte savings */
4747
// alternatives offer byte savings
4848
'@typescript-eslint/prefer-string-starts-ends-with': OFF,
49+
// byte savings (but reduces debugging ability)
50+
'@typescript-eslint/restrict-plus-operands': OFF,
51+
// byte savings (but reduces debugging ability)
52+
'@typescript-eslint/restrict-template-expressions': OFF,
4953
// byte savings with same performance
5054
'prefer-template': OFF,
5155
// byte savings

src/components/BookmarkNode.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,5 +141,5 @@ export const BookmarkNode = <T extends LinkProps | BookmarkTreeNode>(
141141
props: T,
142142
nested?: boolean,
143143
): T extends { url: string } ? LinkComponent : FolderComponent =>
144-
// @ts-expect-error - FIXME:!
144+
// @ts-expect-error - FIXME: Handle type narrowing correctly
145145
props.url ? Link(props) : Folder(props, nested);

test/unit/SearchResult.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
// TODO
2-
export {};
2+
console2.warn('Not implemented');

test/unit/sw.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
// TODO
2-
export {};
2+
console2.warn('Not implemented');

0 commit comments

Comments
 (0)