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 lint check for duplicated imports #439

Merged
merged 2 commits into from
Jun 23, 2022

Conversation

damemi
Copy link
Contributor

@damemi damemi commented Jun 22, 2022

Ref #416

@@ -106,6 +106,9 @@ linters-settings:
- metres
- kilometre
- kilometres
revive:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dashpole we have revive enabled but by default it looks like it doesn't do anything (https://github.com/mgechev/revive#configuration):

By default revive will enable only the linting rules that are named in the configuration file

So we should look at the list of available checks to see if there are any others we should enable

@damemi damemi closed this Jun 22, 2022
@damemi damemi reopened this Jun 22, 2022
@damemi damemi merged commit d559024 into GoogleCloudPlatform:main Jun 23, 2022
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.

2 participants