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

build: Avoid ESLint OOM #876

Merged
merged 2 commits into from
Sep 25, 2024
Merged

Conversation

konokenj
Copy link
Contributor

When lint-staged runs eslint --fix, we get the error:

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory

To avoid this, set a parser option to ESLint.

typescript-eslint/typescript-eslint#1192 (comment)


By submitting this pull request, I confirm that my contribution is made under the terms of the MIT No Attribution (MIT-0).

Copy link
Contributor

@ohmurayu ohmurayu left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

mergify bot commented Sep 25, 2024

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit 7a78772 into aws-samples:main Sep 25, 2024
7 checks passed
Copy link

mergify bot commented Sep 25, 2024

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

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.

2 participants