@@ -38,8 +38,7 @@ export default [
3838 prettier : prettier
3939 } ,
4040 rules : {
41- // Basic ESLint recommended rules (manually selected to avoid structuredClone dependency)
42- 'no-constant-binary-expression' : 'error' ,
41+ // Basic ESLint rules compatible with Node.js 16.x (avoiding newer rules that use structuredClone)
4342 'no-constant-condition' : 'error' ,
4443 'no-control-regex' : 'error' ,
4544 'no-debugger' : 'error' ,
@@ -53,8 +52,6 @@ export default [
5352 'no-func-assign' : 'error' ,
5453 'no-invalid-regexp' : 'error' ,
5554 'no-irregular-whitespace' : 'error' ,
56- 'no-loss-of-precision' : 'error' ,
57- 'no-misleading-character-class' : 'error' ,
5855 'no-prototype-builtins' : 'error' ,
5956 'no-regex-spaces' : 'error' ,
6057 'no-shadow-restricted-names' : 'error' ,
@@ -64,7 +61,6 @@ export default [
6461 'no-unsafe-finally' : 'error' ,
6562 'no-unsafe-negation' : 'error' ,
6663 'no-unused-labels' : 'error' ,
67- 'no-useless-catch' : 'error' ,
6864 'no-useless-escape' : 'error' ,
6965 'no-with' : 'error' ,
7066 'require-yield' : 'error' ,
0 commit comments