Skip to content
New issue

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

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

Already on GitHub? # to your account

refactor: enforce literal map and slice style #1131

Merged

Conversation

alexandear
Copy link
Contributor

The PR enables two rules enforce-map-style, enforce-map-style in revive.toml config for consistency.

The literal style was chosen because most of the revive's code uses this style.

@alexandear alexandear changed the title refactor: enforce map and slice style refactor: enforce literal map and slice style Nov 15, 2024
@chavacava chavacava merged commit 0afba4f into mgechev:master Nov 16, 2024
10 checks passed
@alexandear alexandear deleted the refactor/enforce-map-slice-style branch November 16, 2024 18:21
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants