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

Enforce consistent code formatting #64

Merged
merged 3 commits into from
Oct 1, 2024
Merged

Conversation

mkacmar
Copy link
Collaborator

@mkacmar mkacmar commented Oct 1, 2024

This PR introduces https://prettier.io/ to format code consistently. I've used the default config except for line width (set to 100 instead of 80), the default was a bit too aggressive on splitting up some of our longer lines (e.g. ESQuery ones in rule definitions).

@mkacmar mkacmar requested a review from a team October 1, 2024 10:49
Copy link

@lukaskohl-msft lukaskohl-msft left a comment

Choose a reason for hiding this comment

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

LGTM. Formatting & Github Actions Formatter 👍

@mkacmar mkacmar merged commit 8c106fe into main Oct 1, 2024
10 checks passed
@mkacmar mkacmar deleted the dev/mkacmar/code-formatting branch October 1, 2024 14:46
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