Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refact: fix no-require-imports eslint warning #239

Merged
merged 3 commits into from
Aug 8, 2024
Merged

Conversation

danielpza
Copy link
Member

@danielpza danielpza commented Aug 8, 2024

Removed requires in favor of import. Kept it in a couple of places where using import was not possible.

Also replaced the require('fake-module') in favor of simulating a nodejs MODULE_NOT_FOUND error for testing

@danielpza danielpza marked this pull request as ready for review August 8, 2024 16:49
@danielpza danielpza merged commit 5402e25 into master Aug 8, 2024
10 checks passed
@danielpza danielpza deleted the fix-eslint branch August 8, 2024 16:53
danielpza added a commit that referenced this pull request Aug 8, 2024
Removed `require`s in favor of `import`. Kept it in a couple of places
where using import was not possible.

Also replaced the `require('fake-module')` in favor of simulating a
nodejs MODULE_NOT_FOUND error for testing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant