-
Notifications
You must be signed in to change notification settings - Fork 219
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
Sync .pre-commit-config.yaml
from this repo
#316
Comments
My only concern with this is that we have a number of non-trivial differences between various pre-commit configs, and some configs which are repo-specific. It would be cool if we could use the same mechanism as the |
Related to #317. |
@AetherUnbound I've opened a PR BetaHuhn/repo-file-sync-action#271 for the sync action to support Jinja-style templates. Although it's not 100% what you suggested here, but it'll open a whole slew of possibilities for us to sync even more content centrally! |
Wow! That's incredible 🤩 |
* Make search and filter store namespaced When merging a query, it is impossible to unset a parameter value, so query replacement was added Use map helpers and address code review changes Apply suggestions from code review Co-authored-by: Krystle Salazar <[email protected]>
Problem
All our repos now use pre-commit for linting but they are all still using their own
.pre-commit-config.yaml
files with slightly different hooks and configurations.Description
Centralising the
.pre-commit-config.yaml
file (and related files like ESLint and Prettier configs) will help us to ensure a consistent code style across all our repos and make it easier to keep them in sync as styles evolve.Additional context
We already sync a number of other files (notably GitHub actions) from this repo to all the others so there is a precedent for doing this.
References
You can see the current sync code at https://github.com/WordPress/openverse/blob/7c2e6c3724482413688a96ed955440c57d8f61c3/.github/sync.yml.
The text was updated successfully, but these errors were encountered: