From: pengbo <57180744+PengBoUESTC@users.noreply.github.com> Date: Mon, 3 Oct 2022 07:37:57 +0000 (+0800) Subject: chore: eslint rules overrides (#6729) X-Git-Tag: v3.2.41~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a130742929dd995bccd854074ad38290048e69d;p=thirdparty%2Fvuejs%2Fcore.git chore: eslint rules overrides (#6729) Co-authored-by: pengbo43 Co-authored-by: Anthony Fu --- diff --git a/.eslintrc.js b/.eslintrc.js index 8485d76f53..cdbb1dffd9 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -69,6 +69,14 @@ module.exports = { 'no-restricted-globals': ['error', ...NodeGlobals], 'no-restricted-syntax': 'off' } + }, + // Node scripts + { + files: ['scripts/**', './*.js', 'packages/**/index.js', 'packages/size-check/**'], + rules: { + 'no-restricted-globals': 'off', + 'no-restricted-syntax': 'off' + } } ] }