]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: eslint rules overrides (#6729)
authorpengbo <57180744+PengBoUESTC@users.noreply.github.com>
Mon, 3 Oct 2022 07:37:57 +0000 (15:37 +0800)
committerGitHub <noreply@github.com>
Mon, 3 Oct 2022 07:37:57 +0000 (15:37 +0800)
Co-authored-by: pengbo43 <pengbo43@jd.com>
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
.eslintrc.js

index 8485d76f53ef74c0bfb1cc5549a0987e128d4884..cdbb1dffd91585a54651f3839445f0adc6e73e19 100644 (file)
@@ -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'
+      }
     }
   ]
 }