Skip to content

Add prettier to repo #223

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

Merged
merged 1 commit into from
Apr 21, 2025
Merged

Add prettier to repo #223

merged 1 commit into from
Apr 21, 2025

Conversation

tstirrat15
Copy link
Contributor

Description

I noticed while working on #222 that we don't have formatting for this repo. This fixes that.

Changes

  • Add prettier to repo
  • Add prettierignore to ignore all generated code
  • Run prettier over other files
  • Add prettier to lint steps

Testing

Review. See that everything passes.

@tstirrat15 tstirrat15 requested a review from a team as a code owner April 21, 2025 16:24
Copy link
Contributor Author

@tstirrat15 tstirrat15 left a comment

Choose a reason for hiding this comment

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

See comments

Comment on lines +51 to +52
- name: Run prettier
run: "CI=true yarn run prettier src -c"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the CI configuration

@@ -0,0 +1 @@
src/authzedapi
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ignores generated code

@tstirrat15 tstirrat15 merged commit 47ced02 into main Apr 21, 2025
11 checks passed
@tstirrat15 tstirrat15 deleted the add-prettier-to-repo branch April 21, 2025 16:35
@github-actions github-actions bot locked and limited conversation to collaborators Apr 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants