navigation

GenericTypesNames (FL0069)

Introduced in 0.21.1

Cause

Generic type naming does not match the specified config.

Rationale

Consistency aides readability.

How To Fix

Update the generic type 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.

{
    "genericTypesNames": {
       "enabled": true,
       "config": {
           "naming": "PascalCase",
           "underscores": "None"
       }
    }
}
  • 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.