From 3ef955d56fb090106f7c158eb20e0530abdefd6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=BE=E6=98=8E=E5=81=A5?= Date: Wed, 12 Jul 2023 18:39:07 +0800 Subject: [PATCH] feat(basic): prefer non global process object (#214) --- packages/eslint-config-basic/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eslint-config-basic/index.js b/packages/eslint-config-basic/index.js index 06581a3..c99891e 100644 --- a/packages/eslint-config-basic/index.js +++ b/packages/eslint-config-basic/index.js @@ -338,7 +338,7 @@ module.exports = { 'max-statements-per-line': ['error', { max: 1 }], // node - // 'n/prefer-global/process': ['error', 'never'], // Not sure if we need it as we are using `process.env.NODE_ENV` a lot in front-end. + 'n/prefer-global/process': ['error', 'never'], 'n/prefer-global/buffer': ['error', 'never'], 'n/no-callback-literal': 'off',