Created
July 4, 2022 17:21
-
-
Save VincentH-Net/a88840c96f0083af3064d74e052ad20c to your computer and use it in GitHub Desktop.
.editorconfig naming rule for NO underscore prefix on private fields
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Start of NO underscore prefix on private fields | |
# Define the 'private_fields' symbol group: | |
dotnet_naming_symbols.private_fields.applicable_kinds = field | |
dotnet_naming_symbols.private_fields.applicable_accessibilities = private | |
# Define the 'notunderscored' naming style | |
dotnet_naming_style.notunderscored.capitalization = camel_case | |
dotnet_naming_style.notunderscored.required_prefix = | |
# Define the 'private_fields_notunderscored' naming rule | |
dotnet_naming_rule.private_fields_notunderscored.symbols = private_fields | |
dotnet_naming_rule.private_fields_notunderscored.style = notunderscored | |
dotnet_naming_rule.private_fields_notunderscored.severity = error | |
# End of No underscore prefix on private fields |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment