We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12913db commit 33495f9Copy full SHA for 33495f9
src/resolve.ts
@@ -298,7 +298,7 @@ function _flattenExports(
298
? [key.slice(1), undefined]
299
: ["", key];
300
const _subPath = joinURL(parentSubpath, subpath);
301
- // eslint-disable-next-line unicorn/prefer-ternary
+
302
if (typeof value === "string") {
303
return [{ subpath: _subPath, fsPath: value, condition }];
304
} else {
test/interop.test.ts
@@ -17,8 +17,8 @@ const tests = [
17
{ named: 1, x: 2 },
18
],
19
[
20
- { default: null, x: 1 }, // eslint-disable-line unicorn/no-null
21
+ { default: null, x: 1 },
22
23
24
{ default: undefined, x: 1 },
0 commit comments