Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for custom initialisms to tagliatelle linter #2167

Closed
AlekSi opened this issue Aug 11, 2021 · 2 comments
Closed

Add support for custom initialisms to tagliatelle linter #2167

AlekSi opened this issue Aug 11, 2021 · 2 comments
Labels
dependencies Relates to an upstream dependency enhancement New feature or improvement

Comments

@AlekSi
Copy link
Contributor

AlekSi commented Aug 11, 2021

Your feature request related to a problem? Please describe.

tagliatelle linter tells me that my fooCLIBar tag should be fooCliBar, but CLI is a common initialism.

Describe the solution you'd like.

strcase supports custom initialisms, so it would be nice if tagliatelle and golangci-lint allowed them to be configured.

Describe alternatives you've considered.

Fixing 100+ tags and break the world, or disable this linter (that looks useful otherwise).

Additional context.

No response

@AlekSi AlekSi added the enhancement New feature or improvement label Aug 11, 2021
@ldez ldez added the dependencies Relates to an upstream dependency label Aug 11, 2021
@ldez
Copy link
Member

ldez commented Aug 11, 2021

Hello,

It's a feature of tagliatelle not of golangci-lint, then I will close this issue.

You can follow this issue ldez/tagliatelle#2

@ldez ldez closed this as completed Aug 11, 2021
@AlekSi
Copy link
Contributor Author

AlekSi commented Aug 11, 2021

Sure, but once it is implemented in tagliatelle, golangci-lint surely should be modified to accept configuration, no?

Anyway, I'm all for it if that's easier for you this way :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Relates to an upstream dependency enhancement New feature or improvement
Projects
None yet
Development

No branches or pull requests

2 participants