Skip to content

Conversation

danorlando
Copy link
Collaborator

This adds a pre-commit hook that formats the files before they are committed. This also reformats files in the repo according to the new prettierrc config.

The .eslintrc.js that is now in place will complain about rules that are broken in each file that gets committed, so we will need to resolve any issues with the files that have been changed in order to commit them.

@danny-avila danny-avila merged commit 7fdc862 into main May 18, 2023
@danny-avila danny-avila deleted the build/add-lint-precommit-hook-reformat-repo branch May 18, 2023 18:09
danorlando added a commit to danorlando/librechat that referenced this pull request Jun 1, 2023
…-avila#314)

* build/refactor: move lint/prettier packages to project root, install husky, add pre-commit hook

* refactor: reformat files

* build: put full eslintrc back with all rules
cnkang pushed a commit to cnkang/LibreChat that referenced this pull request Feb 6, 2024
…-avila#314)

* build/refactor: move lint/prettier packages to project root, install husky, add pre-commit hook

* refactor: reformat files

* build: put full eslintrc back with all rules
jinzishuai pushed a commit to aitok-ai/LibreChat that referenced this pull request May 20, 2024
…-avila#314)

* build/refactor: move lint/prettier packages to project root, install husky, add pre-commit hook

* refactor: reformat files

* build: put full eslintrc back with all rules
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