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

Ban 'extra' else conditions #364

Closed
AndrewSisley opened this issue Apr 19, 2022 · 0 comments · Fixed by #366
Closed

Ban 'extra' else conditions #364

AndrewSisley opened this issue Apr 19, 2022 · 0 comments · Fixed by #366
Assignees
Labels
ci/build This is issue is about the build or CI system, and the administration of it.
Milestone

Comments

@AndrewSisley
Copy link
Contributor

Suggest via linter rule:

- revive
   - name: superfluous-else  #no config
     severity: error

https://github.com/mgechev/revive#available-rule - is already in the config, but revive linter is disabled and is currently configured with some extras

@AndrewSisley AndrewSisley added the ci/build This is issue is about the build or CI system, and the administration of it. label Apr 19, 2022
@AndrewSisley AndrewSisley added this to the DefraDB v0.3 milestone Apr 19, 2022
@AndrewSisley AndrewSisley self-assigned this Apr 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/build This is issue is about the build or CI system, and the administration of it.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant