Skip to content

Commit 33495f9

Browse files
committed
chore: lint
1 parent 12913db commit 33495f9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/resolve.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ function _flattenExports(
298298
? [key.slice(1), undefined]
299299
: ["", key];
300300
const _subPath = joinURL(parentSubpath, subpath);
301-
// eslint-disable-next-line unicorn/prefer-ternary
301+
302302
if (typeof value === "string") {
303303
return [{ subpath: _subPath, fsPath: value, condition }];
304304
} else {

test/interop.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ const tests = [
1717
{ named: 1, x: 2 },
1818
],
1919
[
20-
{ default: null, x: 1 }, // eslint-disable-line unicorn/no-null
21-
{ default: null, x: 1 }, // eslint-disable-line unicorn/no-null
20+
{ default: null, x: 1 },
21+
{ default: null, x: 1 },
2222
],
2323
[
2424
{ default: undefined, x: 1 },

0 commit comments

Comments
 (0)