Răsfoiți Sursa

chore: eslint rules overrides (#6729)

Co-authored-by: pengbo43 <pengbo43@jd.com>
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
pengbo 3 ani în urmă
părinte
comite
3a13074292
1 a modificat fișierele cu 8 adăugiri și 0 ștergeri
  1. 8 0
      .eslintrc.js

+ 8 - 0
.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'
+      }
     }
   ]
 }