From 41da740e517cd266176059b52fe482d5fb863b80 Mon Sep 17 00:00:00 2001 From: WenjiaoYue Date: Wed, 5 Jun 2024 21:38:30 +0800 Subject: [PATCH] Modify the security issues of .eslintrc.js (#1846) Signed-off-by: Yue, Wenjiao --- neural_coder/extensions/neural_compressor_ext_lab/.eslintrc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neural_coder/extensions/neural_compressor_ext_lab/.eslintrc.js b/neural_coder/extensions/neural_compressor_ext_lab/.eslintrc.js index dbaf8a2b4b1..c64b3721828 100644 --- a/neural_coder/extensions/neural_compressor_ext_lab/.eslintrc.js +++ b/neural_coder/extensions/neural_compressor_ext_lab/.eslintrc.js @@ -36,7 +36,7 @@ module.exports = { fs: 'empty', net:'empty', tls:'empty', -} +}, curly: ['error', 'all'], eqeqeq: 'error', 'prefer-arrow-callback': 'error'