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
This commit is contained in:
Claire 2023-01-04 18:38:45 +01:00 committed by GitHub
parent 910d2d9f6b
commit cba7158085
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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

@ -12,10 +12,10 @@ pack:
home: home:
filename: packs/home.js filename: packs/home.js
preload: preload:
- flavours/glitch/async/compose - flavours/glitch/async/compose
- flavours/glitch/async/getting_started - flavours/glitch/async/getting_started
- flavours/glitch/async/home_timeline - flavours/glitch/async/home_timeline
- flavours/glitch/async/notifications - flavours/glitch/async/notifications
mailer: mailer:
modal: modal:
public: packs/public.js public: packs/public.js

View File

@ -12,10 +12,10 @@ pack:
home: home:
filename: application.js filename: application.js
preload: preload:
- features/getting_started - features/getting_started
- features/compose - features/compose
- features/home_timeline - features/home_timeline
- features/notifications - features/notifications
mailer: mailer:
modal: modal:
public: public.js public: public.js

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: