Skip to content

Commit 354b0b0

Browse files
committed
fix linting
1 parent ab73cc2 commit 354b0b0

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

.eslintignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.vscode/settings.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,5 @@
2121
"**/.git/subtree-cache/**": true,
2222
"**/node_modules/*/**": true
2323
},
24-
"volar.tsPlugin": true,
25-
"typescript.tsdk": "node_modules/typescript/lib",
26-
"eslint.experimental.useFlatConfig": true
24+
"typescript.tsdk": "node_modules/typescript/lib"
2725
}

eslint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,5 @@ export default ts.config(
4545
},
4646
},
4747
prettier,
48+
{ ignores: ['**/src/assets/**'] },
4849
);

src/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ export function createInterval(type = IntervalType.Work, mins = 0): Interval {
6363
};
6464
}
6565

66-
// eslint-disable-next-line @typescript-eslint/ban-types
67-
export function setupNotifications(notify: Function) {
66+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
67+
export function setupNotifications(notify: (...args: any[]) => any) {
6868
return (type: IntervalType, duration: number) => {
6969
const minutes = pluralize(getMinutes(duration), 'minute', 'minutes');
7070

0 commit comments

Comments
 (0)