Lint const_get to not inherit scope (2nd arg false)
What does this MR do?
Continued from gitlab-foss!28458 (closed)
- Adds lint that usages of
const_get
should passfalse
as 2nd arg - Auto-corrects existing usages
This prevents confusing behaviour as described in #27678 (closed)
Implements #33846 (closed)
Does this MR meet the acceptance criteria?
Conformity
- [-] Changelog entry
- [-] Documentation created/updated or follow-up review issue created
-
Code review guidelines - [-] Merge request performance guidelines
-
Style guides -
Database guides -
Separation of EE specific content
Performance and Testing
Edited by 🤖 GitLab Bot 🤖