From 92d0640d04d1916729569127977834346dae246c Mon Sep 17 00:00:00 2001 From: 0t4u <61939142+0t4u@users.noreply.github.com> Date: Tue, 29 Oct 2024 00:10:37 +0000 Subject: [PATCH] fix: allow nodejs builtin modules --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 7051cf5..e977cc7 100644 --- a/index.js +++ b/index.js @@ -77,7 +77,7 @@ export default function config(rootdir) { 'import-x/no-amd': [ 'error' ], 'import-x/no-commonjs': [ 'error' ], 'import-x/no-import-module-exports': [ 'error' ], - 'import-x/no-nodejs-modules': [ 'error' ], + // 'import-x/no-nodejs-modules': [ 'error' ], 'import-x/unambiguous': [ 'warn' ], 'import-x/no-absolute-path': [ 'error' ], 'import-x/no-cycle': [ 'error' ],