diff --git a/.eslintrc b/.eslintrc new file mode 100644 index 0000000000000000000000000000000000000000..a50d5a3c8bb4185cd761728512bd383c955d3aa7 --- /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 8be5525be79999f9437a39b76c9a793224997f71..5d804d06aeb6649d54b44960aed59b646b84a62e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,6 +10,7 @@ "esModuleInterop": true, "forceConsistentCasingInFileNames": true, "incremental": true, + "outDir": "./lib", "tsBuildInfoFile": "./lib/.tsbuildinfo" }, "include": [