Skip to content

Simplify eslint configuration and reduce memory consumption - #551

Merged
spalladino merged 1 commit into
masterfrom
palla/eslint-memory
May 16, 2023
Merged

Simplify eslint configuration and reduce memory consumption#551
spalladino merged 1 commit into
masterfrom
palla/eslint-memory

Conversation

@spalladino

Copy link
Copy Markdown
Contributor

Current eslint runs were requiring over 8gb of memory allocation to the node process in my machine, and were leading to frequent vs code crashes. After tinkering with the config for a bit, I found that just pointing to the vanilla tsconfig file we're using does the trick, and runs the linter a lot faster. I also added a global lint command that checks the entire project, rather than going into each project sequentially.

@spalladino
spalladino requested a review from ludamad May 12, 2023 15:07

@ludamad ludamad left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM once merge is ready

@spalladino
spalladino force-pushed the palla/eslint-memory branch from 3442290 to f628572 Compare May 16, 2023 12:46
@spalladino
spalladino merged commit 354a066 into master May 16, 2023
@spalladino
spalladino deleted the palla/eslint-memory branch May 16, 2023 13:05
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