navigation

MemberNames (FL0045)

Cause

Member naming does not match the specified config.

Rationale

Consistency aides readability.

How To Fix

Update the member's naming to be consistent with the rules you have specified

Rule Settings

Note, any of the settings below can be omitted and will not be checked.

{
    "memberNames": {
        "enabled": true,
        "config": {
            "naming": "PascalCase",
            "underscores": "AllowPrefix"
        }
    }
}
  • naming - expected casing of the identifiers ("PascalCase" or "CamelCase")
  • underscores - if underscores are allowed in the identifiers ("AllowPrefix", "AllowAny", or "None")
  • prefix - prefix string expected on the front of the identifiers.
  • suffix - suffix string expected on the end of the identifiers.