Skip to content

Suggest PluginFoo -> FooPlugin rename in unconventional_naming #393

@BD103

Description

@BD103
struct PluginFoo;

unconventional_plugin currently suggests it be renamed to PluginFooPlugin. It should instead suggest FooPlugin. This can be implemented in TraitSuggestion::name_suggestion():

TraitConvention::Plugin => format!("{struct_name}{}", self.suffix()),

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LinterRelated to the linter and custom lintsC-UsabilityAn improvement that makes the API more pleasantD-TrivialNice and easy! A great choice to get started with Bevy CLIS-Ready-for-ImplementationThis issue is ready for an implementation PR. Go for it!

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions