Skip to content

Commit 25c4764

Browse files
committed
.eslintrc: enable unicorn/prefer-node-protocol
Now that it can be used in all supported versions of Node.js. Signed-off-by: Kevin Locke <[email protected]>
1 parent e9a1c14 commit 25c4764

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

.eslintrc.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@
1616
// Allow CommonJS modules
1717
"unicorn/prefer-module": "off",
1818

19-
// Don't prefer node: protocol when importing builtin modules
20-
// Since it is not supported by Node.js < 14.18
21-
// TODO[engine:node@>=14.18]: remove this to enable prefer-node-protocol
22-
"unicorn/prefer-node-protocol": "off",
23-
2419
// Don't prefer top-level await
2520
// Since top-level await is only supported in ECMAScript Modules (ESM)
2621
"unicorn/prefer-top-level-await": "off"

0 commit comments

Comments
 (0)