wagtail / wagtail-localize

Translation plugin for Wagtail CMS
https://wagtail-localize.org/
Other
222 stars 84 forks source link

Pre-commit checks have warnings and change .github/workflows/test.yml #693

Closed PeteCoward closed 11 months ago

PeteCoward commented 1 year ago

Trying to set up a development environment I ran into the following warnings when running the prettier check. This was from following the contributing advice and running pre-commit run --all-files

[warn] Ignored unknown option --ignore-unknown=docs/index.md.
[warn] Ignored unknown option --ignore-unknown=wagtail_localize/static_src/main.tsx.
[warn] Ignored unknown option --ignore-unknown=webpack.config.js.
[warn] Ignored unknown option --ignore-unknown=wagtail_localize/static_src/editor/components/TranslationEditor/footer.tsx.
[warn] Ignored unknown option --ignore-unknown=mkdocs.yml.
.github/workflows/test.yml
[warn] Ignored unknown option --ignore-unknown=wagtail_localize/static_src/editor/components/TranslationEditor/index.tsx.
[warn] Ignored unknown option --ignore-unknown=docs/ref/segments/ingest.md.
[warn] Ignored unknown option --ignore-unknown=wagtail_localize/static_src/common/components/ImageChooser/index.tsx.
[warn] Ignored unknown option --ignore-unknown=wagtail_localize/static_src/common/components/Avatar/index.tsx.

It also resulted in the diff to .github/workflows/test.yml, changing double quotes to single quotes.

zerolab commented 11 months ago

Fixed by #694