Skip to content

Commit ecb10e9

Browse files
authored
Merge PR #762 from knocte/wip/moreNamingConfigurations
New "AllowInfix" and "AllUppercase"/"AllLowercase" enum members.
2 parents c53b6d8 + ff2bcec commit ecb10e9

File tree

34 files changed

+244
-70
lines changed

34 files changed

+244
-70
lines changed

docs/content/how-tos/rules/FL0006.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ Uses the `numIndentationSpaces` global setting.
3131
}
3232
}
3333

34-
* *allowSingleLineLambda* - whether or not to allow single-line lambda pattern matches
34+
* *allowSingleLineLambda* - whether or not to allow single-line lambda pattern matches.

docs/content/how-tos/rules/FL0010.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ Update typed item to use configured spacing.
2929
}
3030
}
3131

32-
* *typedItemStyle* - style of spacing: "NoSpaces", "SpaceAfter", "SpacesAround"
32+
* *typedItemStyle* - style of spacing: "NoSpaces", "SpaceAfter", "SpacesAround".

docs/content/how-tos/rules/FL0011.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ Update higher order type to have correct formatting as per guide linked above.
2929
}
3030
}
3131

32-
* *mode* - how to enforce the rule ("Hybrid" or "Always" or "Never")
32+
* *mode* - how to enforce the rule: "Hybrid", "Always", or "Never"

docs/content/how-tos/rules/FL0036.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Note, any of the settings below can be omitted and will not be checked.
3333
}
3434
}
3535

36-
* *naming* - expected casing of the identifiers ("PascalCase" or "CamelCase")
37-
* *underscores* - if underscores are allowed in the identifiers ("AllowPrefix", "AllowAny", or "None")
36+
* *naming* - expected casing of the identifiers: "PascalCase", "CamelCase", "AllUppercase", or "AllLowercase".
37+
* *underscores* - if underscores are allowed in the identifiers: "AllowPrefix", "AllowInfix", "AllowAny", or "None".
3838
* *prefix* - prefix string expected on the front of the identifiers.
3939
* *suffix* - suffix string expected on the end of the identifiers.

docs/content/how-tos/rules/FL0037.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Note, any of the settings below can be omitted and will not be checked.
3333
}
3434
}
3535

36-
* *naming* - expected casing of the identifiers ("PascalCase" or "CamelCase")
37-
* *underscores* - if underscores are allowed in the identifiers ("AllowPrefix", "AllowAny", or "None")
36+
* *naming* - expected casing of the identifiers: "PascalCase", "CamelCase", "AllUppercase", or "AllLowercase".
37+
* *underscores* - if underscores are allowed in the identifiers: "AllowPrefix", "AllowInfix", "AllowAny", or "None".
3838
* *prefix* - prefix string expected on the front of the identifiers.
3939
* *suffix* - suffix string expected on the end of the identifiers.

docs/content/how-tos/rules/FL0038.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Note, any of the settings below can be omitted and will not be checked.
3232
}
3333
}
3434

35-
* *naming* - expected casing of the identifiers ("PascalCase" or "CamelCase")
36-
* *underscores* - if underscores are allowed in the identifiers ("AllowPrefix", "AllowAny", or "None")
35+
* *naming* - expected casing of the identifiers: "PascalCase", "CamelCase", "AllUppercase", or "AllLowercase".
36+
* *underscores* - if underscores are allowed in the identifiers: "AllowPrefix", "AllowInfix", "AllowAny", or "None".
3737
* *prefix* - prefix string expected on the front of the identifiers.
3838
* *suffix* - suffix string expected on the end of the identifiers.

docs/content/how-tos/rules/FL0039.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Note, any of the settings below can be omitted and will not be checked.
3232
}
3333
}
3434

35-
* *naming* - expected casing of the identifiers ("PascalCase" or "CamelCase")
36-
* *underscores* - if underscores are allowed in the identifiers ("AllowPrefix", "AllowAny", or "None")
35+
* *naming* - expected casing of the identifiers: "PascalCase", "CamelCase", "AllUppercase", or "AllLowercase".
36+
* *underscores* - if underscores are allowed in the identifiers: "AllowPrefix", "AllowInfix", "AllowAny", or "None".
3737
* *prefix* - prefix string expected on the front of the identifiers.
3838
* *suffix* - suffix string expected on the end of the identifiers.

docs/content/how-tos/rules/FL0040.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Note, any of the settings below can be omitted and will not be checked.
3232
}
3333
}
3434

35-
* *naming* - expected casing of the identifiers ("PascalCase" or "CamelCase")
36-
* *underscores* - if underscores are allowed in the identifiers ("AllowPrefix", "AllowAny", or "None")
35+
* *naming* - expected casing of the identifiers: "PascalCase", "CamelCase", "AllUppercase", or "AllLowercase".
36+
* *underscores* - if underscores are allowed in the identifiers: "AllowPrefix", "AllowInfix", "AllowAny", or "None".
3737
* *prefix* - prefix string expected on the front of the identifiers.
3838
* *suffix* - suffix string expected on the end of the identifiers.

docs/content/how-tos/rules/FL0041.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Note, any of the settings below can be omitted and will not be checked.
3232
}
3333
}
3434

35-
* *naming* - expected casing of the identifiers ("PascalCase" or "CamelCase")
36-
* *underscores* - if underscores are allowed in the identifiers ("AllowPrefix", "AllowAny", or "None")
35+
* *naming* - expected casing of the identifiers: "PascalCase", "CamelCase", "AllUppercase", or "AllLowercase".
36+
* *underscores* - if underscores are allowed in the identifiers: "AllowPrefix", "AllowInfix", "AllowAny", or "None".
3737
* *prefix* - prefix string expected on the front of the identifiers.
3838
* *suffix* - suffix string expected on the end of the identifiers.

docs/content/how-tos/rules/FL0042.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Note, any of the settings below can be omitted and will not be checked.
3434
}
3535
}
3636

37-
* *naming* - expected casing of the identifiers ("PascalCase" or "CamelCase")
38-
* *underscores* - if underscores are allowed in the identifiers ("AllowPrefix", "AllowAny", or "None")
37+
* *naming* - expected casing of the identifiers: "PascalCase", "CamelCase", "AllUppercase", or "AllLowercase".
38+
* *underscores* - if underscores are allowed in the identifiers: "AllowPrefix", "AllowInfix", "AllowAny", or "None".
3939
* *prefix* - prefix string expected on the front of the identifiers.
4040
* *suffix* - suffix string expected on the end of the identifiers.

0 commit comments

Comments
 (0)