From 457fe1535fe9d613c8eb401cb006c5396e7b8b89 Mon Sep 17 00:00:00 2001
From: Marcus Schiesser <mail@marcusschiesser.de>
Date: Fri, 3 Nov 2023 17:29:36 +0700
Subject: [PATCH] fix: add linting for create-llama

---
 packages/create-llama/package.json     | 10 +++-------
 packages/eslint-config-custom/index.js |  4 ++++
 pnpm-lock.yaml                         |  3 ---
 3 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/packages/create-llama/package.json b/packages/create-llama/package.json
index de886a912..48f5076fb 100644
--- a/packages/create-llama/package.json
+++ b/packages/create-llama/package.json
@@ -12,7 +12,6 @@
     "url": "https://github.com/run-llama/LlamaIndexTS",
     "directory": "packages/create-llama"
   },
-  "author": "LlamaIndex Team <info@runllama.ai>",
   "license": "MIT",
   "bin": {
     "create-llama": "./dist/index.js"
@@ -22,11 +21,9 @@
   ],
   "scripts": {
     "dev": "ncc build ./index.ts -w -o dist/",
-    "prerelease": "node ../../scripts/rm.mjs dist",
-    "release": "ncc build ./index.ts -o ./dist/ --minify --no-cache --no-source-map-register",
-    "prepublishOnly": "cd ../../ && turbo run build",
-    "build": "pnpm release",
-    "lint-fix": "pnpm prettier -w --plugin prettier-plugin-tailwindcss 'templates/*-tw/{ts,js}/{app,pages}/**/*.{js,ts,tsx}'"
+    "build": "ncc build ./index.ts -o ./dist/ --minify --no-cache --no-source-map-register",
+    "lint": "eslint . --ignore-pattern dist",
+    "prepublishOnly": "cd ../../ && turbo run build"
   },
   "devDependencies": {
     "@types/async-retry": "1.4.2",
@@ -46,7 +43,6 @@
     "fast-glob": "3.3.1",
     "got": "10.7.0",
     "picocolors": "1.0.0",
-    "prettier-plugin-tailwindcss": "0.3.0",
     "prompts": "2.1.0",
     "tar": "6.1.15",
     "update-check": "1.5.4",
diff --git a/packages/eslint-config-custom/index.js b/packages/eslint-config-custom/index.js
index a4d327e57..142321257 100644
--- a/packages/eslint-config-custom/index.js
+++ b/packages/eslint-config-custom/index.js
@@ -35,6 +35,10 @@ module.exports = {
 
           "NOTION_TOKEN",
           "MONGODB_URI",
+
+          "https_proxy",
+          "npm_config_user_agent",
+          "NEXT_PUBLIC_CHAT_API",
         ],
       },
     ],
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index ab738bfe2..1f72896b0 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -256,9 +256,6 @@ importers:
       picocolors:
         specifier: 1.0.0
         version: 1.0.0
-      prettier-plugin-tailwindcss:
-        specifier: 0.3.0
-        version: 0.3.0(prettier-plugin-organize-imports@3.2.3)(prettier@3.0.3)
       prompts:
         specifier: 2.1.0
         version: 2.1.0
-- 
GitLab