Add modernize and intrange linters and fix all issues
#17705
Merged
modernize and intrange linters and fix all issues
#17705