Skip to content

Commit 0a29ce3

Browse files
committed
Fix eslint
1 parent 3d9b5b5 commit 0a29ce3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

assets.src/eslint.config.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,11 @@ export default defineConfig([{
3333
"@typescript-eslint/no-explicit-any": "off",
3434
"@typescript-eslint/no-unused-vars": "off",
3535
"@typescript-eslint/ban-types": "off",
36+
"@typescript-eslint/no-unsafe-function-type": "off",
37+
"@typescript-eslint/no-require-imports": "off",
3638

3739
"@typescript-eslint/no-this-alias": ["error", {
3840
allowedNames: ["that"],
3941
}],
4042
},
41-
}]);
43+
}]);

assets.src/src/redmine-tracky/controllers/flatpickr-controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Flatpickr from 'stimulus-flatpickr'
22

33
export default class extends Flatpickr {
4-
open(_selectedDates: Date[], dateStr: String, instance: any) {
4+
open(_selectedDates: Date[], dateStr: string, instance: any) {
55
if (!dateStr) {
66
instance.setDate(Date.now())
77
}

0 commit comments

Comments
 (0)