Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork1.5k
feat: add untypedconst linter#3527
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
e20c62e tof1023caCompareldez commentedFeb 1, 2023 • edited by alexandear
Loading Uh oh!
There was an error while loading.Please reload this page.
edited by alexandear
Uh oh!
There was an error while loading.Please reload this page.
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
|
Is there anything I can do to get this reviewed? Friendly ping towards@ldez :) |
I really think this is a great addition to the project. I use the linter on quite a few projects already and it has proven to be super helpful. Is there anything I could do to get this merged? |
@leonklingele could you please resolve conflicts and update the PR according to the#3527 (comment)? |
f1023ca to11d633cCompareUpdated, ptal. Upstream has made some changes to comply with our requirements since:jiftechnify/untypedconst#1 (comment) 🥳 |
@leonklingele could you address the point regarding "The Linter Tests Inside Golangci-lint: They must have at least one std lib import"? |
11d633c to7f5f85fCompareleonklingele commentedMar 23, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Done 😊 EDIT: CI is failing, apparently: |
This comment has been minimized.
This comment has been minimized.
7f5f85f toad1ca78CompareUpdated this for the latest v1.64.0 release. Please have another look at it. I'd love to see this being a part of the project! 😃 |
@ldez is there anything missing here to have this reviewed? Thank you! 😃 |
This comment was marked as off-topic.
This comment was marked as off-topic.
CLAassistant commentedMay 20, 2025
|
Uh oh!
There was an error while loading.Please reload this page.
The
untypedconstlinter ensures thatuntyped constant expressions are not used as values ofdefined (= named) types.https://github.com/jiftechnify/untypedconst
Fixes#3478