Skip to content

Add support for custom initialisms #2

@zx8

Description

@zx8

In my codebase, I use initialisms that are domain-specific and not included in Go's common initialisms.

The underlying strcase package supports customization, so I think it should be fairly simple to implement in tagliatelle: https://github.com/ettle/strcase#customization

If implemented, it would be great to also raise a PR to support the new configuration in golangci-lint.


Example of the problem:

json(goCamel): got 'docURLs' want 'docUrLs'

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions