Skip to content

Lint for UpperCamelCase classes intended as metadata annotations (Style Guide). #57163

@pq

Description

@pq

DO use UpperCamelCase names for classes intended to be used in metadata annotations.

If the annotation takes no parameters, you might want to create a lowerCamelCase constant for it.

GOOD:

@Foo(anArg)
class A { ... }

@Foo()
class B { ... }

@foo
class C { ... }

Metadata

Metadata

Assignees

No one assigned

    Labels

    devexp-linterIssues with the analyzer's support for the linter packagelegacy-area-analyzerUse area-devexp instead.type-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions