Skip to content

Commit 031640a

Browse files
committed
lint corrections
1 parent 2ae0701 commit 031640a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

packages/database/src/dbDotEnv.mjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import { readFileSync, existsSync } from "node:fs";
22
import { join, dirname, basename } from "node:path";
3+
import process from "node:process";
4+
import console from "node:console";
35
import { fileURLToPath } from "node:url";
46
import dotenv from "dotenv";
57

@@ -14,7 +16,6 @@ const findRoot = () => {
1416
}
1517
return dir;
1618
};
17-
1819
export const getVariant = () => {
1920
const useDbArgPos = (process.argv || []).indexOf("--use-db");
2021
let variant =
@@ -79,9 +80,11 @@ export const envContents = () => {
7980
if (!path) {
8081
// Fallback to process.env when running in production environments
8182
const raw = {
83+
/* eslint-disable @typescript-eslint/naming-convention */
8284
SUPABASE_URL: process.env.SUPABASE_URL,
8385
SUPABASE_PUBLISHABLE_KEY: process.env.SUPABASE_PUBLISHABLE_KEY,
8486
NEXT_API_ROOT: process.env.NEXT_API_ROOT,
87+
/* eslint-enable @typescript-eslint/naming-convention */
8588
};
8689
return Object.fromEntries(Object.entries(raw).filter(([, v]) => !!v));
8790
}

0 commit comments

Comments
 (0)