aws-samples / baseline-environment-on-aws

Baseline Environment on AWS(BLEA) is a set of reference CDK template to establish secure baseline on standalone-account or ControlTower based multi-account AWS environment. This solution provides basic and extensible guardrail with AWS security services and end-to-end sample CDK code for typical system architecture.
382 stars 68 forks source link

build: Avoid ESLint OOM #876

Closed konokenj closed 4 weeks ago

konokenj commented 1 month ago

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.

https://github.com/typescript-eslint/typescript-eslint/issues/1192#issuecomment-2071711326


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

mergify[bot] commented 4 weeks ago

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[bot] commented 4 weeks ago

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).