diff --git a/js-compatibiitiy/conf/.eslintrc.yml b/js-compatibiitiy/conf/.eslintrc.yml index 63f342b900363ae323d8c01d2fb44dc2eac5e12a..be2a1b678dfc9ac3ff69a6addc1e86ff4383cc1e 100644 --- a/js-compatibiitiy/conf/.eslintrc.yml +++ b/js-compatibiitiy/conf/.eslintrc.yml @@ -28,6 +28,51 @@ rules: - escape - unescape - eval + no-restricted-syntax: + - error + - selector: MemberExpression[object.name='fs'] + - selector: MemberExpression[object.name='assert'] + - selector: MemberExpression[object.name='async_hooks'] + - selector: MemberExpression[object.name='buffer'] + - selector: MemberExpression[object.name='child_process'] + - selector: MemberExpression[object.name='cluster'] + - selector: MemberExpression[object.name='console'] + - selector: MemberExpression[object.name='constants'] + - selector: MemberExpression[object.name='crypto'] + - selector: MemberExpression[object.name='dgram'] + - selector: MemberExpression[object.name='diagnostics_channel'] + - selector: MemberExpression[object.name='dns'] + - selector: MemberExpression[object.name='domain'] + - selector: MemberExpression[object.name='events'] + - selector: MemberExpression[object.name='http'] + - selector: MemberExpression[object.name='http2'] + - selector: MemberExpression[object.name='https'] + - selector: MemberExpression[object.name='inspector'] + - selector: MemberExpression[object.name='module'] + - selector: MemberExpression[object.name='net'] + - selector: MemberExpression[object.name='os'] + - selector: MemberExpression[object.name='path'] + - selector: MemberExpression[object.name='perf_hooks'] + - selector: MemberExpression[object.name='process'] + - selector: MemberExpression[object.name='punycode'] + - selector: MemberExpression[object.name='querystring'] + - selector: MemberExpression[object.name='readline'] + - selector: MemberExpression[object.name='repl'] + - selector: MemberExpression[object.name='stream'] + - selector: MemberExpression[object.name='string_decoder'] + - selector: MemberExpression[object.name='test'] + - selector: MemberExpression[object.name='timers'] + - selector: MemberExpression[object.name='tls'] + - selector: MemberExpression[object.name='trace_events'] + - selector: MemberExpression[object.name='tty'] + - selector: MemberExpression[object.name='url'] + - selector: MemberExpression[object.name='util'] + - selector: MemberExpression[object.name='v8'] + - selector: MemberExpression[object.name='vm'] + - selector: MemberExpression[object.name='wasi'] + - selector: MemberExpression[object.name='worker_threads'] + - selector: MemberExpression[object.name='zlib'] + - selector: MemberExpression[object.name='sqlite'] no-restricted-modules: - error - assert @@ -71,4 +116,5 @@ rules: - vm - wasi - worker_threads - - zlib \ No newline at end of file + - zlib + - sqlite \ No newline at end of file