feat: consistently format all HTML, XML, JSON, CSS, JS, TS, SQL, TOML, YAML, and Markdown files as far as possible (#4193)

* feat: consistently format all HTML, XML, JSON, CSS, JS, TS, SQL, TOML, YAML, and Markdown files

* chore: deal with VS Code not being able to parse valid editorconfig syntax

Sometimes I'm surprised that computers even work.

* chore: get rid of IntelliJ IDE config files that should not be there

These were already added to the `.gitignore` a long time ago, and now
are being ignored by Prettier.

* fix: rename `tooling-config` `format` script to `fix` for it to run with Turbo
This commit is contained in:
Alejandro González
2025-08-16 19:40:31 +02:00
committed by GitHub
parent 6f59f4c110
commit 1454e3351e
130 changed files with 7959 additions and 7618 deletions

View File

@@ -27,4 +27,4 @@ export const html = `<p>After months of relatively quiet development, Modrinth h
new ModDependency('P7dR8mSH', 'required') // Creates a new required dependency on Fabric API
]
}
</code></pre><p>Notice how it's now in a <code>modrinth {...}</code> block instead of creating a new task. The <code>modrinth</code> task is automatically created.</p><p>The <code>loaders</code> declaration in the new version isn't even needed if you're using Fabric Loom or ForgeGradle. The project version can be detected automatically, and the token uses the <code>MODRINTH_TOKEN</code> environment variable by default now. The game version and loader listings actually make sense now, and dependencies are possible!</p><h2>More miscellanea</h2><p>Along with the major headlining features, there are also a number of smaller features, fixes, and improvements coming with the big update. Most of these need no more than a bullet to describe, so here's a bullet list of the smaller things!</p><ul><li>If you are the owner of a project, you can now transfer the ownership to another user, as long as they have already accepted an invitation to be a member. In the frontend, this can be done on the Settings page, under the &quot;Team members&quot; section.</li><li>iframes for YouTube videos are now allowed. Any iframes from elsewhere are still not allowed.</li><li>Files are now validated to ensure they contain a valid Forge or Fabric mod, or are in the correct modpack format.</li><li>When changing the status of a project, file moderators are now able to add a message (heading and body separate) to be seen by project team members.</li><li>Versions must now always have a file attached.</li><li>Projects will only be able to have <code>draft</code> status if they contain no versions. Additionally, a new <code>archived</code> status has been added.</li><li>Donation URLs have been re-enabled.</li><li>Fix: Markdown checkboxes will no longer render strangely (<a href="https://github.com/modrinth/knossos/pull/291" rel="noopener nofollow ugc">knossos#291</a>)</li><li>Fix: <a href="https://docs.modrinth.com/docs/tutorials/maven/" rel="noopener nofollow ugc">Maven</a> will no longer randomly break (<a href="https://github.com/modrinth/labrinth/pull/264" rel="noopener nofollow ugc">labrinth#264</a> and <a href="https://github.com/modrinth/labrinth/pull/252" rel="noopener nofollow ugc">labrinth#252</a>)</li><li>...and many other smaller things!</li></ul><h2>What happened to modpacks?</h2><p>We've been teasing modpacks for a long time now. While they're done for the most part, we've decided to hold back on their release for the time being. We're working hard to get those done some time soon, and there'll be another post when those are ready for general consumption.</p><h2>Conclusion and a call for developers</h2><p>In conclusion, we hope that you're excited about this update as much as we are. We believe that, with how much work has been put into this update, it has definitely been worth the wait.</p><p>On a separate note, are you looking to contribute to Modrinth? Have you got experience with Rust or Svelte? We're hiring! Please reach out to <code>Geometrically#8387</code> on Discord to apply for a position.</p><p>Thank you for reading, and may your dreams be filled with pineapples, tiny potatoes, and squirrels.</p>`
</code></pre><p>Notice how it's now in a <code>modrinth {...}</code> block instead of creating a new task. The <code>modrinth</code> task is automatically created.</p><p>The <code>loaders</code> declaration in the new version isn't even needed if you're using Fabric Loom or ForgeGradle. The project version can be detected automatically, and the token uses the <code>MODRINTH_TOKEN</code> environment variable by default now. The game version and loader listings actually make sense now, and dependencies are possible!</p><h2>More miscellanea</h2><p>Along with the major headlining features, there are also a number of smaller features, fixes, and improvements coming with the big update. Most of these need no more than a bullet to describe, so here's a bullet list of the smaller things!</p><ul><li>If you are the owner of a project, you can now transfer the ownership to another user, as long as they have already accepted an invitation to be a member. In the frontend, this can be done on the Settings page, under the &quot;Team members&quot; section.</li><li>iframes for YouTube videos are now allowed. Any iframes from elsewhere are still not allowed.</li><li>Files are now validated to ensure they contain a valid Forge or Fabric mod, or are in the correct modpack format.</li><li>When changing the status of a project, file moderators are now able to add a message (heading and body separate) to be seen by project team members.</li><li>Versions must now always have a file attached.</li><li>Projects will only be able to have <code>draft</code> status if they contain no versions. Additionally, a new <code>archived</code> status has been added.</li><li>Donation URLs have been re-enabled.</li><li>Fix: Markdown checkboxes will no longer render strangely (<a href="https://github.com/modrinth/knossos/pull/291" rel="noopener nofollow ugc">knossos#291</a>)</li><li>Fix: <a href="https://docs.modrinth.com/docs/tutorials/maven/" rel="noopener nofollow ugc">Maven</a> will no longer randomly break (<a href="https://github.com/modrinth/labrinth/pull/264" rel="noopener nofollow ugc">labrinth#264</a> and <a href="https://github.com/modrinth/labrinth/pull/252" rel="noopener nofollow ugc">labrinth#252</a>)</li><li>...and many other smaller things!</li></ul><h2>What happened to modpacks?</h2><p>We've been teasing modpacks for a long time now. While they're done for the most part, we've decided to hold back on their release for the time being. We're working hard to get those done some time soon, and there'll be another post when those are ready for general consumption.</p><h2>Conclusion and a call for developers</h2><p>In conclusion, we hope that you're excited about this update as much as we are. We believe that, with how much work has been put into this update, it has definitely been worth the wait.</p><p>On a separate note, are you looking to contribute to Modrinth? Have you got experience with Rust or Svelte? We're hiring! Please reach out to <code>Geometrically#8387</code> on Discord to apply for a position.</p><p>Thank you for reading, and may your dreams be filled with pineapples, tiny potatoes, and squirrels.</p>`;