Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
6ba7d48
feat: add new rule for .editorconfig
louis1706 May 10, 2026
3d7ffd6
Merge branch 'dev' into 'feat-add-new-rule-for-.editorconfig'
louis1706 May 10, 2026
bf63468
remove resharper specific
louis1706 May 10, 2026
37dba83
stylecop is happy life :3
louis1706 May 10, 2026
a7e9435
using change
louis1706 May 10, 2026
f26a960
fix compile error
louis1706 May 10, 2026
712ce30
halfway from player i need to sleep
louis1706 May 10, 2026
badb3ed
fix: now Style code make Error like i wanted
louis1706 May 11, 2026
5ef4d83
127 Error remaining
louis1706 May 11, 2026
62ca835
98 Error remaining
louis1706 May 11, 2026
8cb9d6b
there was more error
louis1706 May 11, 2026
8edf579
Bro i finally succeed to GPT making it
louis1706 May 11, 2026
d8d40f1
fix
louis1706 May 11, 2026
cdc7d77
Update EXILED/Exiled.Events/Patches/Fixes/RoleChangedPatch.cs
louis1706 May 11, 2026
86dfba0
Update EXILED/Exiled.Events/Patches/Fixes/FixNWFlashbangDuration.cs
louis1706 May 11, 2026
0e2d8a1
more rules :3
louis1706 May 11, 2026
b6c89c1
Update SyleCopVersion
louis1706 May 11, 2026
4ef1c6b
it's finally got it right
louis1706 May 11, 2026
255a524
fix build error
louis1706 May 11, 2026
f05855d
better check
louis1706 May 11, 2026
edded1a
more ignore
louis1706 May 11, 2026
383a965
fix: Error on Debug
louis1706 May 11, 2026
8837955
fix: build error
louis1706 May 11, 2026
ef27733
useless pragma warning disable
louis1706 May 11, 2026
28be636
found a better way than warning disable
louis1706 May 11, 2026
f110b48
oups this shouldn't have been removed
louis1706 May 12, 2026
078aeda
doc: DanceType.None
louis1706 May 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
31 changes: 29 additions & 2 deletions EXILED/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,37 @@ ij_wrap_on_typing = false
csharp_style_var_for_built_in_types = false:error
csharp_style_var_when_type_is_apparent = false:error
csharp_style_var_elsewhere = false:error
dotnet_diagnostic.IDE0005.severity = warning
dotnet_diagnostic.IDE0017.severity = warning
dotnet_diagnostic.IDE0019.severity = warning
dotnet_diagnostic.IDE0031.severity = warning
dotnet_diagnostic.IDE0048.severity = warning
dotnet_diagnostic.IDE0055.severity = warning
dotnet_diagnostic.IDE0060.severity = warning
dotnet_diagnostic.IDE0074.severity = warning
dotnet_diagnostic.IDE0079.severity = warning
dotnet_diagnostic.IDE0090.severity = warning
dotnet_diagnostic.IDE0200.severity = warning
dotnet_diagnostic.IDE0350.severity = warning
dotnet_diagnostic.IDE0370.severity = warning

dotnet_diagnostic.IDE0028.severity = none
dotnet_diagnostic.IDE0034.severity = none
dotnet_diagnostic.IDE0056.severity = none
dotnet_diagnostic.IDE0057.severity = none
dotnet_diagnostic.IDE0290.severity = none
dotnet_diagnostic.IDE0300.severity = none
dotnet_diagnostic.IDE0301.severity = none
dotnet_diagnostic.IDE0302.severity = none
dotnet_diagnostic.IDE0303.severity = none
dotnet_diagnostic.IDE0304.severity = none
dotnet_diagnostic.IDE0305.severity = none
dotnet_diagnostic.IDE0306.severity = none
dotnet_diagnostic.IDE0340.severity = none

# ReSharper properties
resharper_csharp_max_line_length = 400
dotnet_sort_system_directives_first = true
dotnet_separate_import_directive_groups = true
csharp_using_directive_placement = inside_namespace

[*.properties]
ij_properties_align_group_field_declarations = false
Expand Down
3 changes: 2 additions & 1 deletion EXILED/EXILED.props
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<PublicBeta>false</PublicBeta>

<HarmonyVersion>2.4.2</HarmonyVersion>
<StyleCopVersion>1.1.118</StyleCopVersion>
<StyleCopVersion>1.2.0-beta.556</StyleCopVersion>
<SemanticVersioningVersion>2.0.2</SemanticVersioningVersion>

<Copyright>Copyright © $(Authors) 2020 - $([System.DateTime]::Now.ToString("yyyy"))</Copyright>
Expand All @@ -35,6 +35,7 @@
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<EnforceCodeStyleInBuild>True</EnforceCodeStyleInBuild>
<DebugType>Portable</DebugType>
</PropertyGroup>

Expand Down
4 changes: 2 additions & 2 deletions EXILED/Exiled.API/Enums/AmmoType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ public enum AmmoType

/// <summary>
/// 12 gauge shotgun ammo.
/// Used by <see cref="ItemType.GunShotgun"/>
/// Used by <see cref="ItemType.GunShotgun"/>.
/// </summary>
Ammo12Gauge,

/// <summary>
/// 44 Caliber Revolver Ammo
/// Used by <see cref="ItemType.GunRevolver"/>
/// Used by <see cref="ItemType.GunRevolver"/>.
/// </summary>
Ammo44Cal,
}
Expand Down
2 changes: 1 addition & 1 deletion EXILED/Exiled.API/Enums/AspectRatioType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ public enum AspectRatioType : byte
/// </summary>
Ratio32_9,
}
}
}
2 changes: 1 addition & 1 deletion EXILED/Exiled.API/Enums/CameraType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -166,4 +166,4 @@ public enum CameraType
HczLoadingBayStairwell,
#endregion
}
}
}
4 changes: 2 additions & 2 deletions EXILED/Exiled.API/Enums/DamageType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ public enum DamageType
A7,

/// <summary>
/// Damage caused by <see cref="RoleTypeId.Scp3114"/>
/// Damage caused by <see cref="RoleTypeId.Scp3114"/>.
/// </summary>
Scp3114,

Expand Down Expand Up @@ -289,4 +289,4 @@ public enum DamageType
/// </summary>
Scp1509,
}
}
}
2 changes: 1 addition & 1 deletion EXILED/Exiled.API/Enums/DanceType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public enum DanceType : byte
Swing,

/// <summary>
/// Dance1
/// None.
/// </summary>
None = byte.MaxValue,
}
Expand Down
4 changes: 1 addition & 3 deletions EXILED/Exiled.API/Enums/DecontaminationState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

namespace Exiled.API.Enums
{
using System;

using Features;

/// <summary>
Expand Down Expand Up @@ -57,4 +55,4 @@ public enum DecontaminationState
/// </summary>
Finish,
}
}
}
2 changes: 1 addition & 1 deletion EXILED/Exiled.API/Enums/DoorLockType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ public enum DoorLockType
/// </summary>
Lockdown2176 = 512,
}
}
}
1 change: 1 addition & 0 deletions EXILED/Exiled.API/Enums/DoorType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ namespace Exiled.API.Enums
using System;

using Exiled.API.Features.Doors;

using Interactables.Interobjects;

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion EXILED/Exiled.API/Enums/EffectCategory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ public enum EffectCategory
/// </summary>
Harmful = 8,
}
}
}
2 changes: 1 addition & 1 deletion EXILED/Exiled.API/Enums/EffectType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -406,4 +406,4 @@ public enum EffectType
/// </summary>
AnomalousTarget,
}
}
}
2 changes: 1 addition & 1 deletion EXILED/Exiled.API/Enums/FirearmType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,4 @@ public enum FirearmType
/// </summary>
Scp127,
}
}
}
2 changes: 1 addition & 1 deletion EXILED/Exiled.API/Enums/GlassType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public enum GlassType
GateAArmory,

/// <summary>
/// Represents the window in <see cref="RoomType.HczLoadingBay"/>
/// Represents the window in <see cref="RoomType.HczLoadingBay"/>.
/// </summary>
HczLoadingBay,
}
Expand Down
2 changes: 1 addition & 1 deletion EXILED/Exiled.API/Enums/HazardType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public enum HazardType
Tantrum,

/// <summary>
/// Should never happen
/// Should never happen.
/// </summary>
Unknown,
}
Expand Down
2 changes: 1 addition & 1 deletion EXILED/Exiled.API/Enums/LayerMasks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ public enum LayerMasks

InteractionAnticheatMask = Default | Glass | Door | InteractableNoPlayerCollision,
}
}
}
2 changes: 1 addition & 1 deletion EXILED/Exiled.API/Enums/LeadingTeam.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ public enum LeadingTeam : byte
/// </summary>
Draw,
}
}
}
2 changes: 1 addition & 1 deletion EXILED/Exiled.API/Enums/LockerType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,4 @@ public enum LockerType
/// </summary>
Scp1509Pedestal,
}
}
}
2 changes: 1 addition & 1 deletion EXILED/Exiled.API/Enums/PingType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ public enum PingType : byte
/// </summary>
Default,
}
}
}
4 changes: 0 additions & 4 deletions EXILED/Exiled.API/Enums/RespawnEffectType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@

namespace Exiled.API.Enums
{
using Features;

using PlayerRoles;

/// <summary>
/// Layers game respawn effects.
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion EXILED/Exiled.API/Enums/RevolverChamberState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ public enum RevolverChamberState
/// </summary>
Discharged,
}
}
}
6 changes: 3 additions & 3 deletions EXILED/Exiled.API/Enums/ScenesType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public enum ScenesType

/// <summary>
/// The current main menu.
/// ! Will cause crash when trying joining servers !
/// ! Will cause crash when trying joining servers !.
/// </summary>
NewMainMenu,

Expand All @@ -35,7 +35,7 @@ public enum ScenesType

/// <summary>
/// The loading Screen.
/// ! Will cause crash when trying joining servers !
/// ! Will cause crash when trying joining servers !.
/// </summary>
PreLoader,

Expand All @@ -44,4 +44,4 @@ public enum ScenesType
/// </summary>
Loader,
}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// -----------------------------------------------------------------------
// <copyright file="Scp939VisibilityStates.cs" company="ExMod Team">
// <copyright file="Scp939VisibilityState.cs" company="ExMod Team">
// Copyright (c) ExMod Team. All rights reserved.
// Licensed under the CC BY-SA 3.0 license.
// </copyright>
Expand Down Expand Up @@ -44,4 +44,4 @@ public enum Scp939VisibilityState
/// </summary>
SeenByLastTime,
}
}
}
10 changes: 5 additions & 5 deletions EXILED/Exiled.API/Enums/SpawnLocationType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -152,27 +152,27 @@ public enum SpawnLocationType
InsideGr18Glass,

/// <summary>
/// Inside 106's Primary Door
/// Inside 106's Primary Door.
/// </summary>
Inside106Primary,

/// <summary>
/// Inside 106's Secondary Door
/// Inside 106's Secondary Door.
/// </summary>
Inside106Secondary,

/// <summary>
/// Inside 939 Cryo Chamber
/// Inside 939 Cryo Chamber.
/// </summary>
Inside939Cryo,

/// <summary>
/// Inside SCP-079's Armory
/// Inside SCP-079's Armory.
/// </summary>
Inside079Armory,

/// <summary>
/// Inside SCP-127's Lab
/// Inside SCP-127's Lab.
/// </summary>
Inside127Lab,

Expand Down
2 changes: 1 addition & 1 deletion EXILED/Exiled.API/Enums/UncuffReason.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ public enum UncuffReason
/// </summary>
CufferDied,
}
}
}
2 changes: 1 addition & 1 deletion EXILED/Exiled.API/Enums/UsableRippleType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ public enum UsableRippleType
/// </summary>
Footstep,
}
}
}
1 change: 1 addition & 0 deletions EXILED/Exiled.API/Enums/ZoneType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ namespace Exiled.API.Enums
using System;

using Exiled.API.Features.Doors;

using Features;

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion EXILED/Exiled.API/Extensions/CommonExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@ public static AnimationCurve Add(this AnimationCurve curve, float amount)
return curve;
}
}
}
}
6 changes: 5 additions & 1 deletion EXILED/Exiled.API/Extensions/DamageTypeExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,14 @@ namespace Exiled.API.Extensions
using System.Linq;

using Enums;

using Features;

using InventorySystem.Items.Scp1509;

using PlayerRoles.PlayableScps.Scp1507;
using PlayerRoles.PlayableScps.Scp3114;

using PlayerStatsSystem;

/// <summary>
Expand Down Expand Up @@ -211,4 +215,4 @@ public static DamageType GetDamageType(DamageHandlerBase damageHandlerBase)
return DamageType.Unknown;
}
}
}
}
1 change: 1 addition & 0 deletions EXILED/Exiled.API/Extensions/DangerTypeExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ namespace Exiled.API.Extensions
using System.Linq;

using CustomPlayerEffects.Danger;

using Exiled.API.Enums;

/// <summary>
Expand Down
7 changes: 6 additions & 1 deletion EXILED/Exiled.API/Extensions/EffectTypeExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,16 @@ namespace Exiled.API.Extensions
using System.Linq;

using CustomPlayerEffects;

using CustomRendering;

using Enums;

using Exiled.API.Features;

using InventorySystem.Items.MarshmallowMan;
using InventorySystem.Items.Usables.Scp244.Hypothermia;

using PlayerRoles.FirstPersonControl;

/// <summary>
Expand Down Expand Up @@ -242,4 +247,4 @@ public static EffectCategory GetCategories(this EffectType effect)
return category;
}
}
}
}
2 changes: 1 addition & 1 deletion EXILED/Exiled.API/Extensions/FloatExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ public static AspectRatioType GetAspectRatioLabel(this float ratio)
return closestRatio;
}
}
}
}
Loading
Loading