From 51e6e7a6ff6e778ec4622b245d87006a2de11696 Mon Sep 17 00:00:00 2001
From: Alex Yang <himself65@outlook.com>
Date: Tue, 5 Mar 2024 14:20:58 -0600
Subject: [PATCH] fix: config (#611)

---
 .eslintrc     | 19 +++++++++++++++++++
 tsconfig.json |  1 +
 2 files changed, 20 insertions(+)
 create mode 100644 .eslintrc

diff --git a/.eslintrc b/.eslintrc
new file mode 100644
index 00000000..a50d5a3c
--- /dev/null
+++ b/.eslintrc
@@ -0,0 +1,19 @@
+{
+  "root": false,
+  "rules": {
+    "turbo/no-undeclared-env-vars": [
+      "error",
+      {
+        "allowList": [
+          "OPENAI_API_KEY",
+          "npm_config_user_agent",
+          "http_proxy",
+          "https_proxy",
+          "MODEL",
+          "NEXT_PUBLIC_CHAT_API",
+          "NEXT_PUBLIC_MODEL"
+        ]
+      }
+    ]
+  }
+}
\ No newline at end of file
diff --git a/tsconfig.json b/tsconfig.json
index 8be5525b..5d804d06 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -10,6 +10,7 @@
     "esModuleInterop": true,
     "forceConsistentCasingInFileNames": true,
     "incremental": true,
+    "outDir": "./lib",
     "tsBuildInfoFile": "./lib/.tsbuildinfo"
   },
   "include": [
-- 
GitLab