From 922f6691913a56dc8dff095e8cfeb21de8d73670 Mon Sep 17 00:00:00 2001 From: uduki Date: Wed, 14 Oct 2026 17:00:27 +0900 Subject: [PATCH] =?UTF-8?q?style:=20.editorconfig=20=E3=81=AE=E8=BF=BD?= =?UTF-8?q?=E5=8A=A0=E3=81=8A=E3=82=88=E3=81=B3=E5=85=A8=E3=83=95=E3=82=A1?= =?UTF-8?q?=E3=82=A4=E3=83=AB=E3=81=AE=E3=82=A8=E3=83=B3=E3=82=B3=E3=83=BC?= =?UTF-8?q?=E3=83=87=E3=82=A3=E3=83=B3=E3=82=B0(UTF-8=20BOM)=E3=83=BBCRLF?= =?UTF-8?q?=E3=83=BB=E8=A1=8C=E6=9C=AB=E7=A9=BA=E7=99=BD=E3=81=AE=E7=B5=B1?= =?UTF-8?q?=E4=B8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .editorconfig | 28 +++++++++++++++++++ .gitignore | 2 +- AGENTS.md | 2 +- AddKeyDialog.xaml | 2 +- AddKeyDialog.xaml.cs | 2 +- App.xaml | 4 +-- App.xaml.cs | 6 ++-- Config.tjs | 2 +- ConfigDialog.xaml | 24 ++++++++-------- ConfigDialog.xaml.cs | 2 +- Engines/Common/EngineDetectionHelper.cs | 2 +- Engines/Common/IEngineModule.cs | 2 +- Engines/Evb/EvbEngineModule.cs | 2 +- Engines/Evb/EvbUnpackService.cs | 2 +- Engines/Evb/EvbUnpackerToolProvider.cs | 2 +- Engines/Evb/Tools/evbunpack/LICENSE | 2 +- Engines/Evb/Tools/evbunpack/README.md | 2 +- Engines/Nwjs/AsarArchiveService.cs | 6 ++-- .../IiniTitleRepair/GameIniTitleRepair.cs | 2 +- Engines/Rgss/RgssModService.cs | 4 +-- Engines/Tkool/TkoolResourceRepairService.cs | 2 +- Engines/Tyrano/TyranoModService.cs | 2 +- Engines/Unity/UnityEnums.cs | 2 +- GameLauncher.csproj | 2 +- GameLauncher.slnx | 2 +- Helpers/AppPathHelper.cs | 2 +- Helpers/Converters.cs | 2 +- MainWindow.xaml.cs | 2 +- Models/LauncherConfig.cs | 2 +- Models/ModPluginDefinition.cs | 2 +- Models/SaveDataPropertyEntry.cs | 2 +- README.md | 2 +- SaveEditorWindow.xaml | 6 ++-- SaveEditorWindow.xaml.cs | 2 +- Services/WindowResizeService.cs | 2 +- WolfSaveEditorDialog.xaml | 4 +-- WolfSaveEditorDialog.xaml.cs | 2 +- plugins/AlwaysMaxHp.js | 2 +- plugins/AlwaysMaxMp.js | 2 +- plugins/BattleSpeedUp.js | 27 +++++++++--------- plugins/BattleTurnRecoverHp.js | 3 +- plugins/BattleTurnRecoverMp.js | 3 +- plugins/BattleTurnRecoverTp.js | 3 +- plugins/DashSpeedUp.js | 2 +- plugins/ExpGainMax.js | 2 +- plugins/GoldGainMax.js | 2 +- plugins/ItemGainMax.js | 2 +- plugins/ItemNoConsume.js | 2 +- plugins/MessageInstant.js | 2 +- plugins/ShopMaxBuy.js | 2 +- publish.ps1 | 2 +- 51 files changed, 110 insertions(+), 86 deletions(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..55c8c20 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,28 @@ +root = true + +[*] +charset = utf-8-bom +end_of_line = crlf +indent_style = space +indent_size = 4 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.cs] +# this. の明示 +dotnet_style_qualification_for_field = true:suggestion +dotnet_style_qualification_for_property = true:suggestion +dotnet_style_qualification_for_method = true:suggestion +dotnet_style_qualification_for_event = true:suggestion + +# 改行・波括弧スタイル +csharp_new_line_before_open_brace = all +csharp_new_line_before_else = true +csharp_new_line_before_catch = true +csharp_new_line_before_finally = true + +# 空白スタイル +csharp_space_after_cast = false +csharp_space_after_keywords_in_control_flow_statements = true +csharp_space_between_method_call_parameter_list_parentheses = false +csharp_space_between_method_declaration_parameter_list_parentheses = false diff --git a/.gitignore b/.gitignore index a6793de..5c5671c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -## Visual Studio 2026 / .NET .gitignore +## Visual Studio 2026 / .NET .gitignore [Bb]in/ [Oo]bj/ [Ll]og/ diff --git a/AGENTS.md b/AGENTS.md index 2a3609a..1784604 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,4 +1,4 @@ -# AGENTS.md — GameLauncher エージェント規則 +# AGENTS.md — GameLauncher エージェント規則 このファイルは **GameLauncher プロジェクトの AI エージェント向け規則** である。 本プロジェクトでのすべての変更(コード追加・修正・削除・発行)は、必ず以下の規則に従って実施すること。 diff --git a/AddKeyDialog.xaml b/AddKeyDialog.xaml index fbfdab9..7a9d4be 100644 --- a/AddKeyDialog.xaml +++ b/AddKeyDialog.xaml @@ -1,4 +1,4 @@ - - + diff --git a/App.xaml.cs b/App.xaml.cs index 2284df1..b1630c5 100644 --- a/App.xaml.cs +++ b/App.xaml.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using System.Windows; using GameLauncher.Helpers; @@ -25,7 +25,7 @@ namespace GameLauncher { var ex = args.Exception; LogError("DispatcherUnhandledException", ex); - MessageBox.Show($"アプリケーションエラーが発生しました:\n\n{ex.Message}\n\n詳細:\n{ex}", + MessageBox.Show($"アプリケーションエラーが発生しました:\n\n{ex.Message}\n\n詳細:\n{ex}", "GameLauncher エラー", MessageBoxButton.OK, MessageBoxImage.Error); args.Handled = true; }; @@ -35,7 +35,7 @@ namespace GameLauncher if (args.ExceptionObject is Exception ex) { LogError("AppDomain.UnhandledException", ex); - MessageBox.Show($"致命的なエラーが発生しました:\n\n{ex.Message}\n\n詳細:\n{ex}", + MessageBox.Show($"致命的なエラーが発生しました:\n\n{ex.Message}\n\n詳細:\n{ex}", "GameLauncher 致命的エラー", MessageBoxButton.OK, MessageBoxImage.Error); } }; diff --git a/Config.tjs b/Config.tjs index 0922815..187233d 100644 --- a/Config.tjs +++ b/Config.tjs @@ -1,4 +1,4 @@ -//ティラノビルダーによる自動ビルド  +//ティラノビルダーによる自動ビルド ;debugMenu.visible=false ;configSave=file ;global.config_version=5.00 diff --git a/ConfigDialog.xaml b/ConfigDialog.xaml index 7e7eceb..97b8924 100644 --- a/ConfigDialog.xaml +++ b/ConfigDialog.xaml @@ -1,7 +1,7 @@ - - @@ -86,7 +86,7 @@ - -