Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ryoppippi committed Feb 4, 2025
1 parent 7cc14ba commit e9b77bd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/unplugin-typia/src/bun.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ async function taggedTransform(

const result = await _transform(source, id);

// eslint-disable-next-line ts/switch-exhaustiveness-check
switch (true) {
case result == null:
return undefined;
Expand Down
1 change: 1 addition & 0 deletions packages/unplugin-typia/src/core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ const unpluginFactory: UnpluginFactory<

/** transform code */
let code: Data | undefined;
// eslint-disable-next-line ts/switch-exhaustiveness-check
switch (true) {
case isSvelteFile(id):
({ code } = await sveltePreprocess({ id, source, transform: _transform }));
Expand Down
2 changes: 0 additions & 2 deletions packages/unplugin-typia/tests/rollup.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,10 @@ async function transform(_id: ID) {
const result = await rollupBuild(
id,
[
// @ts-expect-error type does not match
UnpluginInlineTypia({
cache: false,
log: false,
}),
// @ts-expect-error type does not match
RollupEsbuildPlugin(),
{
name: 'test:mod-options',
Expand Down

0 comments on commit e9b77bd

Please sign in to comment.