-
Notifications
You must be signed in to change notification settings - Fork 287
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
feat: add support for enforce-slice-style rule #900
feat: add support for enforce-slice-style rule #900
Conversation
ca3e2ac
to
d961ed3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @denisvmedia, thanks for the PR.
Test are not passing because one testdata file has expected issue messages not matching with actual messages.
One think you could do in testdata is to use the same set of slice declarations for all test cases (any, make, and literal) and at each testdata file just modify accordingly the // MATCH /... /
annotations
@chavacava yeah, you a right, thanks. I added this suffix but forgot to fix one of the test cases. Now fixed. |
Merged. Thank you @denisvmedia. |
Closes #898.