github-community-projects / private-mirrors

A GitHub App that allows you to contribute upstream using private mirrors of public projects
MIT License
119 stars 12 forks source link

feat: add stricter eslint rules for typescript #163

Closed ajhenry closed 2 months ago

ajhenry commented 2 months ago

Pull Request

Proposed Changes

While we were pairing on https://github.com/github-community-projects/internal-contribution-forks/pull/162, we found that we didn't add an await keyword to the function running the auth check. To prevent this from happening in the future, I added stricter eslint rules for typescript

This also fixes all the problems that arise from the addition of these rules. In general, we're looking pretty good 🥨

Readiness Checklist

Author/Contributor

Reviewer

ajhenry commented 2 months ago

@zkoppert luckily next comes with eslint support 😄