Skip to content

Commit adf13ee

Browse files
committed
refactor: fix code formatting and style consistency
1 parent 9a54ac3 commit adf13ee

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

Assets/Scripts/StyleTestScript.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ public sealed class StyleTestScript
77
public const string ConstProperty = "This is a const property";
88
public static readonly string StaticProperty = "This is a static property";
99
public string ProperlyStyledProperty { get; } = "This is a properly styled property";
10-
public int IntProperty => _intField;
10+
public int IntProperty => _intField;
1111

12-
static readonly string s_staticField = "This is a static field";
12+
static readonly string s_staticField = "This is a static field";
1313

1414
string stringField;
1515
int _intField;

Assets/Scripts/StyleTestScript2.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ public class RuleChecker
77
{
88
private int _incorrect_field;
99
private string stringField;
10-
int _intField;
10+
int _intField;
1111

12-
public int CorrectProperty { get; set; }
12+
public int CorrectProperty { get; set; }
1313

1414
public void CheckRules()
1515
{

Assets/Scripts/StyleTestScript3.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,14 @@ namespace Tests
66
{
77
public sealed class StyleTestScript3
88
{
9+
public const int ConstField = 10;
10+
public static readonly int StaticField = 10;
11+
public int NonStaticField;
912
private static int _s_static_Field = 10;
1013
private int m_nonStaticField;
14+
public int property_value { get; set; }
1115

1216
private List<int> testCollection = new List<int>();
13-
public int property_value { get; set; }
1417

1518
public void test_Method() {
1619
int testVariable = 42 ;

0 commit comments

Comments
 (0)