Skip to content

Commit c3f5e91

Browse files
committed
chore: lint ignores
1 parent 523ab9d commit c3f5e91

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/loader.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export function TypeScriptLoader(options?: JitiOptions): LoaderAsync {
1919

2020
// `default` is used when exporting using export default, some modules
2121
// may still use `module.exports` or if in TS `export = `
22+
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
2223
return result.default || result;
2324
} catch (error) {
2425
if (error instanceof Error) {
@@ -42,6 +43,7 @@ export function TypeScriptLoaderSync(options?: JitiOptions): LoaderSync {
4243

4344
// `default` is used when exporting using export default, some modules
4445
// may still use `module.exports` or if in TS `export = `
46+
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
4547
return result.default || result;
4648
} catch (error) {
4749
if (error instanceof Error) {

0 commit comments

Comments
 (0)