Skip to content

feat: single eslint config#1629

Draft
Julusian wants to merge 9 commits intomainfrom
feat/single-eslint
Draft

feat: single eslint config#1629
Julusian wants to merge 9 commits intomainfrom
feat/single-eslint

Conversation

@Julusian
Copy link
Member

@Julusian Julusian commented Feb 3, 2026

About the Contributor

This pull request is posted on behalf of Superfly

Type of Contribution

This is a: Code improvement

This continues on from #1597

New Behavior

Instead of having separate eslint configurations for each package, and invoking them separately, this converts the config into a single combined config.

This has the benefit of presenting all the linter issues at once instead of the lint running stopping at the first package with a failure.

It is still possible to lint just a single package at a time, they have retained a script which will do exactly that.

Additionally, this extends the tsconfig so that the yarn watch command inside the packages folder will type check unit tests. Due to our split tsconfig structure, this has been missing for a while.
This is achieved by adding a new tsconfig which runs for all test files.
As a follow up, I intend to merge the tsconfig.build.json and tsconfig.json files, in each package, but to do that requires reconfiguring jest (or swapping jest for vitest).

The CI workflows have been adjusted to invoke the linter once for all the packages, instead of running each package individually. I do not know if this is best or if we prefer it as multiple jobs, but I expect this to be faster overall and reduces the very long list of jobs we currently have

Testing

  • I have added one or more unit tests for this PR
  • I have updated the relevant unit tests
  • No unit test changes are needed for this PR

Affected areas

Time Frame

Other Information

Status

  • PR is ready to be reviewed.
  • The functionality has been tested by the author.
  • Relevant unit tests has been added / updated.
  • Relevant documentation (code comments, system documentation) has been added / updated.

@coderabbitai
Copy link

coderabbitai bot commented Feb 3, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/single-eslint

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov
Copy link

codecov bot commented Feb 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 3, 2026

@PeterC89 PeterC89 changed the base branch from release53 to main February 4, 2026 12:39
@Julusian Julusian added the Contribution from SuperFly.tv Contributions sponsored by SuperFly.tv label Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Contribution from SuperFly.tv Contributions sponsored by SuperFly.tv

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant