-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
feat: add expecterlint linter #5926
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
Conversation
Hey, thank you for opening your first Pull Request ! |
In order for a pull request adding a linter to be reviewed, the linter and the PR must follow some requirements.
Pull Request Description
Linter
The Linter Tests Inside Golangci-lint
|
The name of this linter seems not relevant: this is a linter only for mockery. I suggest renaming it. |
🤔 As mockery relies on Testify, maybe this can be a part of testifylint |
Good idea, |
This linter detects if mockery mock calls
mock.On("Method")
could be replaced withmock.Method()
calls.I created this linter to adopt Expecter Structs syntax for existing projects.
Repository: https://github.com/d0ubletr0uble/expecterlint