We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1d9030 commit b0bc493Copy full SHA for b0bc493
2 files changed
resources/eslint/import.js
@@ -25,6 +25,7 @@ const CONFIG = [
25
},
26
27
"rules": {
28
+ "import/enforce-node-protocol-usage": [ "error", "always" ],
29
"import/export": "error",
30
"import/no-named-as-default-member": "error",
31
"import/no-duplicates": "error",
resources/eslint/unicorn.js
@@ -46,7 +46,10 @@ const CONFIG = [
46
"unicorn/prefer-modern-dom-apis": "error",
47
"unicorn/prefer-modern-math-apis": "error",
48
"unicorn/prefer-negative-index": "error",
49
- "unicorn/prefer-node-protocol": "error",
+
50
+ // XXX duplicate "import/enforce-node-protocol-usage"
51
+ // "unicorn/prefer-node-protocol": "error",
52
53
"unicorn/prefer-number-properties": [
54
"error",
55
{
0 commit comments