Skip to content

Conversation

foyuten
Copy link

@foyuten foyuten commented Jul 14, 2025

The new rule adds a given prefix and converts the identifier to a specific case, The prefix is applied before the conversion.
For example:

  • prefix:Foo + CamelCase applied to bar with CamelCase would result in FooBar.
  • prefix:FOO_ + ScreamingSnakeCase applied to Bar with ScreamingSnakeCase would result in FOO_BAR.

r? @emilio

The new rule adds a given prefix and converts the identifier to a specific case,
The prefix is applied before the conversion.
For example:
  - `prefix:Foo + CamelCase` applied to `bar` with `CamelCase` would result in `FooBar`.
  - `prefix:FOO_ + ScreamingSnakeCase` applied to `Bar` with `ScreamingSnakeCase` would result in `FOO_BAR`.
@foyuten foyuten force-pushed the feature/prefix-with-conversion branch from a354d27 to 452d020 Compare August 1, 2025 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant