navigation

InterfaceNames (FL0036)

Cause

Interface naming does not match the specified config.

Rationale

Consistency aides readability.

How To Fix

Update the interface'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.

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