Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

🔄 Synced file(s) with WordPress/openverse (#2054)

Openverse (Bot)6bc3db23ebfb
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 8a10d6f2d..e839a08ad 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -12,9 +12,7 @@ repos:
name: i18n
# Check if the i18n files have been downloaded by checking if the Arabic translation exists
# Download the i18n files if they do not exist
- entry:
- bash -c 'if [ ! -f "$(dirname "$dir")"/src/locales/ar.json ]; then
- pnpm i18n; fi'
+ entry: bash -c 'if [ ! -f "$(dirname "$dir")"/src/locales/ar.json ]; then pnpm i18n; fi'
language: system
pass_filenames: false
diff --git a/prettier.config.js b/prettier.config.js
index 1ee977803..259f8ea4c 100644
--- a/prettier.config.js
+++ b/prettier.config.js
@@ -11,7 +11,7 @@ module.exports = {
proseWrap: "always",
overrides: [
{
- files: "*.yml",
+ files: ["*.yml", "*.yaml"],
options: {
proseWrap: "preserve",
},