Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd265079

Browse files
fix: add explicit TypeScript parser to prevent XML plugin conflicts (#125)
* fix: ensure prettier recognizes .ts files due to a bug in prettier 3.6.* / @prettier/plugin-xml* different fix---------Co-authored-by: Zamiell <5511220+Zamiell@users.noreply.github.com>
1 parent3024efc commitd265079

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

‎packages/isaacscript-cli/file-templates/static-mod/prettier.config.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ const config = {
88
plugins:[
99
"prettier-plugin-organize-imports",// Prettier does not format imports by default.
1010
"prettier-plugin-packagejson",// Prettier does not format "package.json" by default.
11-
"@prettier/plugin-xml",// Prettier does not format XML files by default.
11+
// TODO: This plugin is bugged with the latest version of Prettier and tries to format
12+
// TypeScript files as XML files.
13+
/// "@prettier/plugin-xml", // Prettier does not format XML files by default.
1214
],
1315

1416
overrides:[

‎prettier.config.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ const config = {
88
plugins:[
99
"prettier-plugin-organize-imports",// Prettier does not format imports by default.
1010
"prettier-plugin-packagejson",// Prettier does not format "package.json" by default.
11-
"@prettier/plugin-xml",// Prettier does not format XML files by default.
11+
// TODO: This plugin is bugged with the latest version of Prettier and tries to format
12+
// TypeScript files as XML files.
13+
/// "@prettier/plugin-xml", // Prettier does not format XML files by default.
1214
],
1315

1416
overrides:[

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp