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

Add Prettier to the repo, and format all the files! #428

Merged
merged 2 commits into from Nov 10, 2023

Conversation

emma-sg
Copy link
Member

@emma-sg emma-sg commented Nov 8, 2023

This adds prettier to the repo, and sets up the pre-commit hook to auto-format as well as lint.

Should be merged after #425.

@emma-sg emma-sg requested a review from ikreymer November 8, 2023 21:45
@emma-sg emma-sg self-assigned this Nov 8, 2023
@ikreymer
Copy link
Member

ikreymer commented Nov 9, 2023

@emma-sg might be easier to redo the prettier past off dev-1.0.0 to avoid the conflicts?

@emma-sg
Copy link
Member Author

emma-sg commented Nov 9, 2023

Yeah probably!

add formatting step to precommit hook
@emma-sg emma-sg force-pushed the recorder-work-ts--typescript-eslint branch from e5b0813 to 22502b1 Compare November 9, 2023 19:46
@emma-sg
Copy link
Member Author

emma-sg commented Nov 9, 2023

@ikreymer rebased! Waiting on builds but would appreciate a review

@ikreymer
Copy link
Member

ikreymer commented Nov 9, 2023

Thanks for the rebase!

only thought what if we specified the directories explicitly for prettier src/ tests/ and eslint src/ tests/ instead of prettier . and eslint .?
Have a bunch of other files, and also crawls go into the same directory, so may be easier rather than adding ignores?

package.json Show resolved Hide resolved
@ikreymer ikreymer merged commit 2a49406 into dev-1.0.0 Nov 10, 2023
4 checks passed
@ikreymer ikreymer deleted the recorder-work-ts--typescript-eslint branch November 10, 2023 00:11
@ikreymer
Copy link
Member

ack, will add updates to ignore files in separate PR.

ikreymer added a commit that referenced this pull request Nov 10, 2023
- actually update lint/prettier/git ignore files with scatch, crawls, test-crawls, behaviors, as needed
ikreymer added a commit that referenced this pull request Nov 10, 2023
- actually update lint/prettier/git ignore files with scatch, crawls, test-crawls, behaviors, as needed
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.

None yet

2 participants