Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Markdown files with Prettier and check in CI #21972

Merged
merged 1 commit into from Feb 20, 2023

Conversation

nschonni
Copy link
Contributor

@nschonni nschonni commented Dec 3, 2022

Adds the Markdown extension to the existing Prettier calls so they will be formatted and checked by CI.
I skipped the AUTHORS.md since the format of the translators locales reformatting seems to trip it up a bit.

@nschonni nschonni marked this pull request as draft December 3, 2022 03:42
@nschonni nschonni marked this pull request as ready for review February 11, 2023 20:58
@nschonni
Copy link
Contributor Author

I had tried to include the AUTHORS.md file before, but I think that is what stalled me out. Went back to this to add the CI again and unblock it from landing.
Trying to find all the various files and ignores to get a clean run of prettier -c . instead of the current file path filters seperately

@github-actions
Copy link
Contributor

This pull request has merge conflicts that must be resolved before it can be merged.

@github-actions
Copy link
Contributor

This pull request has merge conflicts that must be resolved before it can be merged.

@nschonni
Copy link
Contributor Author

@ClearlyClaire is this OK updating the Changelog.md? With #23308 it would autofix it on commit anyway, if it's a generated file

@Gargron Gargron merged commit a9472f8 into mastodon:main Feb 20, 2023
12 checks passed
@nschonni nschonni deleted the prettier-md branch February 20, 2023 06:38
@ClearlyClaire
Copy link
Contributor

@ClearlyClaire is this OK updating the Changelog.md? With #23308 it would autofix it on commit anyway, if it's a generated file

(it's not a generated file)

Lamparter referenced this pull request in RiversideValley/Plaza Feb 21, 2023
* Autofix Rubocop Style/EmptyMethod (#23732)

* Autofix Rubocop Rails/RedundantForeignKey (#23731)

* Autofix Rubocop Rails/Pluck (#23730)

* Autofix Rubocop RSpec/ReturnFromStub (#23724)

* Enable Rubocop RSpec/NotToNot (#23723)

* Autofix Rubocop Lint/UnusedBlockArgument (#23712)

* Autofix Rubocop RSpec/EmptyLineAfterSubject (#23719)

* Enable Rubocop HTTP status rules (#23717)

* Autofix Rubocops RSpec/ScatteredLet (#23725)

* Autofix Rubocop Style/ExplicitBlockArgument (#23704)

* Rename JSX files with proper `.jsx` extension (#23733)

* Autofix Rubocop Rails/EnumHash (#23737)

* Autofix Rubocop RSpec/ImplicitSubject (#23721)

* Enable Rubocop RSpec/ExpectActual (#23720)

* Autofix Rubocop RSpec/LeadingSubject (#23670)

* Audofix Rubocop Style/WordArray (#23739)

* Autofix Rubocop RSpec/BeEq (#23740)

* Autofix Rubocop Style/UnpackFirst (#23741)

* Autofix Rubocop remaining Layout rules (#23679)

* Fix Markdown files with Prettier and check in CI (#21972)

* Autofix Rubocop Style/FormatString (#23743)

* Autofix Rubocop Style/SymbolProc (#23742)

* Make larger part of status clickable (#23621)

* Delete CHANGELOG.md

* Delete CONTRIBUTING.md

* Delete compose_form.jsx

* Create compose_form.jsx

---------

Co-authored-by: Nick Schonning <nschonni@gmail.com>
Co-authored-by: Renaud Chaput <renchap@gmail.com>
Co-authored-by: Christian Schmidt <github@chsc.dk>
Lamparter referenced this pull request in RiversideValley/Plaza Feb 21, 2023
* Autofix Rubocop Style/EmptyMethod (#23732)

* Autofix Rubocop Rails/RedundantForeignKey (#23731)

* Autofix Rubocop Rails/Pluck (#23730)

* Autofix Rubocop RSpec/ReturnFromStub (#23724)

* Enable Rubocop RSpec/NotToNot (#23723)

* Autofix Rubocop Lint/UnusedBlockArgument (#23712)

* Autofix Rubocop RSpec/EmptyLineAfterSubject (#23719)

* Enable Rubocop HTTP status rules (#23717)

* Autofix Rubocops RSpec/ScatteredLet (#23725)

* Autofix Rubocop Style/ExplicitBlockArgument (#23704)

* Rename JSX files with proper `.jsx` extension (#23733)

* Autofix Rubocop Rails/EnumHash (#23737)

* Autofix Rubocop RSpec/ImplicitSubject (#23721)

* Enable Rubocop RSpec/ExpectActual (#23720)

* Autofix Rubocop RSpec/LeadingSubject (#23670)

* Audofix Rubocop Style/WordArray (#23739)

* Autofix Rubocop RSpec/BeEq (#23740)

* Autofix Rubocop Style/UnpackFirst (#23741)

* Autofix Rubocop remaining Layout rules (#23679)

* Fix Markdown files with Prettier and check in CI (#21972)

* Autofix Rubocop Style/FormatString (#23743)

* Autofix Rubocop Style/SymbolProc (#23742)

* Make larger part of status clickable (#23621)

* Autofix Rubocop Style/RescueStandardError (#23745)

* Update rebase needed job settings (#23746)

* Change compose form checkbox to native input with `appearance: none` (#22949)

* Autofix Rubocop Rails/WhereEquals (#23759)

* Autofix Rubocop Security/IoMethods (#23757)

* Autofix Rubocop Rails/FindById (#23762)

* Add `lang` tag to native language names in language picker (#23749)

* Bump capistrano from 3.17.1 to 3.17.2 (#23775)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump sass from 1.58.2 to 1.58.3 (#23772)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump blurhash from 2.0.4 to 2.0.5 (#23771)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump stylelint from 15.1.0 to 15.2.0 (#23770)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix sidebar cut-off on small screens in admin UI (#23764)

* Bump devise from 4.8.1 to 4.9.0 (#23691)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @babel/runtime from 7.20.13 to 7.21.0 (#23773)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @babel/core from 7.20.12 to 7.21.0 (#23767)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @babel/plugin-transform-runtime from 7.19.6 to 7.21.0 (#23774)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @babel/plugin-transform-react-inline-elements from 7.18.6 to 7.21.0 (#23766)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @babel/plugin-proposal-decorators from 7.20.13 to 7.21.0 (#23769)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Delete CHANGELOG.md

* Delete CONTRIBUTING.md

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Nick Schonning <nschonni@gmail.com>
Co-authored-by: Renaud Chaput <renchap@gmail.com>
Co-authored-by: Christian Schmidt <github@chsc.dk>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Botao Wang <wxt2005@gmail.com>
btrd pushed a commit to btrd/mastodon that referenced this pull request Feb 22, 2023
skerit pushed a commit to 11ways/mastodon that referenced this pull request Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants