Skip to content

Commit 641bf0c

Browse files
committed
style: disable n/prefer-node-protocol ESLint rule
- Set n/prefer-node-protocol to 'off' to allow bare Node.js imports - Aligns with Biome's useNodejsImportProtocol: 'off' setting - Both linters now accept bare imports like 'fs' instead of 'node:fs'
1 parent 0d3b346 commit 641bf0c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.config/eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ function configs(sourceType) {
166166
version: '>=22',
167167
},
168168
],
169-
'n/prefer-node-protocol': 'error',
169+
'n/prefer-node-protocol': 'off',
170170
'unicorn/consistent-function-scoping': 'error',
171171
curly: 'error',
172172
'no-await-in-loop': 'error',

0 commit comments

Comments
 (0)