Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore/fix eslint #733

Merged
merged 3 commits into from
Oct 28, 2024
Merged

Chore/fix eslint #733

merged 3 commits into from
Oct 28, 2024

Conversation

TheDivic
Copy link
Collaborator

📖 Context

Type of change

  • Non-breaking change (backwards compatible)

Why are we doing this?

  • Old ESLint config was semi-broken, outdated and irrelevant.

What did we do?

A very scary 😱 PR that updates the eslint config and many, many source files in our codebase. There's no behavior change, just style.

How Has This Been Tested?

  • Compiles
  • yarn eslint reports no errors
  • The service runs

👀 How do I review this?

  • You don't, it's huge. We have to test it on staging.

Also use a new config

BREAKING CHANGE: The whole codebase has to be reformatted
Old eslint config was deprecated, broken and irrelevant. Fix it, and update all of the files in the
repo.

BREAKING CHANGE: This is a scary huge commit, but it's mostly styling etc. Should be tested on
staging
@TheDivic TheDivic added the 🧹 Chore Catch-all label for all boring tasks that can't be classified into any other category label Oct 25, 2024
@TheDivic TheDivic self-assigned this Oct 25, 2024
@@ -1,4 +1,2 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn run format
Copy link
Collaborator

Choose a reason for hiding this comment

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

This means commits will no longer be auto-formatted?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Had to disable it for now, as soon as I merge this PR I'll re-enable it

@TheDivic TheDivic merged commit 4f4d4e0 into master Oct 28, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧹 Chore Catch-all label for all boring tasks that can't be classified into any other category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants