Fix prettifier/lint issues (#2066)

* Add glitch-soc locale files to prettierignore

* Run prettier on theme.yml

* Add glitch-soc emoji_map.json to .prettierignore

* Run prettier on config/i18n-tasks.yml
lolsob-rspec
Claire 2023-01-04 18:38:45 +01:00 committed by GitHub
parent 66d84db53a
commit 71a3c1cb28
4 changed files with 19 additions and 9 deletions

View File

@ -70,3 +70,10 @@ docker-compose.override.yml
# Ignore locale files # Ignore locale files
/app/javascript/mastodon/locales /app/javascript/mastodon/locales
/config/locales /config/locales
# Ignore glitch-soc locale files
/app/javascript/flavours/glitch/locales
/config/locales-glitch
# Ignore glitch-soc emoji map file
/app/javascript/flavours/glitch/features/emoji/emoji_map.json

View File

@ -8,7 +8,10 @@ data:
- config/locales-glitch/*.%{locale}.yml - config/locales-glitch/*.%{locale}.yml
write: write:
- ['{devise, simple_form, doorkeeper}.*', 'config/locales-glitch/\1.%{locale}.yml'] - [
'{devise, simple_form, doorkeeper}.*',
'config/locales-glitch/\1.%{locale}.yml',
]
- config/locales-glitch/%{locale}.yml - config/locales-glitch/%{locale}.yml
external: external: