Skip to content

Running out of memory in repo CI lint tasks #4200

@JoshuaKGoldberg

Description

@JoshuaKGoldberg
  • I have tried restarting my IDE and the issue persists.
  • I have updated to the latest version of the packages.
  • I have read the FAQ and my problem is not listed.

Repro

#4197 (comment)

Expected Result

/path/to/typescript-eslint/packages/website/src/pages/index.tsx
  113:5   error  React Hook "useEffect" is called conditionally. React Hooks must be called in the exact same order in every component render
       react-hooks/rules-of-hooks
  115:9   error  Unexpected console statement
       no-console

Actual Result

$ eslint . --ext .js,.jsx,.ts,.tsx
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingrepo maintenancethings to do with maintenance of the repo, and not with code/docs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions