Allow undefined in linter configuration
authorJérôme Benoit <jerome.benoit@sap.com>
Wed, 9 Mar 2022 22:00:21 +0000 (23:00 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Wed, 9 Mar 2022 22:00:21 +0000 (23:00 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.eslintrc
prepare.js

index 409a11b2bb901464f2b28fbf46d026daef3c571a..8b1a37836329e0dd6dbb63b11ed9598ffdfcdae4 100644 (file)
--- a/.eslintrc
+++ b/.eslintrc
@@ -20,7 +20,6 @@
     "eqeqeq": ["error", "always"],
     "no-else-return": "error",
     "no-eq-null": "error",
-    "no-undefined": "error",
     "no-extra-bind": "error",
     "no-lone-blocks": "error",
     "no-multi-spaces": "error",
index 6673200f5676a4b008f4f8be48dcbad822fbe9ad..7d7472a7802bc12d0fedc4c9fccc6b9b7554dc8e 100644 (file)
@@ -1,6 +1,4 @@
-// eslint-disable-next-line no-undefined
 const isCi = process.env.CI !== undefined;
-// eslint-disable-next-line no-undefined
 const isCloudFoundry = process.env.VCAP_APPLICATION !== undefined;
 if (!isCloudFoundry && !isCi) {
   // eslint-disable-next-line node/no-unpublished-require