From 09544df644711ba81c879d66250140b8ec51d4ef Mon Sep 17 00:00:00 2001 From: Donavan Becker Date: Fri, 25 Oct 2024 00:24:32 -0500 Subject: [PATCH] fix extensions --- eslint.config.js | 2 +- src/streamingDelegate.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index dfb3c7ed..6fd1113f 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -10,7 +10,7 @@ export default antfu( }, rules: { 'curly': ['error', 'multi-line'], - 'import/extensions': 'off', + 'import/extensions': ['error', 'ignorePackages'], 'import/order': 0, 'jsdoc/check-alignment': 'error', 'jsdoc/check-line-alignment': 'error', diff --git a/src/streamingDelegate.ts b/src/streamingDelegate.ts index e1748bc6..ef35251b 100644 --- a/src/streamingDelegate.ts +++ b/src/streamingDelegate.ts @@ -40,8 +40,8 @@ import { } from 'homebridge' import pickPort from 'pick-port' -import { FfmpegProcess } from './ffmpeg' -import { FRAGMENTS_LENGTH, PREBUFFER_LENGTH, RecordingDelegate } from './recordingDelegate' +import { FfmpegProcess } from './ffmpeg.js' +import { FRAGMENTS_LENGTH, PREBUFFER_LENGTH, RecordingDelegate } from './recordingDelegate.js' interface SessionInfo { address: string // address of the HAP controller