Fix lint errors: add eslint-disable for __dirname, fix no-use-before-define

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2026-02-22 14:32:02 +01:00
parent 6fa63d411f
commit 553e727d5f
13 changed files with 26 additions and 16 deletions
@@ -39,6 +39,7 @@ function findPreviewBundlePath(): string {
// This can be tested by running `yarn pack` and extracting the resulting tarball into a directory.
// Within the extracted directory, run `npm install --only=prod`.
// Once that's done you can test the CLI in any directory using `node <tmp-dir>/package <command>`.
/* eslint-disable-next-line no-restricted-syntax */
return findOwnPaths(__dirname).resolve('dist/embedded-app');
}
}