Skip to content

Add "Username" as a common exception of AV1710 #144

@dennisdoomen

Description

@dennisdoomen

Analyzer

The analyzer for AV1710

Repro steps

  1. Create a class or record named User
  2. Add a property named Username to it

Expected behavior

Since Username is a very common name to identify a user and preferred over Id, I think it would be good to add that as an exception.

Actual behavior

AV1710: Property 'Username' contains the name of its containing type 'User'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions