Sync .pre-commit-config.yaml
from this repo
#316
Labels
🤖 aspect: dx
Concerns developers' experience with the codebase
✨ goal: improvement
Improvement to an existing user-facing feature
good first issue
New-contributor friendly
help wanted
Open to participation from the community
🟩 priority: low
Low priority and doesn't need to be rushed
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: