navigation

NonPublicValuesNames (FL0050) (Removed)

Removed in version 0.20.0. Replaced by FL0067 and FL0068.

Cause

Non-public value naming does not match the specified config.

Rationale

Consistency aides readability.

How To Fix

Update the non-public value'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.

{
    "nonPublicValuesNames": {
       "enabled": true,
        "config": {
            "naming": "CamelCase",
            "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.