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
/app/javascript/mastodon/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:
filename: packs/home.js
preload:
- flavours/glitch/async/compose
- flavours/glitch/async/getting_started
- flavours/glitch/async/home_timeline
- flavours/glitch/async/notifications
- flavours/glitch/async/compose
- flavours/glitch/async/getting_started
- flavours/glitch/async/home_timeline
- flavours/glitch/async/notifications
mailer:
modal:
public: packs/public.js

View file

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

View file

@ -8,7 +8,10 @@ data:
- config/locales-glitch/*.%{locale}.yml
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
external: