From 3f7bdda7ae43ac3c81cf7fd8ba1059c5c892077b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1n=20Jakub=20Nani=C5=A1ta?= Date: Mon, 29 Jan 2024 15:36:15 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20Fix=20problems=20when=20committi?= =?UTF-8?q?ng=20files=20that=20touch=20environment=20variables=20(#296)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 2d55f00bc..2458b5c83 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -8,7 +8,7 @@ "jest": true }, "parser": "@typescript-eslint/parser", - "plugins": ["@typescript-eslint", "prettier"], + "plugins": ["@typescript-eslint", "prettier", "turbo"], "extends": [ "eslint:recommended", "plugin:@typescript-eslint/recommended", @@ -42,6 +42,10 @@ } ], - "@typescript-eslint/no-explicit-any": "warn" + "@typescript-eslint/no-explicit-any": "warn", + + // Since none of our environment variables affect the build output, we're safe + // to ignore any errors related to undeclared environment variables + "turbo/no-undeclared-env-vars": "warn" } }