Skip to content

Commit

Permalink
chore: lint error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
leegeunhyeok committed Oct 25, 2023
1 parent a3c4606 commit 30fcbd1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/core/lib/bundler/helpers/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,12 @@ export const loadConfig = (configFilePath?: string): Config => {
};

try {
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-var-requires -- Config file may not exist.
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-var-requires -- Config file may not exist.
config = require(
configFilePath
? path.resolve(configFilePath)
: path.resolve(process.cwd(), 'react-native-esbuild.config.js'),
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access -- Config will be default exported.
).default;
} catch (error) {
/**
Expand Down

2 comments on commit 30fcbd1

@vercel
Copy link

@vercel vercel bot commented on 30fcbd1 Oct 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage report

St.
Category Percentage Covered / Total
🔴 Statements 16.25% 329/2024
🔴 Branches 16.08% 82/510
🔴 Functions 11.02% 66/599
🔴 Lines 15.53% 299/1925

Test suite run success

83 tests passing in 10 suites.

Report generated by 🧪jest coverage report action from 30fcbd1

Please sign in to comment.